Copyright © 2008 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark and document use rules apply.
This document defines the Simple Knowledge Organization System (SKOS), a common data model for sharing and linking knowledge organization systems via the Semantic Web.
Many knowledge organization systems, such as thesauri, taxonomies, classification schemes and subject heading systems, share a similar structure, and are used in similar applications. SKOS captures much of this similarity and makes it explicit, to enable data and technology sharing across diverse applications.
The SKOS data model provides a standard, low-cost migration path for porting existing knowledge organization systems to the Semantic Web. SKOS also provides a light weight, intuitive language for developing and sharing new knowledge organization systems. It may be used on its own, or in combination with formal knowledge representation languages such as the Web Ontology language (OWL).
This document is the normative specification of the Simple Knowledge Organization System. It is intended for readers who are involved in the design and implementation of information systems, and who already have a good understanding of Semantic Web technology, especially RDF and OWL.
For an informative guide to using SKOS, see the SKOS Primer.
Using SKOS, concepts can be identified using URIs, labeled with lexical strings in one or more natural languages, assigned notations (lexical codes), documented with various types of note, linked to other concepts and organized into informal hierarchies and association networks, aggregated into concept schemes, grouped into labeled and/or ordered collections, and mapped to concepts in other schemes.
Quick Access Panel [hide]
Classes
Properties
Sections
skos:Concept
ClassAppendices
This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at http://www.w3.org/TR/.
This document is a Working Draft published by the Semantic Web Deployment Working Group, part of the W3C Semantic Web Activity. This Working Draft updates the the 25 Jan 2008 Working Draft with the Working Group decisions since that time. The changes are summarized below.
The Working Group solicits review and feedback on this draft specification. All comments are welcome and may be sent to public-swd-wg@w3.org; please include the text "SKOS comment" in the subject line. All messages received at this address are viewable in a public archive. Certain open issues are indicated with Editors' notes to particularly draw the attention of readers.
Editors' note: Anything marked in the document with an "@@" indicates something still to be done or fixed. For example, "@@TODO" indicates an outstanding task, "@@REF" indicates a reference that needs to be properly cited.
The Working Group intends to advance the SKOS Reference to W3C Recommendation after further review and comment. Per W3C Process, a future Last Call Working Draft will signal the Working Group's belief that it has met its design objectives for SKOS and has resolved all open issues. Based on its current schedule, the Working Group hopes to issue the Last Call Working Draft in July 2008.
This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) must disclose the information in accordance with section 6 of the W3C Patent Policy.
Publication as a Working Draft does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.
The major changes are:
The Simple Knowledge Organization System is a data sharing standard, bridging several different fields of knowledge, technology and practice.
In the library and information sciences, a long and distinguished heritage is devoted to developing tools for organizing large collections of objects such as books or museum artifacts. These tools are known generally as "knowledge organization systems" (KOS) or sometimes "controlled structured vocabularies". Several similar yet distinct traditions have emerged over time, each supported by a community of practice and set of agreed standards. Different families of knowledge organization systems, including "thesauri", "classification schemes", "subject heading systems", and "taxonomies" are widely recognized and applied in both modern and traditional information systems. In practice it can be hard to draw an absolute distinction between "thesauri" and "classification schemes" or "taxonomies", although some properties can be used to broadly characterize these different families (see e.g. [@@REF-BS8723-X]). The important point for SKOS is that, in addition to their unique features, each of these families shares much in common, and can often be used in similar ways.
The W3C's Semantic Web Activity [@@REF-SW] has stimulated a new field of integrative research and technology development, at the boundaries between database systems, formal logic and the World Wide Web. This work has led to the development of foundational standards for the Semantic Web. The Resource Description Framework (RDF) provides a common data abstraction and syntax for the Web [@@REF-RDF-PRIMER]. The RDF Vocabulary Description language (RDFS) and the Web Ontology language (OWL) together provide a common data modeling (schema) language for data in the Web [@@REF-RDFS] [@@REF-OWL-GUIDE]. The SPARQL Query language and Protocol provide a standard means for interacting with data in the Web [@@REF-SPARQL].
These technologies are being applied across diverse applications, because many applications require a common framework for publishing, sharing, exchanging and integrating ("joining up") data from different sources. This ability to "join up" data from different sources is motivating many projects, as different communities seek to exploit the hidden value in linking data previously spread across isolated sources.
One facet of the Semantic Web vision is the hope of better organizing the vast amounts of unstructured (i.e. human-readable) information in the Web, providing new routes to discovering and sharing that information. RDFS and OWL are formally defined knowledge representation languages, providing ways of expressing meaning that are amenable to computation; meaning that complements and gives structure to information already present in the Web [@@REF-RDF-PRIMER] [@@REF-OWL-GUIDE]. They go a long way towards supporting that vision, but the story doesn't end there. To actually apply these technologies over large bodies of information requires the construction of detailed "maps" of particular domains of knowledge, in addition to the accurate description (i.e. annotation or cataloging) of information resources on a large scale, much of which cannot be done automatically. The accumulated experience and best practices in the library and information sciences regarding the organization of information and knowledge is obviously complementary and applicable to this vision, as are the many existing knowledge organization systems already developed and in use, such as the Library of Congress Subject Headings [@@REF-LCSH] or the United Nations Food and Agriculture Organization's Agrovoc Thesaurus [@@REF-AGROVOC].
The Simple Knowledge Organization System therefore aims to provide a bridge between different communities of practice within the library and information sciences involved in the design and application of knowledge organization systems. In addition, SKOS aims to provide a bridge between these communities and the Semantic Web, by transferring existing models of knowledge organization to the Semantic Web technology context, and by providing a low-cost migration path for porting existing knowledge organization systems to RDF.
Looking to the future, SKOS occupies a position between the exploitation and analysis of unstructured information, the informal and socially-mediated organization of information on a large scale, and the formal representation of knowledge. It is hoped that, by making the accumulated experience and wisdom of knowledge organization in the library and information sciences accessible, applicable within and transferable to the technological context of the Semantic Web, in a way that is complementary to existing Semantic Web technology (and in particular formal systems of knowledge representation such as OWL), SKOS will enable many new and valuable applications, and will also lead to new integrative lines of research and development in both technology and practice.
The Simple Knowledge Organization System is a common data model for knowledge organization systems such as thesauri, classification schemes, subject heading systems and taxonomies. Using SKOS, a knowledge organization system can be expressed as data. It can then be exchanged between computer applications and published in a machine-readable format in the Web.
The SKOS data model is formally defined in this specification as an OWL Full ontology [@@REF-OWL-SEMANTICS]. SKOS data are expressed as RDF triples, and may be encoded using any concrete RDF syntax (such as RDF/XML [@@REF-RDF-XML] or Turtle [@@REF-TURTLE]). For more on the relationships between SKOS, RDF and OWL, see the next sub-section below.
The SKOS data model views a knowledge organization system as a concept scheme comprising a set of concepts. These SKOS concept schemes and SKOS concepts are identified by URIs, enabling anyone to refer to them unambiguously from any context, and making them a part of the World Wide Web. See Section 3. The skos:Concept Class for more on identifying and describing SKOS concepts, and Section 4. Concept Schemes for more on concept schemes.
SKOS concepts can be labeled with any number of lexical (UNICODE) strings, such as "romantic love" or "れんあい", in any given natural language, such as English or Japanese Hiragana. One of these labels in any given language can be indicated as the "preferred" label for that language, and the others as "alternate" labels. Labels may also be "hidden", which is useful e.g. where a knowledge organization system is being queried via a text index. See Section 5. Lexical Labels for more on the SKOS lexical labeling properties.
SKOS concepts can be assigned one or more notations, which are lexical codes used to uniquely identify the concept within the scope of a given concept scheme (also known as classification codes). See Section 6. Notations for more on notations.
SKOS concepts can be documented with notes of various types. The SKOS data model provides a basic set of documentation properties, supporting scope notes, definitions and editorial notes, among others. This set is not meant to be exhaustive, but rather to provide a framework that can be extended by third parties to provide support for more specific types of note. See Section 7. Documentation Properties for more on notes.
SKOS concepts can be linked to other SKOS concepts via semantic relation properties. The SKOS data model provides support for hierarchical and associative links between SKOS concepts. Again, as with any part of the SKOS data model, these can be extended by third parties to provide support for more specific needs. See Section 8. Semantic Relations for more on linking SKOS concepts.
SKOS concepts can be grouped into collections, which can be labeled and/or ordered. This feature of the SKOS data model is intended to provide support for node labels within thesauri, and for situations where the ordering of a set of concepts is meaningful or provides some useful information. See Section 9. Concept Collections for more on collections.
SKOS concepts can be mapped to other SKOS concepts in different concept schemes. The SKOS data model provides support for three basic types of mapping link: hierarchical, associative and exact equivalent. See Section 10. Mapping Properties for more on mapping.
Finally, an optional extension to SKOS is defined in Appendix A. SKOS eXtension for Labels (XL). XL provides more support for identifying, describing and linking lexical entities.
As mentioned above, the SKOS data model is formally defined as an OWL Full ontology. I.e. SKOS is itself an OWL Full ontology. The "elements" of the SKOS data model are classes and properties, and the structure and integrity of the data model is defined by the logical characteristics of and interdependencies between those classes and properties. This is perhaps one of the most powerful and yet potentially confusing aspects of SKOS, because SKOS can, in more advanced applications, also be used side-by-side with OWL to express and exchange knowledge about a domain. However, SKOS is not a formal knowledge representation language.
To understand this distinction, consider that the "knowledge" made explicit in a formal ontology is expressed as sets of axioms and facts. A thesaurus or classification scheme is of a completely different nature, and does not assert any axioms or facts. Rather, a thesaurus or classification scheme identifies and describes, through natural language and other informal means, a set of distinct "ideas" or "meanings", which are sometimes conveniently referred to as "concepts". These "concepts" may also be arranged and organized into various structures, most commonly hierarchies and association networks. These structures, however, do not have any formal semantics, and cannot be reliably interpreted as either formal axioms or facts about the world. Indeed they were never intended to be so, for they serve only to provide a convenient and intuitive "map" of some subject domain, which can then be used as an aid to organizing and finding objects, such as documents, which are relevant to that domain.
To make the "knowledge" embedded in a thesaurus or classification scheme explicit in any formal sense requires that the thesaurus or classification scheme be re-engineered as a formal ontology. In other words, some person has to do the work of transforming the structure and intellectual content of a thesaurus or classification scheme into a set of formal axioms and facts. This work of transformation is both intellectually demanding and time consuming, and therefore costly. Much can be gained from using thesauri etc. "as-is", as informal, convenient structures for navigation within a subject domain. Using them "as-is" does not require any re-engineering, and is therefore much less costly.
I.e. it is appropriate (if one has the time, effort and need) to manually re-engineer a thesaurus or classification scheme as a formal OWL ontology, using the "concepts" of the thesaurus as a starting point for creating classes, properties and individuals in the ontology, and using the informal hierarchies and association networks of the thesaurus as a starting point for creating the axioms and facts of the ontology. However, OWL is a formal ontology language, and it does not by itself provide a natural or suitable data model for expressing a thesaurus or classification scheme. I.e. it is not appropriate to express the "concepts" of a thesaurus or classification scheme directly as classes of an ontology, nor to express the informal (broader/narrower) hierarchy of a thesaurus directly as a set of class subsumption axioms. The reason for this is that, because a thesaurus or classification scheme has not been developed with formal semantics in mind, but rather as an informal or semi-formal aid to navigation and information retrieval, expressing a thesaurus hierarchy directly as a set of ontology classes with subsumption axioms typically leads to a number of inappropriate or nonsensical conclusions.
OWL does, however, provide a powerful data modeling language. We can, therefore, use OWL to construct a data model which is appropriate to the level of formality in a thesaurus or classification scheme. This is exactly what SKOS does. Taking this approach, the "concepts" of a thesaurus or classification scheme are modeled as individuals in the SKOS data model, and the informal descriptions about and links between those "concepts" as given by the thesaurus or classification scheme are modeled as facts about those individuals, never as class or property axioms. Note that these "facts" are facts about the thesaurus or classification scheme itself, such as "concept X has preferred label 'Y' and is part of thesaurus Z"; these are not facts about the way the world is arranged, as are typically expressed in a formal ontology.
SKOS data are then expressed as RDF triples. For example, the RDF graph below expresses some facts about a thesaurus.
<A> rdf:type skos:Concept ; skos:prefLabel "love"@en ; skos:altLabel "adoration"@en ; skos:broader <B> ; skos:inScheme <C> . <B> rdf:type skos:Concept ; skos:prefLabel "emotion"@en ; skos:altLabel "feeling"@en ; skos:inScheme <C> . <C> rdf:type skos:ConceptScheme ; dc:title "My First Thesaurus" ; skos:hasTopConcept <B> .
This point is vital to understanding the formal definition of the SKOS data model and how it may be implemented in software systems. This point is also vital to more advanced applications of SKOS, especially where SKOS and OWL are used in combination as part of a hybrid formal/semi-formal design.
From a users point of view, however, the distinction between a formal
knowledge representation system and an informal or semi-formal knowledge
organization system may naturally become blurred, and can often be ignored
without any serious repercussions. In other words, it may not be relevant to
a user that <A>
and <B>
in the graph
below are individuals (instances of skos:Concept
), and
<C>
and <D>
are classes (instances of
owl:Class
) .
<A> rdf:type skos:Concept ; skos:prefLabel "love"@en ; skos:broader <B> . <B> rdf:type skos:Concept ; skos:prefLabel "emotion"@en . <C> rdf:type owl:Class ; rdfs:label "mammals"@en ; rdfs:subClassOf <D> . <D> rdf:type owl:Class ; rdfs:label "animals"@en .
An information system that has any awareness of the SKOS data model will, however, need to appreciate the distinction.
Under the RDF and OWL Full semantics, the formal meaning (interpretation) of an RDF graph is a truth value [@@REF-RDF-SEMANTICS] [@@REF-OWL-SEMANTICS]. I.e. an RDF graph is interpreted as either true or false.
In general, an RDF graph is said to be inconsistent if it cannot possibly be true. In other words, an RDF graph is inconsistent if it contains a contradiction.
Using the RDF and RDFS vocabularies alone, it is virtually impossible to make a contradictory statement. When the OWL vocabulary is used as well, there are many ways to state a contradiction. For example, consider the RDF graph below.
<Foo> rdf:type owl:Class . <Bar> rdf:type owl:Class . <Foo> owl:disjointWith <Bar> . <foobar> rdf:type <Foo> , <Bar> .
The graph states that <Foo>
and
<Bar>
are both classes, and that they are disjoint, i.e.
that they do not have any members in common. This is contradicted by the
statement that <foobar>
has type both
<Foo>
and <Bar>
. There is no OWL Full
interpretation which can satisfy this graph, and therefore this graph is
not OWL Full consistent.
When OWL Full is used as a knowledge representation language, the notion of inconsistency is useful because it reveals contradictions within the axioms and facts that are asserted in an ontology. By resolving these inconsistencies we learn more about a domain of knowledge, and come to a better model of that domain from which interesting and valid inferences can be drawn.
When OWL Full is used as a data modeling (i.e. schema) language, the notion of inconsistency is again useful, but in a different way. Here we are not concerned with the logical consistency of human knowledge itself. We are simply interested in formally defining a data model, so that we can establish with certainty whether or not some given data conforms to or "fits" with the given data model. If the data is inconsistent with respect to the data model, then it does not "fit".
Here, we are not concerned with whether or not some given data has any correspondence with the "real world", i.e. whether it is true or false in any absolute sense. We are simply interested in whether or not the data fits the data model, because interoperability within a given class of applications depends on data conforming to a common data model.
Another way to express this view is via the notion of integrity. Integrity conditions are statements within the formal definition of a data model, which are used to establish whether or not given data is consistent with respect to the data model.
For example, the statement that <Foo>
and
<Bar>
are disjoint classes can be viewed as an integrity
condition on a data model. Given this condition, the data below is then not
(OWL Full) consistent.
<foobar> rdf:type <Foo> , <Bar> .
The definition of the SKOS data model given in this document contains a limited number of statements that are intended as integrity conditions. These integrity conditions are included to promote interoperability, by defining the circumstances under which data is not consistent with respect to the SKOS data model. Tools can then be implemented which "check" whether some or all of these integrity conditions are met for given data, and therefore whether the data "fits" the SKOS data model.
These integrity conditions are part of the formal definition of the classes and properties of the SKOS data model, however they are presented separately from other parts of the formal definition because they serve a different purpose. Integrity conditions serve primarily to establish whether given data is consistent with the SKOS data model. All other statements within the definition of the SKOS data model serve only to support logical inferences (see also the next sub-section).
Integrity conditions are defined for the SKOS data model in a way that is independent of strategies for their implementation, in so far as that is possible. This is because there are several different ways in which a procedure to find inconsistencies with the SKOS data model could be implemented. For example, inconsistencies could be found using an OWL reasoner. Alternatively, some inconsistencies could be found by searching for specific patterns within the data, or by a hybrid strategy (draw inferences using an RDFS or OWL reasoner, then search for patterns in the inferred graph).
The integrity conditions on the SKOS data model are fewer than might be expected, especially for those used to working within the "closed world" of database systems. See also the next sub-section, and the notes in sections 3-11 below.
This document defines the SKOS data model as an OWL Full ontology. There are other, alternate ways in which the SKOS data model could have been defined, for example as an entity-relationship model, or a UML class model. Although OWL Full as a data modeling language appears intuitively similar in many ways to these other modeling approaches, there is an important fundamental distinction.
RDF and OWL Full are designed for systems in which data may be widely distributed (e.g. the Web). As such a system becomes larger, it becomes both impractical and virtually impossible to "know" where all of the data in the system is located. Therefore, one cannot generally assume that data obtained from such a system is "complete". I.e. if some data appears to be "missing", one has to assume, in general, that the data might exist somewhere else in the system. This assumption, roughly speaking, is known as the "open world" assumption [@@REF-OWL-GUIDE].
This means in practice that, for a data model defined as an OWL Full ontology, some definitions can have a counter-intuitive meaning. No conclusions can be drawn from "missing" data, and removing something will never make the remaining data inconsistent.
For example, in Section 8 below, the
property skos:semanticRelation
is defined to have domain and
range skos:Concept
. These statements are not
integrity conditions. I.e. the graph below is perfectly
consistent with the SKOS data model, despite the fact that
<A>
and <B>
have not been explicitly
declared as instances of skos:Concept
.
<A> skos:semanticRelation <B> .
In fact, the domain and range definitions give license to inferences. In this case, the graph above (RDFS and OWL Full) entails the following graph. I.e. the following graph can be deduced or inferred.
<A> rdf:type skos:Concept . <B> rdf:type skos:Concept .
In the SKOS data model, most statements of definition are
not integrity conditions, but are statements of logical
dependency between different elements of the data model, which under the
open-world assumption give license to a number of simple inferences. For
example, in section 7 below,
skos:broader
and skos:narrower
are defined as
inverse properties. This statement means that
<A> skos:narrower <B> .
entails
<B> skos:broader <A> .
Both of these two graphs are, by themselves, consistent with the SKOS data model.
Knowledge organization systems such as thesauri and classification schemes are applied in a wide range of situations, and an individual knowledge organization system can be used in many different information systems. By defining the SKOS data model as an OWL Full ontology, the Semantic Web can then be used as a medium for publishing, exchanging, sharing and "joining up" data involving these knowledge organization systems. For this reason, for the expressiveness of OWL Full as a data modeling language, and for the possibility of then using thesauri, classification schemes etc. side-by-side with formal ontologies, OWL Full has been used to define the SKOS data model. The "open world" assumption is therefore a fundamental premise of the SKOS data model, and should be borne in mind when reading this document.
See also [@@REF-RDF-PRIMER] and [@@OWL-GUIDE].
This document formally defines the Simple Knowledge Organization System data model as an OWL Full ontology. The "elements" of the SKOS data model are OWL classes and properties, and a Uniform Resource Identifier (URI) is provided for each of these classes and properties so that they may be used unambiguously in the Web. This set of URIs comprises the SKOS vocabulary.
The complete SKOS vocabulary is given in section 2 below. Sections 3 to 10 then formally define the SKOS data model. The definition of the data model is broken down into a number of sections purely for convenience. Each of these sections 3 to 10 follows a common layout:
Most of the class and property definitions and integrity conditions stated in this document could be stated as RDF triples, using the RDF, RDFS and OWL vocabularies. However, a small number cannot, either because of limitations in the expressiveness of OWL Full or lack of standard URI for some class. To improve the overall readability of this document, rather than mix RDF triples and other notations, the formal definitions and integrity conditions are stated throughout using prose.
The style of this prose generally follows the style used in [@@REF-RDFS], and should be clear to a reader with a working knowledge of RDF and OWL.
So, for example, "ex:Foo
is an instance of
owl:Class
" means
ex:Foo rdf:type owl:Class .
"ex:p
and ex:q
are each instances of
owl:ObjectProperty
" means
ex:p rdf:type owl:ObjectProperty . ex:q rdf:type owl:ObjectProperty .
"ex:p
is a sub-property of ex:q
" means
ex:p rdfs:subPropertyOf ex:q .
"the rdfs:range
of ex:p
is the class
ex:Foo
" means
ex:p rdfs:range ex:Foo .
etc.
Where some formal aspects of the SKOS data model cannot be stated as RDF triples using either RDF, RDFS or OWL vocabularies, it should be clear to a reader with a basic understanding of the RDF and OWL semantics how these statements might be translated into formal conditions on the interpretation of an RDF vocabulary.
For example, from Section 5, "A resource has no more
than one value of skos:prefLabel
per language" means for any
resource x, no two members of the set { y | <x,y> is in
IEXT(I(skos:prefLabel
)) } share the same language tag (where I
and IEXT are functions as defined in [@@REF-RDF-SEMANTICS]).
Full URIs are cited in the text of this document in monospace font,
enclosed by angle brackets. For example,
<http://example.org/ns/example>
. Relative URIs are cited
in the same way, and are relative to the base URI
<http://example.org/ns/>
. For example,
<example>
and
<http://example.org/ns/example>
are the same URI.
URIs are also cited in the text of this document in an abbreviated form. Abbreviated URIs are cited in monospace font without angle brackets, and should be expanded using the table of abbreviations below.
URI | Abbreviation |
---|---|
http://www.w3.org/2008/05/skos# | skos: |
http://www.w3.org/1999/02/22-rdf-syntax-ns# | rdf: |
http://www.w3.org/2000/01/rdf-schema# | rdfs: |
http://www.w3.org/2002/07/owl# | owl: |
So, for example, skos:Concept
is an abbreviation of
<http://www.w3.org/2008/05/skos#Concept>
.
Examples of RDF graphs are given using the Terse RDF Triple language (Turtle) [@@REF-TURTLE]. All examples assume that they are preceded by the following prefix and URI base directives:
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix skos: <http://www.w3.org/2008/05/skos#> .
@base <http://example.org/ns/> .
Therefore, the example given below
Example 1 |
---|
<MyConcept> rdf:type skos:Concept .
|
is equivalent to the following Turtle document
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix skos: <http://www.w3.org/2008/05/skos#> .
@base <http://example.org/ns/> . <MyConcept> rdf:type skos:Concept .
which is equivalent to the following RDF/XML document [@@REF-RDF-XML]
<?xml version="1.0" encoding="UTF-8"?> <rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:skos="http://www.w3.org/2008/05/skos#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xml:base="http://example.org/ns/"> <skos:Concept rdf:about="MyConcept"/> </rdf:RDF>
which is equivalent to the following N-TRIPLES document [@@REF-NTRIPLES]
<http://example.org/ns/MyConcept> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2008/05/skos#Concept> .
Note the use in Turtle of the ";" and "," characters to abbreviate multiple triples with the same subject or predicate.
This specification does not define a formal notion of conformance.
However, an RDF graph will be inconsistent with the SKOS data model if that graph and the SKOS data model (as defined formally below) taken together lead to a logical contradiction.
The SKOS namespace URI is:
The SKOS vocabulary is a set of URIs, given in the left-hand column in the table below.
All URIs in the SKOS vocabulary are constructed by appending a local name (e.g. "prefLabel") to the SKOS namespace URI.
See also the SKOS overview in Appendix B and the quick access panel.
The class skos:Concept
is the class of SKOS concepts.
A SKOS concept can be viewed as an idea or notion; a unit of thought. However, what constitutes a "unit of thought" is subjective, and this definition is meant to be suggestive, rather than restrictive.
The notion of a SKOS concept is useful when describing the conceptual or intellectual structure of a knowledge organization system, and when referring to specific ideas or meanings established within a KOS.
Note that, because SKOS is designed to be a vehicle for representing semi-formal KOS, such as thesauri and classification schemes, a certain amount of flexibility has been built in to the formal definition of this class.
See the SKOS Primer for more examples of identifying and describing SKOS concepts.
skos:Concept |
S1 | skos:Concept is an instance of
owl:Class . |
The graph below states that <MyConcept>
is a SKOS
concept (i.e. an instance of skos:Concept
).
Example 2 (consistent) |
---|
<MyConcept> rdf:type skos:Concept .
|
This specification does not make any statement about the formal relationship between the class of SKOS concepts and the class of OWL classes. The decision not to make any such statement has been made to allow applications the freedom to explore different design patterns for working with SKOS in combination with OWL.
For example, in the graph below, <MyConcept>
is an
instance of skos:Concept
and an instance of
owl:Class
.
Example 3 (consistent) |
---|
<MyConcept> rdf:type skos:Concept , owl:Class .
|
This example is consistent with the SKOS data model.
However, note that it is not compatible with OWL DL, because
the URI <MyConcept>
has been used to denote both a class
and an individual [@@REF-OWL-SEMANTICS]. To work within the OWL DL language,
take care not to use the same URI to denote both an OWL
class and a SKOS concept.
Similarly, this specification does not make any statement about the formal relationship between the class of SKOS concepts and the class of OWL properties.
For example, in the graph below, <MyConcept>
is an
instance of skos:Concept
and an instance of
owl:ObjectProperty
.
Example 4 (consistent) |
---|
<MyConcept> rdf:type skos:Concept , owl:ObjectProperty .
|
This example is consistent with the SKOS data model.
However, it is not compatible with OWL DL, because the URI
<MyConcept>
has been used to denote both an object
property and an individual [@@REF-OWL-SEMANTICS].
A SKOS concept scheme can be viewed as an aggregation of one or more SKOS concepts. Semantic relationships (links) between those concepts may also be viewed as part of a concept scheme. This definition is, however, meant to be suggestive rather than restrictive, and there is a certain amount of flexibility in the formal semantics stated below (see also the notes below).
The notion of a concept scheme is useful when dealing with data from an unknown source, and when dealing with data that describes two or more different knowledge organization systems.
See the SKOS Primer for more examples of identifying and describing concept schemes.
skos:ConceptScheme |
skos:inScheme |
skos:hasTopConcept |
S2 | skos:ConceptScheme is an instance of
owl:Class . |
S3 | skos:inScheme and skos:hasTopConcept are
each instances of owl:ObjectProperty . |
S4 | The rdfs:range of skos:inScheme is the
class skos:ConceptScheme . |
S5 | The rdfs:domain of skos:hasTopConcept is
the class skos:ConceptScheme . |
S6 | The rdfs:range of skos:hasTopConcept is
the class skos:Concept . |
S7 | skos:ConceptScheme is disjoint with
skos:Concept . |
The graph below describes a concept scheme with two SKOS concepts, one of which is a top-level concept in that scheme.
Example 5 (consistent) |
---|
<MyScheme> rdf:type skos:ConceptScheme ;
skos:hasTopConcept <MyConcept> . <MyConcept> skos:inScheme <MyScheme> . <AnotherConcept> skos:inScheme <MyScheme> . |
The notion of an individual SKOS concept scheme corresponds roughly to the notion of an individual thesaurus, classification scheme, subject heading system or other knowledge organization system.
However, in most current information systems, a thesaurus or classification scheme is treated as a closed system — conceptual units defined within that system cannot take part in other systems (although they can be mapped to units in other systems).
Although SKOS does take a similar approach, there are no conditions preventing a SKOS concept from taking part in zero, one, or more than one concept scheme.
So, for example, in the graph below the SKOS concept
<MyConcept>
takes part in two different concept schemes
— this is consistent with the SKOS data model.
Example 6 (consistent) |
---|
<MyScheme> rdf:type skos:ConceptScheme .
<AnotherScheme> rdf:type skos:ConceptScheme ; owl:differentFrom <MyScheme> . <MyConcept> skos:inScheme <MyScheme> , <AnotherScheme> . |
This flexibility is desirable because it allows, for example, new concept schemes to be described by linking two or more existing concept schemes together.
Also, note that there is no way to close the boundary of a concept scheme.
So, while it is possible using skos:inScheme
to say that SKOS
concepts X, Y and Z take part in concept scheme A, there is no way to say
that only X, Y and Z take part in A.
Therefore, while SKOS can be used to describe a concept scheme, SKOS does not provide any mechanism to completely define a concept scheme.
This specification does not make any statement about the formal relationship between the class of SKOS concept schemes and the class of OWL ontologies. The decision not to make any such statement has been made to allow different design patterns to be explored for using SKOS in combination with OWL [@@REF-OWL-GUIDE].
For example, in the graph below, <MyScheme>
is both a
concept scheme and an OWL ontology. This is consistent with
the SKOS data model.
Example 7 (consistent) |
---|
<MyScheme> rdf:type skos:ConceptScheme , owl:Ontology .
<MyConcept> skos:inScheme <MyScheme> . |
This specification does not make any statement about the formal relationship between the class of SKOS concept schemes and the class of named RDF Graphs. The decision not to make any such statement has been made to allow different design patterns to be explored for using SKOS with query languages such as SPARQL [@@REF-SPARQL].
The property skos:hasTopConcept
is, by convention, used to
link a concept scheme to the SKOS concept(s) which are topmost in the
hierarchical relations for that scheme. However, note that there are no
integrity conditions enforcing this convention. Therefore, the graph below,
whilst not strictly adhering to the usage convention for
skos:hasTopConcept
, is nevertheless consistent
with the SKOS data model.
Example 8 (consistent) |
---|
<MyScheme> skos:hasTopConcept <MyConcept> .
<MyConcept> skos:inScheme <MyScheme> ; skos:broader <AnotherConcept> . <AnotherConcept> skos:inScheme <MyScheme> . |
A lexical label is a string of UNICODE characters, such as "romantic love" or "れんあい", in a given natural language, such as English or Japanese Hiragana.
The Simple Knowledge Organization System provides some basic vocabulary for associating lexical labels with resources of any type. In particular, SKOS enables a distinction to be made between the "preferred", "alternate" and "hidden" lexical labels for any given resource.
The "preferred" and "alternate" labels are useful when generating or creating human-readable representations of a knowledge organization system. These labels provide the strongest clues as to the meaning of a SKOS concept.
The "hidden" labels are useful when a user is interacting with a knowledge organization system via a text-based search function. The user may, for example, enter mis-spelled words when trying to find a relevant concept. If the mis-spelled query can be matched against a "hidden" label, the user will be able to find the relevant concept, but the "hidden" label won't otherwise be visible to the user (so further mistakes aren't encouraged).
Formally, a lexical label is an RDF plain literal [@@REF-RDF-CONCEPTS]. An RDF plain literal is composed of a lexical form, which is a string of UNICODE characters, and an optional language tag, which is a string of characters conforming to the syntax defined by [@@REF-BCP47].
See the @@Primer for more examples of labeling SKOS concepts.
skos:prefLabel |
skos:altLabel |
skos:hiddenLabel |
S8 |
skos:prefLabel ,
skos:altLabel and skos:hiddenLabel are each
instances of owl:DatatypeProperty . |
S9 | The rdfs:range of each of skos:prefLabel ,
skos:altLabel and skos:hiddenLabel is the
class of RDF plain literals. |
S10 | skos:prefLabel , skos:altLabel and
skos:hiddenLabel are pairwise disjoint properties. |
S11 | A resource has no more than one value of
skos:prefLabel per language. |
N.B. the conditions above assume that each distinct language tag allowed by [@@REF-BCP47] denotes a different "language". E.g. "en", "en-GB" and "en-US" denote three different languages (English, British English and US English respectively). E.g. "ja", "ja-Hani", "ja-Hira", "ja-Kana" and "ja-Latn" denote five different languages (Japanese, Japanese Kanji, Japanese Hiragana, Japanese Katakana and Japanese Rōmaji respectively).
The following graph is consistent, and illustrates the provision of lexical labels in two different languages (French and English).
Example 9 (consistent) |
---|
<MyResource>
skos:prefLabel "animals"@en ; skos:altLabel "fauna"@en ; skos:hiddenLabel "aminals"@en ; skos:prefLabel "animaux"@fr ; skos:altLabel "faune"@fr . |
The following graph is consistent, and illustrates the provision of lexical labels in four different languages (Japanese Kanji, Japanese Hiragana, Japanese Katakana and Japanese Rōmaji).
Example 10 (consistent) |
---|
<AnotherResource>
skos:prefLabel "東"@ja-Hani ; skos:prefLabel "ひがし"@ja-Hira ; skos:altLabel "あずま"@ja-Hira ; skos:prefLabel "ヒガシ"@ja-Kana ; skos:altLabel "アズマ"@ja-Kana ; skos:prefLabel "higashi"@ja-Latn ; skos:altLabel "azuma"@ja-Latn . |
The following graph is not consistent with the SKOS data model, because two different preferred lexical labels have been given for the same language.
Example 11 (not consistent) |
---|
<FooResource> skos:prefLabel "foo"@en ; skos:prefLabel "bar"@en
.
|
The following graph is not consistent with the SKOS data model, because there is a "clash" between the preferred and alternate lexical labels.
Example 12 (not consistent) |
---|
<FooResource> skos:prefLabel "foo"@en ; skos:altLabel "foo"@en
.
|
The following graph is not consistent with the SKOS data model, because there is a "clash" between alternate and hidden lexical labels.
Example 13 (not consistent) |
---|
<FooResource> skos:altLabel "foo"@en ; skos:hiddenLabel
"foo"@en .
|
The following graph is not consistent with the SKOS data model, because there is a "clash" between preferred and hidden lexical labels.
Example 14 (not consistent) |
---|
<FooResource> skos:prefLabel "foo"@en ; skos:hiddenLabel
"foo"@en .
|
Note that no domain is stated for
skos:prefLabel
, skos:altLabel
and
skos:hiddenLabel
. Thus, the effective domain of these properties
is the class of all resources (rdfs:Resource
).
Therefore, using the properties skos:prefLabel
,
skos:altLabel
and skos:hiddenLabel
to label
any type of resource is consistent with the SKOS
data model.
For example, in the graph below, skos:prefLabel
,
skos:altLabel
and skos:hiddenLabel
have been used
to label a resource of type owl:Class
— this is
consistent with the SKOS data model.
Example 15 (consistent) |
---|
<MyClass> rdf:type owl:Class ;
skos:prefLabel "animals"@en ; skos:altLabel "fauna"@en ; skos:hiddenLabel "aminals"@en ; skos:prefLabel "animaux"@fr ; skos:altLabel "faune"@fr . |
This example is, however, incompatible with OWL DL, because a datatype property has been used to make assertions about a class [@@REF-OWL-SEMANTICS].
Note that the range of skos:prefLabel
,
skos:altLabel
and skos:hiddenLabel
is the class of
RDF plain literals [@@REF-RDF-CONCEPTS].
By convention, RDF plain literals are always used in the object position
of a triple, where the predicate is one of skos:prefLabel
,
skos:altLabel
or skos:hiddenLabel
. However, there
is nothing in the RDF or OWL Full semantics which prevents the use of a URI
or a blank node to denote an RDF plain literal. Therefore, although the graph
below does not adhere to the usage convention stated above, it is
nevertheless consistent with the SKOS data model.
Example 16 (consistent) |
---|
<FooResource> skos:prefLabel <bar> .
|
For an application that needs to identify labels using URIs, consider using the SKOS eXtension for Labels defined in Appendix A.
In the graph below, a resource has two alternate lexical labels, but no preferred lexical label. This is consistent with the SKOS data model, and there are no additional entailments which follow from the semantics. However, note that many applications will require a preferred lexical label in order to generate an optimum human-readable display.
Example 17 (consistent) |
---|
<FooResource> skos:altLabel "foo"@en , "bar"@en .
|
Note how "language" has been defined for the conditions above. Each different language tag permissible by [@@REF-BCP47] is taken to denote a different "language". Therefore the graph below is consistent with the SKOS data model, because "en", "en-US" and "en-GB" are taken to denote different languages.
Example 18 (consistent) |
---|
<FooResource> skos:prefLabel "color"@en , "color"@en-US ,
"colour"@en-GB .
|
In the graph below, there is no "clash" between the lexical labeling properties, again because "en" and "en-GB" are taken to denote different languages, and therefore the graph is consistent.
Example 19 (consistent) |
---|
<FooResource> skos:prefLabel "foo"@en ; skos:altLabel
"foo"@en-GB .
|
A notation is a string of characters such as "T58.5" or "303.4833" used to uniquely identify a concept within the scope of a given concept scheme.
A notation is different from a lexical label in that a notation is not normally recognizable as a word or sequence of words in any natural language.
This section defines the skos:notation
property. This
property is used to assign a notation to a concept as a typed literal
[@@REF-RDF-CONCEPTS].
skos:notation |
S12 |
skos:notation is an instance of
owl:DatatypeProperty . |
The example below illustrates a resource
<http://example.com/ns/MyConcept>
with a notation whose
lexical form is the UNICODE string "303.4833" and whose datatype is denoted
by the URI <http://example.com/ns/MyNotationDatatype>
.
Example 20 (consistent) |
---|
<MyConcept> skos:notation
"303.4833"^^<MyNotationDatatype> .
|
A typed literal is a UNICODE string combined with a datatype URI [@@REF-RDF-CONCEPTS].
Typed literals are commonly used to denote values such as integers,
floating point numbers and dates, and there are a number of datatypes
pre-defined by the XML Schema specification [@@REF-XML-SCHEMA] such as
xs:integer
, xs:float
and xs:date
.
For other situations, new datatypes can be defined, and these are commonly called "user-defined datatypes" [@@REF-SWBP-DATATYPES].
By convention, the property skos:notation
is only used with a
typed literal in the object position of the triple, where the datatype URI
denotes a user-defined datatype corresponding to a particular system of
notations or classification codes.
For many situations it may be sufficient to simply coin a datatype URI for a particular notation system, and define the datatype informally via a document that describes how the notations are constructed and/or which lexical forms are allowed. Note, however, that it is also possible to define at least the lexical space of a datatype more formally via the XML Schema language, see [@@REF-SWBP-DATATYPES] section 2.
There are no constraints on the cardinality of the
skos:notation
property. A concept may have zero, 1 or more
notations.
Where a concept has more than 1 notation, these may be from the same or different notation systems (i.e. datatypes). However, it is not common practice to assign more than one notation from the same notation system (i.e. with the same datatype URI).
By convention, no two concepts in the same concept scheme are given the same notation. If they were, it would not be possible to use the notation to uniquely refer to a concept (i.e. the notation would become ambiguous).
However, this usage convention is not part of the formal SKOS data model.
I.e. there are no integrity conditions on the use of
skos:notation
.
There are no constraints on the combined use of skos:notation
and skos:prefLabel
. In the example below, the same string is
given both as the lexical form of a notation and as a the lexical form of a
preferred label.
Example 21 (consistent) |
---|
<Potassium>
skos:prefLabel "K"@en ; skos:notation "K"^^<ChemicalSymbolNotation> . |
Typed literals consist of a string of characters and a datatype URI. By
convention, skos:notation
is only used with typed literals in
the object position of the triple.
Plain literals consist of a string of characters and a language tag. By
convention, skos:prefLabel
(and skos:altLabel
and
skos:hiddenLabel
) are only used with plain literals in the
object position of the triple.
There is no such thing as an RDF literal with both a language tag and a datatype URI. I.e. a typed literal does not have a language tag, and a plain literal does not have a datatype URI.
Usually a notation system does not have any correspondance with a natural
language — it is language-independent (and hence typed literals are an
appropriate representation). However, in some cases a system of notation
might be associated with a particular language and/or script. One possible
strategy in this situation is to use the private use language sub-tags
[@@REF-BCP47] with skos:prefLabel
, as illustrated in the example
below — this is consistent with the SKOS data model. An alternative
strategy is to define one or more sub-properties of
skos:prefLabel
and/or skos:altLabel
.
Example 22 (consistent) |
---|
<Potassium>
skos:prefLabel "Potassium"@en ; skos:prefLabel "K"@en-x-chemicalsymbol ; skos:notation "K"^^<ChemicalSymbolNotation> . |
Notes are used to provide information relating to SKOS concepts. There is no restriction on the nature of this information. For example, it could be plain text, hypertext, or an image; it could be a definition, information about the scope of a concept, editorial information, or any other type of information.
There are 7 properties in SKOS for associating notes with concepts, defined formally in this section. For more information on the recommended usage of each of the SKOS documentation properties, see the @@Primer.
These 7 properties are not intended to cover every situation, but rather to be useful in some of the most common situations, and to provide a set of extension points for defining more specific types of note. For more information on recommended best practice for extending SKOS, see the @@Primer.
Three different usage patterns are recommended in the @@Primer for the SKOS documentation properties — "documentation as an RDF literal", "documentation as a related resource description" and "documentation as a document reference". The formal semantics stated in this section are intended to accommodate all three design patterns. See also the notes below.
skos:note |
skos:changeNote |
skos:definition |
skos:editorialNote |
skos:example |
skos:historyNote |
skos:scopeNote |
S13 |
skos:note , skos:changeNote ,
skos:definition , skos:editorialNote ,
skos:example , skos:historyNote and
skos:scopeNote are each instances of
owl:ObjectProperty . |
S14 | skos:changeNote , skos:definition ,
skos:editorialNote , skos:example ,
skos:historyNote and skos:scopeNote are
each sub-properties of skos:note . |
The graph below gives an example of the "documentation as an RDF literal" pattern.
Example 23 (consistent) |
---|
<MyResource> skos:note "foo bar"@en .
|
The graph below gives an example of the "documentation as a related resource description" pattern.
Example 24 (consistent) |
---|
<MyResource> skos:note [ rdf:value "foo bar"@en ] .
|
The graph below gives an example of the "documentation as a document reference" pattern.
Example 25 (consistent) |
---|
<MyResource> skos:note <MyNote> .
|
Note that no domain is stated for the SKOS documentation
properties. Thus, the effective domain for these properties is the class of
all resources (rdfs:Resource
). Therefore, using the SKOS
documentation properties to provide information on any type of
resource is consistent with the SKOS data model.
For example, in the graph below, skos:definition
has been
used to provide a plain text definition for a resource of type
owl:Class
— this is consistent with the SKOS data model.
Example 26 (consistent) |
---|
<Protein> rdf:type owl:Class ;
skos:definition """A physical entity consisting of a sequence of amino-acids; a protein monomer; a single polypeptide chain. An example is the EGFR protein."""@en . |
This example is, however, incompatible with OWL DL, because an object property has been used to make an assertion about a class [@@REF-OWL-SEMANTICS].
Note that the basis for the SKOS data model is the RDF-compatible
model-theoretic semantics for OWL Full [@@REF-OWL-SEMANTICS]. Under the OWL
Full semantics, the class of OWL datatype properties is a sub-class of the
class of OWL object properties [@@REF-OWL-REFERENCE]. Therefore, stating that
the SKOS documentation properties are all instances of
owl:ObjectProperty
is the most general statement that can be
made, and is consistent with all three usage patterns described in the
@@Primer.
Note also that no range is stated for the SKOS documentation properties,
and thus the range of these properties is effectively the class of all
resources (rdfs:Resource
). Under the RDF and OWL Full semantics,
everything is a resource, including RDF plain literals.
SKOS semantic relations are links between SKOS concepts, where the link is inherent in the meaning of the linked concepts.
The Simple Knowledge Organization System distinguishes between two basic categories of semantic relation: hierarchical and associative. A hierarchical link between two concepts indicates that one is in some way more general ("broader") than the other ("narrower"). An associative link between two concepts indicates that the two are inherently "related", but that one is not in any way more general than the other.
The properties skos:broader
and skos:narrower
are used to assert a hierarchical link between two SKOS concepts. A triple
<A> skos:broader <B>
asserts that
<B>
, the object of the triple, is in some way a broader
concept than <A>
, the subject of the triple. Similarly, a
triple <C> skos:narrower <D>
asserts that
<D>
, the object of the triple is, in some way a narrower
concept than <C>
, the subject of the triple.
Note that the properties skos:broader
and
skos:narrower
are not defined as transitive
properties. Applications may wish to make use of the transitive closure of
skos:broader
(or skos:narrower
), for instance to
improve search recall through query expansion. For these purposes, transitive
super-properties skos:broaderTransitive
and
skos:narrowerTransitive
are provided.
By convention, skos:broader
and skos:narrower
are only used to assert an immediate (i.e. direct)
hierarchical link between two SKOS concepts.
By convention, the properties skos:broaderTransitive
and
skos:narrowerTransitive
are not used to make
assertions. Rather, these properties are used to draw inferences about the
transitive closure of the hierarchical relation, which is useful e.g. when
implementing a simple query expansion algorithm in a search application.
The property skos:related
is used to assert an associative
link between two SKOS concepts.
For more examples of stating hierarchical and associative links, see the @@Primer.
skos:semanticRelation |
skos:broader |
skos:narrower |
skos:related |
skos:broaderTransitive |
skos:narrowerTransitive |
S15 |
skos:semanticRelation ,
skos:broader , skos:narrower ,
skos:related , skos:broaderTransitive and
skos:narrowerTransitive are each instances of
owl:ObjectProperty . |
S16 | The rdfs:domain of skos:semanticRelation
is the class skos:Concept . |
S17 | The rdfs:range of skos:semanticRelation
is the class skos:Concept . |
S18 | skos:broaderTransitive ,
skos:narrowerTransitive and skos:related
are each sub-properties of skos:semanticRelation . |
S19 | skos:broader is a sub-property of
skos:broaderTransitive , and skos:narrower
is a sub-property of skos:narrowerTransitive . |
S20 | skos:related is an instance of
owl:SymmetricProperty . |
S21 | skos:broader , skos:narrower and
skos:related are each not instances of
owl:TransitiveProperty . |
S22 | skos:broaderTransitive and
skos:narrowerTransitive are each instances of
owl:TransitiveProperty . |
S23 | skos:narrower is the owl:inverseOf the
property skos:broader . |
S24 | skos:narrowerTransitive is the
owl:inverseOf the property
skos:broaderTransitive . |
S25 | skos:related is disjoint with the property
skos:broaderTransitive . |
The graph below asserts a hierarchical link between <A>
and <B>
(where <B>
is broader than
<A>
), and an associative link between
<A>
and <C>
, and is
consistent with the SKOS data model.
Example 27 (consistent) |
---|
<A> skos:broader <B> ; skos:related <C> .
|
The graph below is not consistent with the SKOS data model, because there is a "clash" between associative links and hierarchical links.
Example 28 (not consistent) |
---|
<A> skos:broader <B> ; skos:related <B> .
|
The graph below is not consistent with the SKOS data model, again because there is a "clash" between associative links and hierarchical links.
Example 29 (not consistent) |
---|
<A> skos:broader <B> ; skos:related <C> .
<B> skos:broader <C> . |
In the example above, the "clash" is not immediately obvious. The "clash" becomes apparent when inferences are drawn, based on the class and property definitions above, giving the following graph.
Example 30 (not consistent) |
---|
<A> skos:broaderTransitive <C> ; skos:related <C>
.
|
The graph below is not consistent with the SKOS data model, again because there is a "clash" between associative links and hierarchical links, which can be inferred from the class and property definitions given above.
Example 31 (not consistent) |
---|
<A> skos:narrower <B> ; skos:related <C> .
<B> skos:narrower <C> . |
The diagram below illustrates informally the sub-property relationships between the SKOS semantic relation properties.
skos:semanticRelation | +— skos:related | +— skos:broaderTransitive | | | +— skos:broader | +— skos:narrowerTransitive | +— skos:narrower
Note that the domain and range of skos:semanticRelation
is
the class skos:Concept
. Because skos:broader
,
skos:narrower
and skos:related
are each
sub-properties of skos:semanticRelation
, the graph in example 27
above entails that <A>
, <B>
and
<C>
are each instances of skos:Concept
.
skos:related
is a symmetric property. The example below
illustrates an entailment which follows from this condition.
Example 32 (entailment) |
---|
<A> skos:related <B> .
entails
<B> skos:related <A> .
|
Note that, although skos:related
is a symmetric property,
this condition does not place any restrictions on
sub-properties of skos:related
. I.e. sub-properties of
skos:related
could be symmetric, not symmetric or antisymmetric,
and still be consistent with the SKOS data model.
To illustrate this point, in the example below, two new properties which
are not symmetric are declared as sub-properties of
skos:related
. The example, which is consistent
with the SKOS data model, also shows some of the entailments which follow.
Example 33 (entailment) |
---|
<cause> rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf skos:related . <effect> rdf:type owl:ObjectProperty ; rdfs:subPropertyOf skos:related ; owl:inverseOf <cause> . <A> <cause> <B> . entails
<A> skos:related <B> .
<B> <effect> <A> ; skos:related <A> . |
See also the @@Primer for best practice recommendations on extending SKOS.
Note that skos:related
is not a transitive
property. Therefore, the SKOS data model does not support an
entailment as illustrated in the example below.
Example 34 (non-entailment) |
---|
<A> skos:related <B> .
<B> skos:related <C> . does not entail
<A> skos:related <C> .
|
Note that this specification does not state that skos:related
is a reflexive property, neither does it
state that skos:related
is an irreflexive property.
Because skos:related
is not defined as an
irreflexive property, the graph below is consistent with the
SKOS data model.
Example 35 (consistent) |
---|
<A> skos:related <A> .
|
However, for many applications that use knowledge organization systems,
statements of the form X skos:related
X are a potential problem.
Where this is the case, an application may wish to search for such statements
prior to processing SKOS data, although how an application should handle such
statements is not defined in this specification and may vary between
applications.
Note that skos:broader
is not a transitive
property. Similarly, skos:narrower
is not a
transitive property. Therefore, the SKOS data model does not
support an entailment as illustrated in the example below.
Example 36 (non-entailment) |
---|
<A> skos:broader <B> .
<B> skos:broader <C> . does not entail
<A> skos:broader <C> .
|
However, skos:broader
is a sub-property of
skos:broaderTransitive
, which is a transitive
property. Similarly, skos:narrower
is a sub-property of
skos:narrowerTransitive
, which is a transitive
property. Therefore the SKOS data model does support the
entailment illustrated below.
Example 37 (entailment) |
---|
<A> skos:broader <B> .
<B> skos:broader <C> . entails
<A> skos:broaderTransitive <C> .
|
Note especially that, by convention, skos:broader
and
skos:narrower
are only used to assert immediate
(i.e. direct) hierarchical links between two SKOS concepts. By convention,
skos:broaderTransitive
and skos:narrowerTransitive
are not used to make assertions, but are instead used only
to draw inferences.
This pattern allows the information about direct hierarchical links to be preserved, which is necessary for many tasks (e.g. building various types of visual representation of a knowledge organization system), whilst also providing a mechanism for conveniently querying the transitive closure of those hierarchical links, which is useful in other situations (e.g. simple query expansion algorithms).
Note also that a sub-property of a transitive property is not necessarily transitive.
See also the note on alternate paths below.
Note that this specification makes no statements regarding the reflexive
characteristics of the skos:broader relationship. It does not state that
skos:broader
is a reflexive property,
neither does it state that skos:broader
is an
irreflexive property. Thus for any graph and resource <A>
,
the triple:
Example 38 (consistent) |
---|
<A> skos:broader <A> .
|
may or may not be present. This conservative position allows SKOS to be
used to model both KOS where the interpretation of skos:broader
is reflexive (e.g. a direct translation of an inferred OWL subclass
hierarchy), or KOS where skos:broader
could be considered
irreflexive (as would be appropriate for most thesauri or classification
schemes).
Similarly, there are no assertions made as to the reflexivity or
irreflexivity of skos:narrower
.
However, for many applications that use knowledge organization systems,
statements of the form X skos:broader
X or Y
skos:narrower
Y represent a potential problem. Where this is the
case, an application may wish to search for such statements prior to
processing SKOS data, although how an application should handle such
statements is not defined in this specification and may vary between
applications.
In the graph below, a cycle has been stated in the hierarchical relation.
Note that this graph is consistent with the SKOS data model.
I.e. there is no condition requiring that
skos:broaderTransitive
be irreflexive.
Example 39 (consistent) |
---|
<A> skos:broader <B> .
<B> skos:broader <A> . |
However, for many applications where knowledge organization systems are
used, a cycle in the hierarchical relation represents a potential problem.
For these applications, computing the transitive closure of
skos:broaderTransitive
then looking for statements of the form
X
skos:broaderTransitive
X is a
convenient strategy for finding cycles in the hierarchical relation. How an
application should handle such statements is not defined in this
specification and may vary between applications.
In the graph below, there are two alternate paths from A to C in the hierarchical relation.
Example 40 (consistent) |
---|
<A> skos:broader <B> , <C> .
<B> skos:broader <C> . |
In the graph below, there are two alternate paths from A to D in the hierarchical relation.
Example 41 (consistent) |
---|
<A> skos:broader <B> , <C> .
<B> skos:broader <D> . <C> skos:broader <D> . |
This is a pattern which arises naturally in "poly-hierarchical" knowledge organization systems.
Both of these graphs are consistent with the SKOS data model. I.e. there is no condition requiring that there be only one path between any two nodes in the hierarchical relation.
This specification treats the hierarchical and associative relations as fundamentally distinct in nature, and that therefore a "clash" between hierarchical and associative links is not consistent with the SKOS data model. The examples above illustrate some situations in which a "clash" is seen to arise.
This position follows the usual definitions given to hierarchical and associative relations in thesaurus standards [@@REF-ISO2788] [@@REF-BS8273-2], and supports common practice in many existing knowledge organization systems.
Note that this specification takes the stronger position that, not only
are the immediate (i.e. direct) hierarchical and associative links disjoint,
but associative links are also disjoint with indirect hierarchical
links. This is captured formally in the integrity condition asserting that
skos:related
and skos:broaderTransitive
are
disjoint properties.
SKOS concept collections are labeled and/or ordered groups of SKOS concepts.
Collections are useful where a group of concepts shares something in common, and it is convenient to group them under a common label, or where some concepts can be placed in a meaningful order.
skos:Collection |
skos:OrderedCollection |
skos:member |
skos:memberList |
S26 | skos:Collection and
skos:OrderedCollection are each instances of
owl:Class . |
S27 | skos:OrderedCollection is a sub-class of
skos:Collection . |
S28 | skos:member and skos:memberList are each
instances of owl:ObjectProperty . |
S29 | The rdfs:domain of skos:member is the
class skos:Collection . |
S30 | The rdfs:domain of skos:memberList is the
class skos:OrderedCollection . |
S31 | The rdfs:range of skos:memberList is the
class rdf:List . |
S32 | skos:memberList is an instance of
owl:FunctionalProperty . |
S33 | For any resource, every item in the list given as the value of the
skos:memberList property is also a value of the
skos:member property. |
S34 | skos:Collection is disjoint with each of
skos:Concept and skos:ConceptScheme . |
The graph below illustrates a SKOS collection with 3 members.
Example 42 (consistent) |
---|
<MyCollection> rdf:type skos:Collection ;
skos:member <X> , <Y> , <Z> . |
The graph below illustrates an ordered SKOS collection with 3 members.
Example 43 (consistent) |
---|
<MyOrderedCollection> rdf:type skos:OrderedCollection ;
skos:memberList ( <X> <Y> <Z> ) . |
Statement S33 states the logical relationship between the
skos:memberList
and skos:member
properties. This
relationship means that a collection can be inferred from an ordered
collection. This is illustrated in the example below.
Example 44 (entailment) |
---|
<MyOrderedCollection> rdf:type skos:OrderedCollection ;
skos:memberList ( <X> <Y> <Z> ) . entails
<MyOrderedCollection> rdf:type skos:Collection ;
skos:member <X> , <Y> , <Z> . |
Note that SKOS does not provide any way to explicitly state that a collection is not ordered.
Note that skos:memberList
is a functional property, i.e. it
does not have more than one value. This is intended to capture within the
SKOS data model that it doesn't make sense for an ordered collection to have
more than one member list. Unfortunately, there is no way to use this
condition as an integrity constraint without explicitly stating that two
lists are different objects. In other words, although the graph below is
consistent with the SKOS data model, it entails nonsense (a
list with two first elements and a forked tail).
Example 45 (entailment) |
---|
<FooOrderedCollection>
skos:memberList ( <A> <B> ) , ( <X> <Y> ) . entails
<FooOrderedCollection>
skos:memberList [ rdf:first <A> , <X> ; rdf:rest [ rdf:first <B> ; rdf:rest rdf:nil ] , [ rdf:first <Y> ; rdf:rest rdf:nil ] . |
In the example below, a collection is nested within another collection.
Example 46 (consistent) |
---|
<MyCollection> rdf:type skos:Collection ;
skos:member <A> , <B> , <MyNestedCollection> . <MyNestedCollection> rdf:type skos:Collection ; skos:member <X> , <Y> , <Z> . |
This example is consistent with the SKOS data model.
In the SKOS data model, skos:Concept
and
skos:Collection
are disjoint classes. The domain and range of
the SKOS semantic relation properties is skos:Concept
.
Therefore, if any of the SKOS semantic relation properties (e.g.
skos:narrower
) are used to link to or from a collection, the
graph will not be consistent with the SKOS data model.
This is illustrated in the example below, which is not consistent with the SKOS data model.
Example 47 (not consistent) |
---|
<A> skos:narrower <B> .
<B> rdf:type skos:Collection . |
Similarly, the graph below is not consistent with the SKOS data model.
Example 48 (not consistent) |
---|
<A> skos:broader <B> .
<B> rdf:type skos:Collection . |
Similarly, the graph below is not consistent with the SKOS data model.
Example 49 (not consistent) |
---|
<A> skos:related <B> .
<B> rdf:type skos:Collection . |
However, the graph below is consistent with the SKOS data model.
Example 50 (consistent) |
---|
<A> skos:narrower <B> , <C> , <D> .
<FooCollection> rdfs:label "Foo Collection"@en ; skos:member <B> , <C> , <D> . |
This means that, for thesauri and other knowledge organization systems where "node labels" are used within the systematic display for that thesaurus, the appropriate SKOS representation requires careful consideration. Furthermore, where "node labels" are used in the systematic display, it may not always be possible to fully reconstruct the systematic display from a SKOS representation alone. Fully representing all of the information represented in a systematic display of a thesaurus or other knowledge organization system, including details of layout and presentation, is beyond the scope of SKOS.
The SKOS mapping properties are skos:exactMatch
,
skos:broadMatch
, skos:narrowMatch
and
skos:relatedMatch
. These properties are used to state mapping
(alignment) links between concepts in different concept schemes, where the
links are inherent in the meaning of the linked concepts.
The property skos:exactMatch
is used to link two concepts
that are sufficiently similar that they can be used interchangeably in an
information retrieval application.
The properties skos:broadMatch
and
skos:narrowMatch
are used to state a hierarchical mapping link
between two concepts.
The property skos:relatedMatch
is used to state an
associative mapping link between two concepts.
See also the notes below.
skos:mappingRelation |
skos:exactMatch |
skos:broadMatch |
skos:narrowMatch |
skos:relatedMatch |
S35 | skos:mappingRelation , skos:exactMatch ,
skos:broadMatch , skos:narrowMatch and
skos:relatedMatch are each instances of
owl:ObjectProperty . |
S36 | The rdfs:domain of skos:mappingRelation
is the class skos:Concept . |
S37 | The rdfs:range of skos:mappingRelation is
the class skos:Concept |
S38 | skos:exactMatch , skos:broadMatch ,
skos:narrowMatch and skos:relatedMatch are
each sub-properties of skos:mappingRelation . |
S39 | skos:broadMatch is a sub-property of
skos:broader , skos:narrowMatch is a
sub-property of skos:narrower , and
skos:relatedMatch is a sub-property of
skos:related . |
S40 | skos:narrowMatch is the owl:inverseOf the
property skos:broadMatch . |
S41 | skos:relatedMatch is an instance of
owl:SymmetricProperty . |
S42 | skos:exactMatch is an instance of
owl:SymmetricProperty . |
The graph below asserts an exact mapping link between
<A>
and <B>
.
Example 51 (consistent) |
---|
<A> skos:exactMatch <B> .
|
The graph below asserts a hierarchical mapping link between
<A>
and <B>
(where
<B>
is broader than <A>
), and an
associative mapping link between <A>
and
<C>
.
Example 52 (consistent) |
---|
<A> skos:broadMatch <B> ; skos:relatedMatch <C>
.
|
By convention, the SKOS mapping properties are only used to link concepts
in different concept schemes. However, note that using the
SKOS semantic relation properties (skos:broader
,
skos:narrower
, skos:related
) to link concepts in
different concept schemes is also
consistent with the SKOS data model (see Section 8).
The mapping properties skos:broadMatch
,
skos:narrowMatch
and skos:relatedMatch
are provided
as a convenience, for situations where the provenance of data is known, and
it is useful to be able to tell "at a glance" the difference between internal
links within a concept scheme and mapping links between concept schemes.
However, using the SKOS mapping properties is no substitute for the careful management of RDF graphs or the use of provenance mechanisms.
The rationale behind this design is that it is hard to draw an absolute distinction between internal links within a concept scheme and mapping links between concept schemes. This is especially true in an open environment where different people might re-organise concepts into concept schemes in different ways. What one person views as two concept schemes with mapping links between, another might view as one single concept scheme with internal links only. This specification allows both points of view to co-exist, which (it is hoped) will promote flexibility and innovation in the re-use of SKOS data in the Web.
There is therefore an intimate connection between the SKOS semantic
relation properties and the SKOS mapping properties. The property
skos:broadMatch
is a sub-property of skos:broader
,
skos:narrowMatch
is a sub-property of
skos:narrower
, and skos:relatedMatch
is a
sub-property of skos:related
. The full set of sub-property
relationships is illustrated below.
skos:semanticRelation | +- skos:related | | | +- skos:relatedMatch | +- skos:broaderTransitive | | | +— skos:broader | | | +- skos:broadMatch | +— skos:narrowerTransitive | +- skos:narrower | +- skos:narrowMatch skos:mappingRelation | +- skos:exactMatch | +- skos:relatedMatch | +- skos:broadMatch | +- skos:narrowMatch
Examples below illustrate some entailments which follow from this sub-property tree.
Example 53 (entailment) |
---|
<A> skos:broadMatch <B> .
entails
<A> skos:broader <B> .
<A> skos:broaderTransitive <B> . <A> skos:semanticRelation <B> . <A> skos:mappingRelation <B> . |
Example 54 (entailment) |
---|
<A> skos:narrowMatch <B> .
entails
<A> skos:narrower <B> .
<A> skos:narrowerTransitive <B> . <A> skos:semanticRelation <B> . <A> skos:mappingRelation <B> . |
Example 55 (entailment) |
---|
<A> skos:relatedMatch <B> .
entails
<A> skos:related <B> .
<A> skos:semanticRelation <B> . <A> skos:mappingRelation <B> . |
Note also that, because different people might re-organise concepts into concept schemes in different ways, a graph might assert mapping links between concepts in the same concept scheme, and there are no formal integrity conditions in the SKOS data model that would make such a graph inconsistent. E.g. the graph below is consistent with the SKOS data model. However, in practice it is expected that such a graph would only ever arise from the merge of two or more graphs from different sources.
Example 56 (consistent) |
---|
<A> skos:broadMatch <B> ; skos:relatedMatch <C>
.
<A> skos:inScheme <MyScheme> . <B> skos:inScheme <MyScheme> . <C> skos:inScheme <MyScheme> . |
Examples below illustrate "clashes" between hierarchical and associative mapping links, which are not consistent with the SKOS data model (because of the sub-property relationships illustrated above, and because of the data model for SKOS semantic relation properties defined in Section 8).
Example 57 (not consistent) |
---|
<A> skos:broadMatch <B> ; skos:relatedMatch <B>
.
|
Example 58 (not consistent) |
---|
<A> skos:narrowMatch <B> ; skos:relatedMatch <B>
.
|
Example 59 (not consistent) |
---|
<A> skos:broadMatch <B> .
<B> skos:broadMatch <C> . <A> skos:relatedMatch <C> . |
None of the SKOS mapping properties are transitive properties. Therefore, entailments as illustrated in examples below are not supported by the SKOS data model.
Example 60 (non-entailment) |
---|
<A> skos:exactMatch <B> .
<B> skos:exactMatch <C> . does not entail
<A> skos:exactMatch <C> .
|
Example 61 (non-entailment) |
---|
<A> skos:broadMatch <B> .
<B> skos:broadMatch <C> . does not entail
<A> skos:broadMatch <C> .
|
Example 62 (non-entailment) |
---|
<A> skos:relatedMatch <B> .
<B> skos:relatedMatch <C> . does not entail
<A> skos:relatedMatch <C> .
|
Editors' note: The Working Group has recognized that it might be reasonable and useful to define skos:exactMatch as a transitive property. This is recorded as ISSUE-72 in the Working Group's issue process. Comments on this issue are invited, and should be sent in an email to the SWD Working Group mailing list (public-swd-wg@w3.org), starting the subject line with "Comment: ISSUE-72".
None of the SKOS mapping properties are reflexive, neither are they irreflexive.
Because skos:exactMatch
, skos:broadMatch
and
skos:relatedMatch
are not
irreflexive, the graph below is consistent
with the SKOS data model.
Example 63 (consistent) |
---|
<A> skos:exactMatch <A> .
<B> skos:broadMatch <B> . <C> skos:relatedMatch <C> . |
However, see also Section 8. on the reflexivity of SKOS semantic relation properties.
The property skos:exactMatch
is not disjoint
with any of the other mapping properties. Therefore the graph below is
consistent with the SKOS data model.
Example 64 (consistent) |
---|
<A> skos:exactMatch <B> ; skos:broadMatch <B> ;
skos:exactMatch <C> ; skos:relatedMatch <C> . |
Editors' note: Intuitively, an exact mapping link asserts something fundamentally different from a hierarchical or associative mapping link. Therefore, it might be reasonable and useful to define skos:exactMatch as disjoint with skos:broadMatch (or skos:broader), and disjoint with skos:relatedMatch (or skos:related). This is recorded as ISSUE-73 in the Working Group's issue process. Comments on this issue are invited, and should be sent in an email to the SWD Working Group mailing list (public-swd-wg@w3.org), starting the subject line with "Comment: ISSUE-73".
There are no formal integrity conditions preventing either cycles or alternate paths in a graph of hierarchical mapping links.
In the graph below there are two cycles involving
skos:broadMatch
. This graph is consistent with
the SKOS data model.
Example 65 (consistent) |
---|
<A> skos:broadMatch <B> .
<B> skos:broadMatch <A> . <X> skos:broadMatch <Y> . <Y> skos:broadMatch <Z> . <Z> skos:broadMatch <X> . |
In the graph below there are two alternate paths involving
skos:broadMatch
. This graph is consistent with
the SKOS data model.
Example 66 (consistent) |
---|
<A> skos:broadMatch <B> .
<B> skos:broadMatch <C> . <A> skos:broadMatch <C> . |
See however Section 8. on cycles and
alternate paths involving skos:broader
.
There are no property chain axioms in the SKOS data model involving the
skos:exactMatch
property. Hence the entailments illustrated
below are not supported.
Example 67 (non-entailment) |
---|
<A> skos:exactMatch <B> .
<B> skos:broadMatch <C> . does not entail
<A> skos:broadMatch <C> .
|
Example 68 (non-entailment) |
---|
<A> skos:exactMatch <B> .
<B> skos:relatedMatch <C> . does not entail
<A> skos:relatedMatch <C> .
|
Editors' note: Whether any property chain axioms could reasonably be defined for skos:exactMatch is under discussion within the Working Group. This is recorded as ISSUE-75 in the Working Group's issue process. Comments on this issue are invited, and should be sent in an email to the SWD Working Group mailing list (public-swd-wg@w3.org), starting the subject line with "Comment: ISSUE-75".
OWL provides three properties which might, at first glance, appear similar
to skos:exactMatch
. owl:sameAs
is used to link to
individuals in an ontology, and indicates that they are the same individual
(i.e. the same resource). owl:equivalentClass
is used to link
two classes in an ontology, and indicates that those classes have the same
class extension. owl:equivalentProperty
is used to link two
properties in an ontology and indicates that both properties have the same
property extension.
skos:exactMatch
is used to link two SKOS concepts. It is
typically used to indicate that two concepts are sufficiently similar that
they can be used interchangeably in an information retrieval application.
owl:sameAs
, owl:equivalentClass
or
owl:equivalentProperty
would typically be inappropriate for
linking SKOS concepts in different concept schemes, because the formal
consequences that follow could be undesirable.
The example below illustrates some undesirable entailments that would
follow from using owl:sameAs
in this way.
Example 69 (entailment) |
---|
<A> rdf:type skos:Concept ;
skos:prefLabel "foo"@en ; skos:inScheme <MyScheme> . <B> rdf:type skos:Concept ; skos:prefLabel "bar"@en ; skos:inScheme <AnotherScheme> . <A> owl:sameAs <B> . entails
<A>
skos:prefLabel "foo"@en ; skos:prefLabel "bar"@en ; skos:inScheme <MyScheme> ; skos:inScheme <AnotherScheme> . <B> skos:prefLabel "foo"@en ; skos:prefLabel "bar"@en ; skos:inScheme <MyScheme> ; skos:inScheme <AnotherScheme> . |
In this example, using owl:sameAs
to link two SKOS concepts
in different concept schemes does actually lead to an inconsistency with the
SKOS data model, because both <A>
and
<B>
now have two preferred lexical labels in the same
language. This will not always be the case, however. Generally speaking,
using owl:sameAs
in this way will lead to inappropriate
inferences, which may sometimes (but not always) be detectable by checking
consistency with the SKOS data model.
@@TODO
This appendix defines an OPTIONAL extension to the Simple Knowledge Organization System, called the SKOS eXtension for Labels (XL). This extension provides additional support for identifying, describing and linking lexical entities.
A special class of lexical entities, called xl:Label
, is
defined. Each instance of this class has a single RDF plain literal form, but
two instances of this class are not necessarily the same individual if they
share the same literal form.
Three labeling properties, xl:prefLabel
,
xl:altLabel
and xl:hiddenLabel
, are defined. These
properties are used to label SKOS concepts with instances of
xl:Label
, and are otherwise analogous to the properties of the
same local name defined in SKOS (skos:prefLabel
,
skos:altLabel
and skos:hiddenLabel
respectively).
A property xl:labelRelation
is defined. This property can be
used to assert a direct (binary) link between instances of
xl:Label
. It is primarily intended as an extension point, to be
refined for more specific types of link. No built-in refinements of
xl:labelRelation
are provided, although some examples of how
this could be done are given.
The XL namespace URI is:
Here the prefix xl:
is used as an abbreviation for the XL
namespace URI.
The XL vocabulary is the set of URIs given in the left-hand column of the table below.
URI | Defined by (section of this appendix) |
---|---|
xl:Label |
The xl:Label Class |
xl:literalForm |
The xl:Label Class |
xl:prefLabel |
Preferred, Alternate and Hidden xl:Labels |
xl:altLabel |
Preferred, Alternate and Hidden xl:Labels |
xl:hiddenLabel |
Preferred, Alternate and Hidden xl:Labels |
xl:labelRelation |
Links Between xl:Labels |
Here "the SKOS+XL vocabulary" refers to the union of the SKOS vocabulary and the XL vocabulary.
Here "the XL data model" refers to the class and property definitions stated in this appendix only. "The SKOS+XL data model" refers to the union of the data model defined in sections 3-10 above and the XL data model.
The class xl:Label
is a special class of lexical entities.
An instance of the class xl:Label
is a resource and may be
named with a URI.
An instance of the class xl:Label
has a single literal form.
This literal form is an RDF plain literal (which is a string of UNICODE
characters and an optional language tag [@@REF-RDF-CONCEPTS]). The property
xl:literalForm
is used to give the literal form of an
xl:Label
.
If two instances of the class xl:Label
have the same literal
form, they are not necessarily the same resource.
S43 | xl:Label is an instance of owl:Class . |
S44 | xl:Label is disjoint with each of
skos:Concept , skos:ConceptScheme and
skos:Collection . |
S45 | xl:literalForm is an instance of
owl:DatatypeProperty . |
S46 | The rdfs:domain of xl:literalForm is the
class xl:Label . |
S47 | The rdfs:range of xl:literalForm is the
class of RDF plain literals. |
S48 | xl:literalForm is an instance of
owl:FunctionalProperty . |
The example below describes an xl:Label
named with the URI
<http://example.com/ns/A>
, with the literal form "foo" in
English.
Example 70 (consistent) |
---|
<A> rdf:type xl:Label ; xl:literalForm "foo"@en .
|
The four examples below are each not consistent with the
XL data model, because an xl:Label
is described with two
different literal forms.
Example 71 (not consistent) |
---|
<B> rdf:type xl:Label ; xl:literalForm "foo" ; xl:literalForm
"bar" .
|
Example 72 (not consistent) |
---|
<B> rdf:type xl:Label ; xl:literalForm "foo"@en ;
xl:literalForm "foo"@fr .
|
Example 73 (not consistent) |
---|
<B> rdf:type xl:Label ; xl:literalForm "foo"@en-GB ;
xl:literalForm "foo"@en-US .
|
Example 74 (not consistent) |
---|
<B> rdf:type xl:Label ; xl:literalForm "東"@ja-Hani ;
xl:literalForm "ひがし"@ja-Hira .
|
As stated above, each instance of the class xl:Label
has
one and only one literal form. In other words, there is a
function mapping the class extension of xl:Label
to the set of
RDF plain literals. This function is defined by the property extension of
xl:literalForm
. Note especially two facts about this function.
First, the function is not injective. In other words,
there is not a one-to-one mapping from instances of
xl:Label
to the set of RDF plain literals (in fact it is
many-to-one). This means that two instances of xl:Label
which
have the same literal form are not necessarily the same
individual. So, for example, the entailment illustrated below is
not supported by the XL data model.
Example 75 (non-entailment) |
---|
<A> xl:literalForm "foo"@en .
<B> xl:literalForm "foo"@en . does not entail
<A> owl:sameAs <B> .
|
Second, the function is not surjective. In other words,
there may be no instances of xl:Label
with a
literal form corresponding to a given plain literal.
The membership of an instance of xl:Label
within a SKOS
concept scheme can be asserted using the skos:inScheme
property.
Example 76 (consistent) |
---|
<A> rdf:type xl:Label ; xl:literalForm "foo"@en ; skos:inScheme
<MyScheme> .
|
The three properties xl:prefLabel
, xl:altLabel
and xl:hiddenLabel
are used to give the preferred, alternate and
hidden labels of a resource respectively, where those labels are instances of
the class xl:Label
. These properties are analogous to the
properties of the same local name defined in the SKOS vocabulary, and there
are logical dependencies between these two sets of properties defined
below.
S49 | xl:prefLabel , xl:altLabel and
xl:hiddenLabel are each instances of
owl:ObjectProperty . |
S50 | The rdfs:range of each of xl:prefLabel ,
xl:altLabel and xl:hiddenLabel is the class
xl:Label . |
S51 | The property chain (xl:prefLabel ,
xl:literalForm ) is a sub-property of
skos:prefLabel . |
S52 | The property chain (xl:altLabel ,
xl:literalForm ) is a sub-property of
skos:altLabel . |
S53 | The property chain (xl:hiddenLabel ,
xl:literalForm ) is a sub-property of
skos:hiddenLabel . |
The example below illustrates the use of all three XL labeling properties, and is consistent with the SKOS+XL data model.
Example 77 (consistent) |
---|
<foo>
xl:prefLabel <bar> ; xl:altLabel <baz> ; xl:hiddenLabel <qux> . <bar> rdf:type xl:Label ; xl:literalForm "bar"@en . <baz> rdf:type xl:Label ; xl:literalForm "baz"@en . <qux> rdf:type xl:Label ; xl:literalForm "qux"@en . |
The property chain axioms S51-S53 support the "dumbing-down" of XL labels to vanilla SKOS lexical labels via inference. This is illustrated in the example below.
Example 78 (entailment) |
---|
<foo>
xl:prefLabel <bar> ; xl:altLabel <baz> ; xl:hiddenLabel <qux> . <bar> rdf:type xl:Label ; xl:literalForm "bar"@en . <baz> rdf:type xl:Label ; xl:literalForm "baz"@en . <qux> rdf:type xl:Label ; xl:literalForm "qux"@en . entails
<foo>
skos:prefLabel "bar"@en ; skos:altLabel "baz"@en ; skos:hiddenLabel "qux"@en . |
Note the two integrity conditions on the SKOS labeling properties defined
in Section 5. First, the properties
skos:prefLabel
, skos:altLabel
and
skos:hiddenLabel
are pairwise disjoint. Second, a resource has
no more than one value of skos:prefLabel
per language. Because
of the property chain axioms defined above, the following four examples,
whilst consistent w.r.t. the XL data model alone, are not
consistent with the SKOS+XL data model.
Example 79 (not consistent) |
---|
# Two different preferred labels in the same language
<foo> xl:prefLabel <A> ; xl:prefLabel <B> . <A> xl:literalForm "foo"@en . <B> xl:literalForm "bar"@en . |
Example 80 (not consistent) |
---|
# "Clash" between preferred and alternate labels
<foo> xl:prefLabel <A> ; xl:altLabel <B> . <A> xl:literalForm "foo"@en . <B> xl:literalForm "foo"@en . |
Example 81 (not consistent) |
---|
# "Clash" between alternate and hidden labels
<foo> xl:altLabel <A> ; xl:hiddenLabel <B> . <A> xl:literalForm "foo"@en . <B> xl:literalForm "foo"@en . |
Example 82 (not consistent) |
---|
# "Clash" between preferred and hidden labels
<foo> xl:prefLabel <A> ; xl:hiddenLabel <B> . <A> xl:literalForm "foo"@en . <B> xl:literalForm "foo"@en . |
This section defines a pattern for representing binary links between
instances of the class xl:Label
.
Note that the vocabulary defined in this section is not intended to be used directly, but rather as an extension point which can be refined for more specific labeling scenarios.
S54 | xl:labelRelation is an instance of
owl:ObjectProperty . |
S55 | The rdfs:domain of xl:labelRelation is
the class xl:Label . |
S56 | The rdfs:range of xl:labelRelation is the
class xl:Label . |
S57 | xl:labelRelation is an instance of
owl:SymmetricProperty . |
The example below illustrates a link between two instances of the class
xl:Label
.
Example 83 (consistent) |
---|
<A> rdf:type xl:Label ; xl:literalForm "foo" .
<B> rdf:type xl:Label ; xl:literalForm "bar" . <A> xl:labelRelation <B> . |
As mentioned above, the xl:labelRelation
property serves as
an extension point, which can be refined for more specific labeling
scenarios.
For example, below a third party has refined the property
skos:labelRelation
to express acronym relationships, and used it
to express the fact that "FAO" is an acronym for "Food and Agriculture
Organization".
Example 84 (consistent) |
---|
# First define an extension to xl:labelRelation
ex:acronym rdfs:subPropertyOf xl:labelRelation . # Now use it <A> rdf:type xl:Label ; xl:literalForm "FAO"@en . <B> rdf:type xl:Label ; xl:literalForm "Food and Agriculture Organization"@en . <B> ex:acronym <A> . |
Note that a sub-property of a symmetric property is not necessarily symmetric.
skos:Collection | |
---|---|
URI: | http://www.w3.org/2008/05/skos#Collection |
Definition: | Section 9. Concept Collections |
Disjoint classes: | skos:ConceptScheme skos:Concept |
skos:Concept | |
URI: | http://www.w3.org/2008/05/skos#Concept |
Definition: | Section 3. The skos:Concept
Class |
Disjoint classes: | skos:Collection skos:ConceptScheme |
skos:ConceptScheme | |
URI: | http://www.w3.org/2008/05/skos#ConceptScheme |
Definition: | Section 4. Concept Schemes |
Disjoint classes: | skos:Concept skos:Collection |
skos:OrderedCollection | |
URI: | http://www.w3.org/2008/05/skos#OrderedCollection |
Definition: | Section 9. Concept Collections |
Super-classes: | skos:Collection |
skos:altLabel | |
---|---|
URI: | http://www.w3.org/2008/05/skos#altLabel |
Definition: | Section 5. Lexical Labels |
skos:broadMatch | |
URI: | http://www.w3.org/2008/05/skos#broadMatch |
Definition: | Section 10. Mapping Properties |
Super-properties: | skos:broader skos:mappingRelation |
Inverse of: | skos:narrowMatch |
skos:broader | |
URI: | http://www.w3.org/2008/05/skos#broader |
Definition: | Section 8. Semantic Relations |
Super-properties: | skos:broaderTransitive |
Inverse of: | skos:narrower |
skos:broaderTransitive | |
URI: | http://www.w3.org/2008/05/skos#broaderTransitive |
Definition: | Section 8. Semantic Relations |
Super-properties: | skos:semanticRelation |
Inverse of: | skos:narrowerTransitive |
Other characteristics: | Transitive |
skos:changeNote | |
URI: | http://www.w3.org/2008/05/skos#changeNote |
Definition: | Section 7. Documentation Properties |
Super-properties: | skos:note |
skos:definition | |
URI: | http://www.w3.org/2008/05/skos#definition |
Definition: | Section 7. Documentation Properties |
Super-properties: | skos:note |
skos:editorialNote | |
URI: | http://www.w3.org/2008/05/skos#editorialNote |
Definition: | Section 7. Documentation Properties |
Super-properties: | skos:note |
skos:exactMatch | |
URI: | http://www.w3.org/2008/05/skos#exactMatch |
Definition: | Section 10. Mapping Properties |
Super-properties: | skos:mappingRelation |
Other characteristics: | Symmetric |
skos:example | |
URI: | http://www.w3.org/2008/05/skos#example |
Definition: | Section 7. Documentation Properties |
Super-properties: | skos:note |
skos:hasTopConcept | |
URI: | http://www.w3.org/2008/05/skos#hasTopConcept |
Definition: | Section 4. Concept Schemes |
Domain: | skos:ConceptScheme |
Range: | skos:Concept |
URI: | http://www.w3.org/2008/05/skos#hiddenLabel |
Definition: | Section 5. Lexical Labels |
skos:historyNote | |
URI: | http://www.w3.org/2008/05/skos#historyNote |
Definition: | Section 7. Documentation Properties |
Super-properties: | skos:note |
skos:inScheme | |
URI: | http://www.w3.org/2008/05/skos#inScheme |
Definition: | Section 4. Concept Schemes |
Range: | skos:ConceptScheme |
skos:mappingRelation | |
URI: | http://www.w3.org/2008/05/skos#mappingRelation |
Definition: | Section 10. Mapping Properties |
Domain: | skos:Concept |
Range: | skos:Concept |
skos:member | |
URI: | http://www.w3.org/2008/05/skos#member |
Definition: | Section 9. Concept Collections |
Domain: | skos:Collection |
skos:memberList | |
URI: | http://www.w3.org/2008/05/skos#memberList |
Definition: | Section 9. Concept Collections |
Domain: | skos:OrderedCollection |
Range: | http://www.w3.org/1999/02/22-rdf-syntax-ns#List |
Other characteristics: | Functional |
skos:narrowMatch | |
URI: | http://www.w3.org/2008/05/skos#narrowMatch |
Definition: | Section 10. Mapping Properties |
Super-properties: | skos:mappingRelation skos:narrower |
Inverse of: | skos:broadMatch |
skos:narrower | |
URI: | http://www.w3.org/2008/05/skos#narrower |
Definition: | Section 8. Semantic Relations |
Super-properties: | skos:narrowerTransitive |
Inverse of: | skos:broader |
skos:narrowerTransitive | |
URI: | http://www.w3.org/2008/05/skos#narrowerTransitive |
Definition: | Section 8. Semantic Relations |
Super-properties: | skos:semanticRelation |
Inverse of: | skos:broaderTransitive |
Other characteristics: | Transitive |
skos:notation | |
URI: | http://www.w3.org/2008/05/skos#notation |
Definition: | Section 6. Notations |
skos:note | |
URI: | http://www.w3.org/2008/05/skos#note |
Definition: | Section 7. Documentation Properties |
skos:prefLabel | |
URI: | http://www.w3.org/2008/05/skos#prefLabel |
Definition: | Section 5. Lexical Labels |
skos:related | |
URI: | http://www.w3.org/2008/05/skos#related |
Definition: | Section 8. Semantic Relations |
Super-properties: | skos:semanticRelation |
Other characteristics: | Symmetric |
skos:relatedMatch | |
URI: | http://www.w3.org/2008/05/skos#relatedMatch |
Definition: | Section 10. Mapping Properties |
Super-properties: | skos:mappingRelation skos:related |
Other characteristics: | Symmetric |
skos:scopeNote | |
URI: | http://www.w3.org/2008/05/skos#scopeNote |
Definition: | Section 7. Documentation Properties |
Super-properties: | skos:note |
skos:semanticRelation | |
URI: | http://www.w3.org/2008/05/skos#semanticRelation |
Definition: | Section 8. Semantic Relations |
Domain: | skos:Concept |
Range: | skos:Concept |
The SKOS Data Model as RDF Triples can be found at http://www.w3.org/2008/05/skos.
Note that it is not possible to express all of the statements of the SKOS data model as RDF triples.
The SKOS eXtension for Labels (XL) Data Model as RDF Triples can be found at http://www.w3.org/2008/05/skos-xl.
Note also that it is not possible to express all of the statements of the XL data model as RDF triples.
—- Change Log —- $Log: Overview.html,v $ Revision 1.9 2018/10/09 13:20:05 denis fix validation of xhtml documents Revision 1.8 2017/10/02 10:36:36 denis add fixup.js to old specs Revision 1.7 2008/06/06 17:54:02 swick Expand one link (in Abstract) to the SKOS Primer. Revision 1.6 2008/06/06 17:49:05 swick @@ not valid in ID Revision 1.5 2008/06/06 17:46:09 swick No @@TODO external document Revision 1.4 2008/06/06 17:43:31 swick Quiet link checker a bit Revision 1.3 2008/06/06 17:24:00 swick Update SOTD, closer to pubrules-OK Revision 1.2 2008/06/06 14:57:12 swick Prepare for pubrules Revision 1.1 2008/06/06 14:52:16 swick Copied from /2006/07/SWD/SKOS/reference/20080603/ Revision 1.7 2008/06/04 20:52:54 ajm65 Added changes section. Revision 1.6 2008/06/04 20:39:31 ajm65 No changes, only whitespace? Revision 1.5 2008/06/04 20:35:58 ajm65 Fixed heading numbering for appendices. Revision 1.4 2008/06/04 16:39:02 ajm65 Removed mention of skos:LabelRelation from statement S34 Revision 1.3 2008/06/04 16:13:10 ajm65 Fixed topmost headings and page title. Revision 1.2 2008/06/04 16:11:29 ajm65 Sorted header section and CVS log. Revision 1.1 2008/06/04 16:08:16 ajm65 Copy of master.html rev 1.63