Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

RDF Schema

From Wikipedia, the free encyclopedia
Schema for knowledge representation
RDF Schema
Resource Description Framework Schema
AbbreviationRDFS
StatusW3C Recommendation
Year startedJanuary 5, 1999; 26 years ago (1999-01-05)[1][2]
First publishedApril 30, 2002; 23 years ago (2002-04-30)[2]
Latest version1.1 (Recommendation)
February 25, 2014; 11 years ago (2014-02-25)[3]
Organization
Editors
Base standardsRDF
Related standards
Domain
Websitewww.w3.org/TR/rdf-schema/

RDF Schema (Resource Description Framework Schema, variously abbreviated asRDFS,RDF(S),RDF-S, orRDF/S) is a set of classes with certain properties using theRDF extensibleknowledge representation data model, providing basic elements for the description ofontologies. It uses various forms of RDF vocabularies, intended to structure RDFresources. RDF and RDFS can be saved in atriplestore, then one can extract some knowledge from them using a query language, likeSPARQL.

The first version[1][4] was published by the World-Wide Web Consortium (W3C) in April 1998, and the finalW3C recommendation was released in February 2014.[3] Many RDFS components are included in the more expressiveWeb Ontology Language (OWL).

Terminology

[edit]

RDFS constructs are the RDFS classes, associated properties and utility properties built on thevocabulary of RDF.[5][6][7]

Classes

[edit]
rdfs:Resource
Represents the class of everything. All things described by RDF are resources.
rdfs:Class
Anrdfs:Class declares a resource as aclass for other resources.

A typical example of an rdfs:Class isfoaf:Person in the Friend of a Friend (FOAF) vocabulary.[8] An instance offoaf:Person is a resource that is linked to the classfoaf:Person using therdf:typeproperty, such as in the following formal expression of thenatural-language sentence: 'John is a Person'.

ex:John       rdf:type        foaf:Person

The definition ofrdfs:Class is recursive:rdfs:Class is the class of classes, and so it is an instance of itself.

rdfs:Class    rdf:type        rdfs:Class

The other classes described by the RDF and RDFS specifications are:

rdfs:Literal
literal values such as strings and integers. Property values such as textual strings are examples of RDF literals. Literals may be plain or typed.
rdfs:Datatype
the class of datatypes.rdfs:Datatype is both an instance of and a subclass ofrdfs:Class. Each instance ofrdfs:Datatype is a subclass ofrdfs:Literal.
rdf:XMLLiteral
the class of XML literal values.rdf:XMLLiteral is an instance ofrdfs:Datatype (and thus a subclass ofrdfs:Literal).
rdf:Property
the class of properties.

Properties

[edit]

Properties are instances of the classrdf:Property and describe a relation between subject resources and object resources. When used as such a property is apredicate (see alsoRDF: reification).

rdfs:domain
therdfs:domain of anrdf:Property declares the class of thesubject in atriple whose predicate is that property.
rdfs:range
therdfs:range of anrdf:Property declares the class or datatype of theobject in a triple whose predicate is that property.

For example, the following declarations are used to express that the propertyex:employer relates a subject, which is of typefoaf:Person, to an object, which is of typefoaf:Organization:

ex:employer  rdfs:domain    foaf:Personex:employer  rdfs:range  foaf:Organization

Given the previous two declarations, from the triple:

ex:John  ex:employer  ex:CompanyX

can be inferred (resp. follows) thatex:John is afoaf:Person, andex:CompanyX is afoaf:Organization.

rdf:type
a property used to state that a resource is an instance of a class. A commonly acceptedQName for this property is "a".[9]
rdfs:subClassOf
allows declaration of hierarchies of classes.[10]

For example, the following declares that 'Every Person is an Agent':

foaf:Person  rdfs:subClassOf  foaf:Agent

Hierarchies of classes support inheritance of a property domain and range (see definitions in the next section) from a class to its subclasses.

