|
|
(10 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:
| |
| # [[Template:Class]] | |
| # [[Template:DatatypeProperty]]
| |
| # [[Template: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:
| |
| <pre>{{ Class
| |
| | rdfs:label = Person
| |
| }}</pre>
| |
| | |
| The definition of the DBpedia ontology property height:
| |
| <pre>{{ DatatypeProperty
| |
| | rdfs:label = height
| |
| | rdfs:domain = Person
| |
| | rdfs:range = centimeter
| |
| }}</pre>
| |