|
|
(15 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:
| |
| <nowiki>{{ Class
| |
| | rdfs:label = Person
| |
| }}</nowiki>
| |
| | |
| The definition of the DBpedia ontology property height:
| |
| <code>{{ DatatypeProperty
| |
| | rdfs:label = height
| |
| | rdfs:domain = Person
| |
| | rdfs:range = centimeter
| |
| }}</code>
| |