rdfs:subPropertyOf
an instance ofrdf:Property that is used to state that all resources related by one property are also related by another.
rdfs:label
an instance ofrdf:Property that may be used to provide a human-readable version of a resource's name.
rdfs:comment
an instance ofrdf:Property that may be used to provide a human-readable description of a resource.

Utility properties

[edit]
rdfs:seeAlso
an instance ofrdf:Property that is used to indicate a resource that might provide additional information about the subject resource.
rdfs:isDefinedBy
an instance ofrdf:Property that is used to indicate a resource defining the subject resource. This property may be used to indicate an RDF vocabulary in which a resource is described.

RDFS entailment

[edit]

Anentailment regime defines whether the triples in a graph are logically contradictory or not. RDFS entailment[11] is not very restrictive, i.e. it does not contain a large amount of rules (compared, for example, toOWL) limiting what kind of statements are valid in the graph. On the other hand it is also not very expressive, meaning that the semantics that can be represented in a machine-interpretable way with the graph is quite limited.

Below in a simple example of the capabilities and limits of RDFS entailment, we start with a graph containing the following explicit triples:

foo:SomeGiraffe rdf:type bar:Animal.foo:SomeElephant rdf:type bar:Elephant.foo:SomeZoo rdf:type bar:Zoo.bar:livesInZoo rdfs:domain bar:Animal.bar:livesInZoo rdfs:range bar:Zoo.foo:SomeElephant bar:livesInZoo foo:SomeZoo.

Without enabling inferencing with RDFS entailment, the data we have does not tell us whetherfoo:SomeElephant is abar:Animal. When we do RDFS-based inferencing, we will get the following extra triple:

foo:SomeElephant rdf:type bar:Animal.

Therdfs:domain statement dictates that any subject in triples wherebar:livesInZoo is the predicate is of typebar:Animal. What RDFS entailment is not able to tell us is the relationship betweenbar:Animal andbar:Elephant. Due to inferencing we now know thatfoo:SomeElephant is bothbar:Animal andbar:Elephant so these classes do intersect but there is no information to deduce whether they merely intersect, are equal or have a subclass relationship.

In RDFS 1.1, the domain and range statements do not carry any formal meaning and their interpretation is left up to the implementer. On the other hand in the 1.2 Working draft they are used as entailment rules for inferencing the types of individuals. Nevertheless in both versions, it is very clearly stated that the expected functionality of range is "the values of a property are instances of one or more classes" and domain "any resource that has a given property is an instance of one or more classes".

The example above demonstrated some of the limits and capabilities of RDFS entailment, but did not show an example of a logical inconsistency (which could in layman terms be interpreted as a "validation error"), meaning that the statements the triples make are in conflict and try to express contradictory states of affairs. An example of this in RDFS would be having conflicting datatypes for objects (e.g. declaring a resource to be of typexsd:integer and being also declared to bexsd:boolean when inferencing is enabled).

Examples of RDF vocabularies

[edit]

RDF vocabularies represented in RDFS include:[10]

  • FOAF: the source of the FOAF Vocabulary Specification is RDFS written in theRDFa syntax.[8]
  • Dublin Core: RDFS source is available in several syntaxes[12]
  • Schema.org: the source of their schema was originally RDFS written in theRDFa syntax until July 2020.[13][14]
  • Simple Knowledge Organization System (SKOS) developed the RDF schema titled as SKOS XL Vocabulary, which is an OWL ontology for the SKOS vocabulary that uses the OWL RDF/XML syntax, and hence makes use of a number of classes and properties from RDFS.[15]
  • TheLibrary of Congress defines an RDF schema titledMetadata Authority Description Schema in RDF, or MADS/RDF for short. From the abstract, it is intended for use within their library and "information science (LIS) community". It allows for annotating special relational data, such as if an individual within a family is well-known viamadsrdf:prominentFamilyMember.[16]
  • TheUniProt database has an RDF schema for describingbiochemical data, and is specialized towards describingproteins.[17]

