Ontology Editing: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
Line 6: Line 6:
# [[Template:ObjectProperty]]
# [[Template:ObjectProperty]]


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


The [[Template:DatatypeProperty]] template offers the following template parameters:
The [[Template:DatatypeProperty|DatatypeProperty template]] offers the following template parameters:
# rdfs:label
# rdfs:label
# rdfs:domain
# rdfs:domain
Line 17: Line 17:
# owl:equivalentProperty
# owl:equivalentProperty


The [[Template:ObjectProperty]] template offers the following template parameters:
The [[Template:ObjectProperty|ObjectProperty template]] offers the following template parameters:
# rdfs:label
# rdfs:label
# rdfs:domain
# rdfs:domain

Revision as of 13:20, 5 March 2010

Ontology Schema Definition Language

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

  1. Template:Class
  2. Template:DatatypeProperty
  3. Template:ObjectProperty

The Class template offers the following template parameters:

  1. rdfs:label
  2. rdfs:subClassOf
  3. owl:equivalentClass

The DatatypeProperty template offers the following template parameters:

  1. rdfs:label
  2. rdfs:domain
  3. rdfs:range
  4. owl:equivalentProperty

The ObjectProperty template offers the following template parameters:

  1. rdfs:label
  2. rdfs:domain
  3. rdfs:range
  4. 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
}}