wiki:FCS-spec

Version 12 (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
    3. FCS webservice
    4. Clarin Metadata Search

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>
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.
<ccs:DataView type="annotations/eaf">
  http://corpus1.mpi.nl/qfs1/media-archive/demo/pewi/Annotations/elan-example1.eaf
</ccs:DataView>

For an example EAF file see: http://corpus1.mpi.nl/qfs1/media-archive/demo/pewi/Annotations/elan-example1.eaf

Formats and viewers:

Type Format Viewer URL
Annotations EAF Annexviewer provided by MPI sample view
Annotations TCF AnnotationViewer? provided by Tübingen 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