RDF Schema
Encyclopedia : R : RD : RDF : RDF Schema
RDFS or RDF Schema is an extensible knowledge representation language, providing basic elements for the definition of ontologies, otherwise called RDF vocabularies, intended to structure RDF resources. The [first version] was proposed in March 1999, and the [final] W3C recommendation was released in February 2004. Main RDFS components are included in the more expressive language OWL.
Main RDFS constructs
Classes and subclasses
- rdfs:Class allows to declare a resource as a class for other resources.
ex:John rdf:type foaf:Person
The definition of rdfs:Class is recursive : rdfs:Class is the rdfs:Class of any rdfs:Class.
- rdfs:subClassOf allows to declare hierarchies of classes.
foaf:Person rdfs:subClassOf foaf:Agent
Hierarchies of classes support inheritance of a property domain and range (see definitions in next section) from a class to its subclasses.
Property domain and range
- rdfs:domain of a rdf:property declares the class of the subject in a triple using this property as predicate.
- rdfs:range of a rdf:property declares the class or datatype of the object in a triple using this property as predicate.
ex:employer rdfs:domain foaf:Person
ex:employer rdfs:range foaf:Organization
Given the previous declarations, in the following triple, ex:John is necessarily a foaf:Person, and ex:CompanyX is necessarily a foaf:Organization
ex:John ex:employer ex:CompanyX
See also
External links
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
