Ontology Editing: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
Line 2: Line 2:


The language consists of the following Wikipedia templates to cover the ontology schema definition:
The language consists of the following Wikipedia templates to cover the ontology schema definition:
# [[Template:Class]]
* [[Template:Class]]
# [[Template:DatatypeProperty]]
* [[Template:DatatypeProperty]]
# [[Template:ObjectProperty]]
* [[Template:ObjectProperty]]


The [[Template:Class|Class template]] offers the following template parameters:
The [[Template:Class|Class template]] offers the following template parameters:
# rdfs:label
* rdfs:label
# rdfs:subClassOf
* rdfs:comment
# owl:equivalentClass
* rdfs:subClassOf
* owl:equivalentClass


The [[Template:DatatypeProperty|DatatypeProperty template]] offers the following template parameters:
The [[Template:DatatypeProperty|DatatypeProperty template]] offers the following template parameters:
# rdfs:label
* rdfs:label
# rdfs:domain
* rdfs:comment
# rdfs:range
* rdfs:domain
# owl:equivalentProperty
* rdfs:range
* owl:equivalentProperty


The [[Template:ObjectProperty|ObjectProperty template]] offers the following template parameters:
The [[Template:ObjectProperty|ObjectProperty template]] offers the following template parameters:
# rdfs:label
* rdfs:label
# rdfs:domain
* rdfs:comment
# rdfs:range
* rdfs:domain
# owl:equivalentProperty
* rdfs:range
* owl:equivalentProperty


== Examples ==
== Examples ==

Revision as of 14:21, 5 March 2010

Ontology Schema Definition Language

The language consists of the following Wikipedia templates to cover the ontology schema definition:

The Class template offers the following template parameters:

  • rdfs:label
  • rdfs:comment
  • rdfs:subClassOf
  • owl:equivalentClass

The DatatypeProperty template offers the following template parameters:

  • rdfs:label
  • rdfs:comment
  • rdfs:domain
  • rdfs:range
  • owl:equivalentProperty

The ObjectProperty template offers the following template parameters:

  • rdfs:label
  • rdfs:comment
  • rdfs:domain
  • rdfs:range
  • owl:equivalentProperty

Examples

The definition of the DBpedia ontology class Person:

{{Class 
| rdfs:label  = Person
}}

The definition of the DBpedia ontology property height:

{{DatatypeProperty 
| rdfs:label  = height
| rdfs:domain = Person
| rdfs:range  = centimeter
}}