Ontology Editing: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
| Line 31: | Line 31: | ||
The definition of the DBpedia ontology property height: | The definition of the DBpedia ontology property height: | ||
< | <pre>{{ DatatypeProperty | ||
| rdfs:label = height | | rdfs:label = height | ||
| rdfs:domain = Person | | rdfs:domain = Person | ||
| rdfs:range = centimeter | | rdfs:range = centimeter | ||
}}</pre> | }}</pre> | ||
Revision as of 12:07, 5 March 2010
Ontology Schema Definition Language
The language consists of the following Wikipedia templates to cover the ontology schema definition:
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:
{{ Class
| rdfs:label = Person
}}
The definition of the DBpedia ontology property height:
{{ DatatypeProperty
| rdfs:label = height
| rdfs:domain = Person
| rdfs:range = centimeter
}}