Skip to content
Osma Suominen edited this page Jan 5, 2015 · 26 revisions

This page documents the RDF constructs, including but not limited to SKOS, that Skosmos supports. In general, Skosmos should work with any well-formed SKOS Core vocabularies.

It is recommended use Skosify to pre-process your SKOS vocabulary and fix potential problems before publishing it in Skosmos.

Concepts

All instances of skos:Concept are displayed as concepts in Skosmos. Each concept will have its own page and concepts can be searched for (via their labels).

Labels

Skosmos supports the following label properties:

  • skos:prefLabel is used as preferred label, usually set in bold
  • skos:altLabel: can be found in search, usually set in italic
  • skos:hiddenLabel: can be found in search, but not displayed

Make sure that you have proper language tags for all labels.

Semantic relationships

  • skos:broader and skos:narrower are used for e.g. the hierarchy display
  • skos:related is displayed as links between concepts

Mapping relationships

Skosmos recognizes all SKOS mapping relationships

  • skos:exactMatch
  • skos:closeMatch
  • skos:broadMatch
  • skos:narrowMatch
  • skos:relatedMatch see issue 165
  • owl:sameAs

Documentary notes

  • skos:note
  • skos:scopeNote
  • skos:definition
  • skos:example: not implemented, see issue #164
  • skos:historyNote: not implemented, see issue #164
  • skos:editorialNote: not implemented, see issue #164
  • skos:changeNote: not implemented, see issue #164

Dublin Core properties

Both the old DC 1.1 (namespace prefix dc11) and the newer DC Terms (prefix dc) namespaces are supported.

  • dc:title and dc11:title
  • dc:subject
  • dc:description and dc11:description
  • dc:creator and dc11:creator
  • dc:contributor and dc11:contributor
  • dc:rigts and dc11:rights
  • dc:license and dc11:license
  • dc:publisher and dc11:publisher
  • dc:source and dc11:source
  • dc:date
  • dc:created
  • dc:issued
  • dc:modified
  • dc:relation and dc11:relation
  • dc:replaces
  • dc:isReplacedBy

Other properties

  • rdfs:label
  • rdfs:comment
  • owl:versionInfo
  • foaf:homepage
  • skosext:partOf

Types of concepts

You can define custom types of concepts, i.e. subclasses of skos:Concept, in your RDF data. The type will be displayed by Skosmos and you can also restrict searches by type.

Make sure to also set a label for each type. Also make sure that instances of those subclasses are also typed as skos:Concept, as Skosmos by itself will not perform any inference (Skosify with the --infer option can be used for this).

Example:

ex:Place a owl:Class ;
  rdfs:subClassOf skos:Concept ;
  rdfs:label "Place"@en .

ex:new_york a ex:Place, skos:Concept ;
  skos:prefLabel "New York"@en .

ex:paris a ex:Place, skos:Concept ;
  skos:prefLabel "Paris"@en .

Concept schemes

Collections, Arrays and Groups