SkosDev/SrwProfile

From W3C Wiki

SKOS Core Profile for SRW

Disclaimer: This page is published for discussion purposes only. It may change or disappear at any time. If you would like to see something like this published and maintained formally, send an email to public-esw-thes@w3.org, which by the way is a completely open public discussion list for SKOS development.

Introduction

This is a profile for the SRW web service, based on the SKOS Core model. See also an intro to SRW, intro to CQL and ZThes profile for SRW.

N.B. This profile allows you to pose queries against a service for records, where each record represents either a description of a concept or a description of a concept scheme.

SKOS Core Index Set for CQL

The URI for this context set is <http://www.w3.org/2004/02/skos/core/index-set>.

Index set for concepts

label - searches a combined index of all concept labels (construct from values of rdfs:label property).

prefLabel - searches the index of preferred labels (construct from values of skos:prefLabel property).

altLabel - searches the index of alternative labels (construct from values of skos:altLabel property).

annotation - searches the index of all textual annotations (construct from values of rdfs:comment property).

definition - searches the index of all concept definitions (construct from values of skos:definition property).

scopeNote - searches the index of all concept scope notes (construct from values of skos:scopeNote property).

anytext - searches the combined index of all concept labels and all textual annotations.

semanticRelation - searches the index of concept identifiers, returning records describing concepts who have any paradigmatic semantic relationships with concepts matching the search query.

broader - searches the index of concept identifiers, returning records describing concepts who have skos:broader relationships with concepts matching the search query.

narrower - searches the index of concept identifiers, returning records describing concepts who have skos:narrower relationships with concepts matching the search query.

related - searches the index of concept identifiers, returning records describing concepts who have skos:related relationships with concepts matching the search query.

inScheme - searches the index of concept scheme identifiers, returning records describing concepts who are members of any concept sheme matching the search query.

topInScheme - searches the index of concept scheme identifiers, returning records describing concepts who are top concepts in any concept sheme matching the search query.

Index set for concept schemes

hasConcept - searches the index of concept identifiers, returning records describing concept schemes which containing concepts matching the search query.

hasTopConcept - searches the index of concept identifiers, returning records describing concept schemes for which concepts matching the search query are top concepts.

Search

SRW Profile for Concept Schemes

Must support: [index set / index name]

  • Record Metadata / id
  • CQL / anywhere

Optionally support: [index set / index name]

  • Dublin Core / title
  • Dublin Core / description
  • (other dublin core ???)
  • SKOS Core / hasConcept
  • SKOS Core / hasTopConcept
  • Record Metadata / created
  • (other Record Metadata administrative stuff, overlap with some DC not clear ???)

SRW Profile for Concepts

Must support: [index set / index name]

  • Record Metadata / id
  • CQL / anywhere
  • SKOS Core / anytext
  • SKOS Core / label

Optionally support: [index set / index name]

  • SKOS Core / prefLabel
  • SKOS Core / altLabel
  • SKOS Core / annotation
  • SKOS Core / definition
  • SKOS Core / scopeNote
  • SKOS Core / semanticRelation
  • SKOS Core / broader
  • SKOS Core / narrower
  • SKOS Core / related
  • SKOS Core / inScheme
  • SKOS Core / topInScheme
  • (plus other Record Metadata admin stuff ???)

Retrieval

Could the SRW service return RDF according to SKOS Core schema, or would a constrained XML format have to be defined?

Explain

Supports profile 'skoscore' or something.

Limitations

The main limitation of the SRW service for retrieving concepts is that semantic navigation of the graph of semantic relationships can only be done one layer at a time. I.e. semantic expansion operations are limited to expansion along one path length, and cannot be parameterised. This means in practise that for a client application to pre-cache a fragment of a large concept scheme based on a focal concept, it would have to make multiple requests.