RDFS Notes ex Textbook

RDFS Notes ex Textbook
Atilla Elçi
29.11.2006
CmpE 583 Fall 2006
1
RDFS Classes
• RDFS extends RDF type concept to
formally define new type classes
• RDFS formally pre-defines some classes
using RDF object model and RDF/XML
syntax.
• RDFS formally pre-defines RDFS
properties
• New RDFS classes may be created.
29.11.2006
CmpE 583 Fall 2006
2
RDFS Description
• Title:
– RDF Vocabulary Description Language 1.0: RDF Schema
• Doc URI:
– http://www.w3.org/TR/rdf-schema/
• Purpose:
– Defines a vocabulary for using RDF to define RDF vocabularies.
• Namespace:
– Prefix: rdfs
– Name: http://www.w3.org/2000/01/rdf-schema#
18.11.2008
CmpE 583 Fall 2008
3
Pre-Defined RDFS Classes
RDFS predefines a number of classes :
• rdfs:Resource:
– Root class: mother of all RDFS classes.
• rdf:Rroperty:
– all user defined properties
• rdfs:Class:
– defines RDFS classes
• rdfs:Literal:
– set of atomic plain and typed literal values
• rdf:XMLLiteral:
– Subset of rdfs:Literal
– XML text strings
• rdfs:Datatype:
– Subset of rdfs:Literal
– Identifies datatypes
29.11.2006 rev 18/11/08
CmpE 583 Fall 2008
4
Pre-Defined RDFS Properties
• rdf:type : a core RDFS property.
• rdfs:subClassOf:
– Defines specialiazation relationship between
classes
• rdfs:subPropertyOf
• rdfs:range
• rdfs:domain
29.11.2006
CmpE 583 Fall 2006
5
Pre-Defined RDFS Clarification
Properties
• rdfs:seeAlso:
– Alternate definition of any rdfs:Reource
• rdfs:isDefinedBy
– Sub property of rdfs:seeAlso
29.11.2006
CmpE 583 Fall 2006
6
RDFS Container Classes &
Properties
• rdfs:Container
– Super classe of
• rdf:Bag - unordered container,
• rdf:Alt - container of alternatives, &
• rdf:Seq – ordered sequence
– Examples from RDF: rdf:li & rdf:_n
•
•
•
•
RDF Collections: - rdf:parseType = “Collection”
RDF List Structure
rdfs:subPropertyOf
rdfs:ContainerMembershipProperty
– Individual subproperties for accessing members of containers
• rdfs:member
– Super property of all the container membership properties
29.11.2006 rev 18/11/08
CmpE 583 Fall 2008
7
RDFS Documentation Properties
• rdfs:label
– Used in defining a label for any resource.
• rdfs:comment
– Used in providing free-form text for any
resource.
29.11.2006
CmpE 583 Fall 2006
8