Ontology Editing: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(Redirected page to How to edit the DBpedia Ontology)
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Ontology Schema Definition Language ==
#REDIRECT [[How to edit the DBpedia Ontology]]
 
The language consists of the following Wikipedia templates to cover the ontology schema definition:
# Class
# DatatypeProperty
# ObjectProperty
 
The [[Template:Class]] template offers the following template parameters:
# rdfs:label
# rdfs:subClassOf
# owl:equivalentClass
 
The [[Template:DatatypeProperty]] template offers the following template parameters:
# rdfs:label
# rdfs:domain
# rdfs:range
# owl:equivalentProperty
 
The [[Template:ObjectProperty]] template offers the following template parameters:
# rdfs:label
# rdfs:domain
# rdfs:range
# owl:equivalentProperty
 
== Examples ==
 
The definition of the DBpedia ontology class Person:
<code>{{ Class
| rdfs:label    = Person
}}</code>
 
The definition of the DBpedia ontology property height:
<code>{{ DatatypeProperty
| rdfs:label  = height
| rdfs:domain = Person
| rdfs:range  = centimeter
}}</code>

Latest revision as of 12:10, 7 July 2011