in a nutshell RDFS fabien, gandon, inria
R D F is a triple model  i.e.  every piece of knowledge is broken down into (  subject  ,  predicate  ,   object  )
RDF S stands for  R D F   Schema
RDF S provides primitives to write lightweight schemas for  R D F  triples
long way a little drop of semantics goes a
RDF S provides primitives to... ... define the vocabulary used in triples ... define elementary inferences
RDF S to define classes of resources and organize their hierarchy
DOCUMENT REPORT
RDF S to define relations between resources and organize their hierarchy Tom Doc13 AUTHOR
CREATOR AUTHOR
RDF S allows for multiple inheritance for classes and properties
PERSON MAN MALE
RDFS relations have a  signature DOMAIN RANGE
RDFS relations have a  signature ... the  domain  is the type of the resource the relation starts from. ... the  range  is the type of the resource the relation ends to.
RDFS relations with several... ...  domains  mean all domains apply. ...  ranges  mean all ranges apply. Ranges  and  domains  are optional
but looks like object programming,
properties are first class citizens, they are not defined inside classes, they have their own hierarchy.
no overwriting in particular a property can not be refined for sub classes of its range or domain.
multi-instantiation a resource can have several types, it can be the instance of several classes like multiple lights, facets on a resource.
RDF S provides primitives to... ... give labels ... ... give comments ... ... for classes and properties
RDF... RDFS using the XML syntax for
<rdf:RDF xml:base=&quot;http://inria.fr/2005/humans.rdfs&quot;   xmlns:rdf =&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;   xmlns:rdfs=&quot;http://www.w3.org/2000/01/rdf-schema#&quot;   xmlns=&quot;http://www.w3.org/2000/01/rdf-schema#> < Class  rdf:ID=&quot; Man &quot;>  < subClassOf  rdf:resource=&quot;# Person &quot;/>  < subClassOf  rdf:resource=&quot;# Male &quot;/>  <label xml:lang=&quot;en&quot;>man</label>  <comment xml:lang=&quot;en&quot;>a male person</comment> </Class>
<rdf: Property  rdf:ID=&quot; hasMother &quot;>  < subPropertyOf  rdf:resource=&quot;# hasParent &quot;/>  < range  rdf:resource=&quot;# Female &quot;/>  < domain  rdf:resource=&quot;# Human &quot;/>  <label xml:lang=&quot;en&quot;>has for mother</label>  <comment xml:lang=&quot;en&quot;>a female parent</comment> </rdf:Property> </rdf:RDF>
RDF S semantics : standard inference rules to derive additional triples from known statements.
example of type propagation IF   (c 2 ,  subClassOf , c 1 ) AND   (x,  type , c 2 ) THEN   (x,  type , c 1 ) IF   (Man,  subClassOf , Person) AND   (Tom,  type , Man) THEN   (Tom,  type , Person)
example of property propagation IF   (p 2 ,  subPropertyOf , p 1 ) AND   (x, p 2  , y) THEN   (x, p 1  , y) IF  (author,  subPropertyOf , creator) AND   (Tom, author, Report12) THEN   (Tom, creator, Report12)
example of subClass transitivity IF   (c 2 ,  subClassOf , c 1 ) AND   (c 3 ,  subClassOf , c 2 )  THEN   (c 3 ,  subClassOf , c 1 ) IF     (Person,  subClassOf , Animal)  AND  (Man,  subClassOf , Person)  THEN    (Man,  subClassOf , Animal)
example of subProp transitivity IF   (p 2 ,  subPropertyOf , p 1 ) AND   (p 3 ,  subPropertyOf , p 2 )  THEN   (p 3 ,  subPropertyOf , p 1 ) IF   (parent,  subPropertyOf , ancestor) AND   (father,  subPropertyOf , parent)   THEN   (father,  subPropertyOf , ancestor)
example of domain inference IF   (p 1 ,  domain , c 1 ) AND   (x, p 1 , y)  THEN   (x,  type , c 1 ) IF   (author,  domain , Human)  AND   (Tom, author, Report12)  THEN   (Tom,  type , Human)
example of range inference IF   (p 1 ,  range , c 1 ) AND   (x, p 1 , y)  THEN   (y,  type , c 1 ) IF   (author,  range , Document)  AND   (Tom, author, Report12)  THEN   (Report,  type , Document)
summary take-home message on RDF S
RDF Schema to... ... define classes and relations of resources and organize their hierarchy ... define signatures of relations (domain, range) ... document them with labels and comments ... define associated inference rules
fabien, gandon

