wiki:FCS-spec

Version 10 (modified by herste, 13 years ago) (diff)

--

Towards a FCS Specification

In which we list things we agree should be in our future standard / specification.

Contents

  1. Towards a FCS Specification
    1. Contents
    2. SRU-CQL servlets
      1. Explain response
      2. Search context
      3. Scan response
      4. Search result

SRU-CQL servlets

Explain response

The explain response should, ideally, provide a list of ISOCatted indexes as possible search indexes.

Example (tentative):

 <indexInfo>
  <set identifier="http://www.isocat.org/datcat" name="isocat"/>
  <set identifier="clarin.eu/schema/ccs-v1.0" name="ccs"/>

  <index id="?">
    <title lang="en">Part of Speech</title>
   <map><name set="isocat">partOfSpeech</name></map>
 </index>	

 <index id="?">
    <title lang="en">Words</title>
   <map><name set="ccs">words</name></map>
 </index>	

  <index id="?">
    <title lang="en">Phonetics</title>
   <map><name set="ccs">phonetics</name></map>
 </index>	

</indexInfo>

Search context

Restricting the search space shall be done via x-cmd-context parameter (obsoleting: x-cmd-collections).

Scan response

Search result

Data Views

All dataviews of specific types should be the same in all implementations. That is, if a service presents results a KWIC, that should be the same KWIC in all services. Here we propose one encoding for several types of dataviews. All implementing services must conform.

kwic
Keyword in context
 <ccs:DataView type="kwic">
    Junker Frauenlob , purre knix plautz - Ihr seid ein komischer Kauz - Habt ein Bärtlein von Haaren schwarz , Ziehet es aus mit einem Tropfen Harz Prrrr - ho wird das lang , Kling klang - g - a - d -
   <kw>e</kw>
  , Scheiden thut weh - der Daus
 </ccs:DataView> }}}
 Full Resource:: The full resource, e.g., an EAF file. could also be a url.

 Geolocation:: A location on a map.

 Annotations:: A bunch of annotated text.
                     We start by supporting the TCF and EAF format as they have existing viewers.


Formats and viewers:
|| '''Type''' || '''Format''' || '''Viewer''' || '''URL''' ||
|| Annotations || EAF || Annexviewer provided by MPI || [http://corpus1.mpi.nl/ds/annex/protected/no_auth.jsp?nodeid=MPI361092%23 sample view] ||
|| Annotations || TCF || AnnotationViewer provided by Tübingen ||  [http://weblicht.sfs.uni-tuebingen.de:8080/visual/index.zul?dataFile=http%3A%2F%2Fclarin.aac.ac.at%2FContentProcessing%2Fdata%2F%3Fdatafile%3Dxc_test_62.xml sample view] ||
|| Geolocation || KML || Google-Maps? || || 

== FCS webservice ==

REST webinterface that does the aggregation (Metasearch) (map/reduce).
Should support the x-cmd-context as given by the metadatasearch service, or by the user in the federated search website.

PazPar2 is a federated search service (metasearch).

== Clarin Metadata Search == 

Metadata Search