Semantic Web Vocabularies

 

 

Tim Berners-Lee

 

 

A minimalist approach to documentating vocabularies

DIG

Decentralized Information Group
MIT Computer Science and Artificial Intelligence Laboratory

Documenting Classes and Properties

Standard Terms: RDFS and OWL

Informal Documentation

:CanisFamiliaris 
  rdfs:comment """The class of animals designated 
               Canis familiaris (domestic dog).  This
               includes all the dog breeds, but
               not wolves.""";
  rdfs:label "Canis familiaris";
  rdfs:seeAlso <http://www.agrobiologicals.com/glossary/G3089.htm>.

rdfs:comment

A paragraph or two.

rdfs:label

For properties:

For classes:

Synonyms

See @@'s work connecting existing ontologies

Class equivalence

Many-to-one

One-to-many

Different and Disjoint

Class Hierarchies

:Man s:subclassOf :Human .
:YoungMan s:subclassOf :Man .
:CanisFamiliarisDingo 
  owl:subClassOf :CanisFamiliaris;   # Dingos are Dogs!
  rdfs:seeAlso
   <http://www.naturalworlds.org/wolf/canis/Canis_familiaris_dingo.htm>.

:CanisRufus a owl:Class;
  owl:subClassOf :Canis;
  owl:disjointFrom :CanisFamiliaris;     # Wolves are not Dogs!
  rdfs:label "Red Wolf";
  rdfs:comment """As of 1999 there were about 300 individuals 
               of this endangered species""";
  rdfs:seeAlso <http://druidry.org/obod/endangered/redwolf.html>.

Saying that classes are disjoint can help OWL systems detect input errors and data errors as well as ontology errors.

Domain, Range

:father s:domain :Human; s:range :Man.
:Sara :father :Alan.
______________________________________
:Sara a :Human.  :Alan a :Man.

If the ontology gives the domain and range of properties, then the data doesn't have to give the class of everything.

More Information



Creative Commons License
This work is licensed under a Creative Commons Attribution - Non-Commercial - No Derivatives 2.5 License.