RDFS In A Nutshell V1

  • 1.
    in a nutshellRDFS fabien, gandon, inria
  • 2.
    R D Fis a triple model i.e. every piece of knowledge is broken down into ( subject , predicate , object )
  • 3.
    RDF S standsfor R D F Schema
  • 4.
    RDF S providesprimitives to write lightweight schemas for R D F triples
  • 5.
    long way alittle drop of semantics goes a
  • 6.
    RDF S providesprimitives to... ... define the vocabulary used in triples ... define elementary inferences
  • 7.
    RDF S todefine classes of resources and organize their hierarchy
  • 8.
  • 9.
    RDF S todefine relations between resources and organize their hierarchy Tom Doc13 AUTHOR
  • 10.
  • 11.
    RDF S allowsfor multiple inheritance for classes and properties
  • 12.
  • 13.
    RDFS relations havea signature DOMAIN RANGE
  • 14.
    RDFS relations havea signature ... the domain is the type of the resource the relation starts from. ... the range is the type of the resource the relation ends to.
  • 15.
    RDFS relations withseveral... ... domains mean all domains apply. ... ranges mean all ranges apply. Ranges and domains are optional
  • 16.
    but looks likeobject programming,
  • 17.
    properties are firstclass citizens, they are not defined inside classes, they have their own hierarchy.
  • 18.
    no overwriting inparticular a property can not be refined for sub classes of its range or domain.
  • 19.
    multi-instantiation a resourcecan have several types, it can be the instance of several classes like multiple lights, facets on a resource.
  • 20.
    RDF S providesprimitives to... ... give labels ... ... give comments ... ... for classes and properties
  • 21.
    RDF... RDFS usingthe XML syntax for
  • 22.
    <rdf:RDF xml:base=&quot;http://inria.fr/2005/humans.rdfs&quot; xmlns:rdf =&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns:rdfs=&quot;http://www.w3.org/2000/01/rdf-schema#&quot; xmlns=&quot;http://www.w3.org/2000/01/rdf-schema#> < Class rdf:ID=&quot; Man &quot;> < subClassOf rdf:resource=&quot;# Person &quot;/> < subClassOf rdf:resource=&quot;# Male &quot;/> <label xml:lang=&quot;en&quot;>man</label> <comment xml:lang=&quot;en&quot;>a male person</comment> </Class>
  • 23.
    <rdf: Property rdf:ID=&quot; hasMother &quot;> < subPropertyOf rdf:resource=&quot;# hasParent &quot;/> < range rdf:resource=&quot;# Female &quot;/> < domain rdf:resource=&quot;# Human &quot;/> <label xml:lang=&quot;en&quot;>has for mother</label> <comment xml:lang=&quot;en&quot;>a female parent</comment> </rdf:Property> </rdf:RDF>
  • 24.
    RDF S semantics: standard inference rules to derive additional triples from known statements.
  • 25.
    example of typepropagation IF (c 2 , subClassOf , c 1 ) AND (x, type , c 2 ) THEN (x, type , c 1 ) IF (Man, subClassOf , Person) AND (Tom, type , Man) THEN (Tom, type , Person)
  • 26.
    example of propertypropagation IF (p 2 , subPropertyOf , p 1 ) AND (x, p 2 , y) THEN (x, p 1 , y) IF (author, subPropertyOf , creator) AND (Tom, author, Report12) THEN (Tom, creator, Report12)
  • 27.
    example of subClasstransitivity IF (c 2 , subClassOf , c 1 ) AND (c 3 , subClassOf , c 2 ) THEN (c 3 , subClassOf , c 1 ) IF (Person, subClassOf , Animal) AND (Man, subClassOf , Person) THEN (Man, subClassOf , Animal)
  • 28.
    example of subProptransitivity IF (p 2 , subPropertyOf , p 1 ) AND (p 3 , subPropertyOf , p 2 ) THEN (p 3 , subPropertyOf , p 1 ) IF (parent, subPropertyOf , ancestor) AND (father, subPropertyOf , parent) THEN (father, subPropertyOf , ancestor)
  • 29.
    example of domaininference IF (p 1 , domain , c 1 ) AND (x, p 1 , y) THEN (x, type , c 1 ) IF (author, domain , Human) AND (Tom, author, Report12) THEN (Tom, type , Human)
  • 30.
    example of rangeinference IF (p 1 , range , c 1 ) AND (x, p 1 , y) THEN (y, type , c 1 ) IF (author, range , Document) AND (Tom, author, Report12) THEN (Report, type , Document)
  • 31.
  • 32.
    RDF Schema to...... define classes and relations of resources and organize their hierarchy ... define signatures of relations (domain, range) ... document them with labels and comments ... define associated inference rules
  • 33.