See also

[edit]

References

[edit]
  1. ^abcBrickley, Dan;Guha, Ramanathan V.; Layman, Andrew, eds. (1998-04-09)."Resource Description Framework (RDF) Schemas".W3C. W3C Working Draft. RDF Schema Working Group. Retrieved2021-04-23.
  2. ^ab"RDF Schema 1.1 Publication History - W3C".W3C. n.d. Retrieved2021-04-23.
  3. ^abBrickley, Dan;Guha, Ramanathan V., eds. (2014-02-25)."RDF Schema 1.1".W3C. 1.1. RDF Working Group. Retrieved2021-04-23.
  4. ^Bikakis N.; Tsinaraki C.; Gioldasis N.; Stavrakantonakis I.; Christodoulakis S., eds. (2012-03-21)."XML and Semantic Web W3C Standards Timeline-History"(PDF). Archived fromthe original(PDF) on 2013-04-24. Retrieved2021-04-23.
  5. ^"Chapter 3: RDF Schema"(PDF).csee.umbc.edu.UMBC's Department of Computer Science and Electrical Engineering. 2017. Archived fromthe original(PDF) on 2021-04-24. Retrieved2021-04-24.
  6. ^Lapalme, Guy (2002)."XML: Looking at the Forest Instead of the Trees § 7.1. Triples in RDF/XML".Université de Montréal. Archived fromthe original on 2021-01-14. Retrieved2021-04-24.
  7. ^Lagoze, Carl (2008-03-31)."RDF Meta Model and Schema"(PDF).Cornell University. Archived fromthe original(PDF) on 2019-07-12. Retrieved2021-04-24.
  8. ^abBrickley, Dan; Miller, Libby, eds. (2014-01-14)."FOAF Vocabulary Specification 0.99".xmlns.com. The FOAF Project. Retrieved2021-04-23.
  9. ^DuCharme, Bob (2011).Learning SPARQL. Sebastopol, California, United States:O'Reilly Media. p. 36.ISBN 9781449306595.
  10. ^abSchreiber, Guus; Raimond, Yves; Manola, Frank; Miller, Eric; McBride, Brian, eds. (2014-06-24)."RDF 1.1 Primer".W3C. Working Group Note. RDF Working Group. Retrieved2021-04-23.
  11. ^"RDF 1.2 Semantics".
  12. ^Dublin Core Metadata Initiative (20 January 2020)."DCMI: DCMI Metadata expressed in RDF Schema Language".dublincore.org (published 2000). Retrieved2021-04-23.
  13. ^Schema.org (n.d.)."Schema.org core schema".schema.org. Archived from the original on 2020-05-10. Retrieved2021-04-24.
  14. ^Wallis, Richard (2020-07-17)."Informatively redirect accesses to retired file schema_org_rdfa.html · Issue #2656 · schemaorg/schemaorg".GitHub. Retrieved2021-04-24.
  15. ^Miles, Alistair; Bechhofer, Sean (2009-08-18)."SKOS XL Vocabulary". Archived fromthe original on 2020-02-27. Retrieved2021-04-24.
  16. ^Library of Congress; et al. (MADS/XML community, MODS Editorial Committee) (n.d.)."MADS/RDF Primer".Library of Congress. Retrieved2021-04-24.
  17. ^UniProt (n.d.)."UniProt RDF schema ontology".UniProt. Retrieved2021-04-24.

External links

[edit]
Background
Sub-topics
Applications
Related topics
Standards
Syntax and supporting technologies
Schemas, ontologies and rules
Semantic annotation
Common vocabularies
Microformat vocabularies
Products,
standards
Recommendations
Notes
Working drafts
Guidelines
Initiative
Deprecated
Obsoleted
Groups,
organizations
Elected
Working
Community, business
Closed
Software
Browsers
Conferences
Retrieved from "https://en.wikipedia.org/w/index.php?title=RDF_Schema&oldid=1306784930"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp