Template:DatatypeProperty: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
No edit summary
No edit summary
Line 4: Line 4:
| width="150px" | rdfs:label
| width="150px" | rdfs:label
| width="400px" | {{#if:{{{rdfs:label|}}}|{{{rdfs:label}}}|<span style="color:red">please define label</span>}}
| width="400px" | {{#if:{{{rdfs:label|}}}|{{{rdfs:label}}}|<span style="color:red">please define label</span>}}
|-
| rdfs:comment
| {{#if:{{{rdfs:comment|}}}|{{{rdfs:comment}}}}}
|-
|-
| rdfs:domain
| rdfs:domain

Revision as of 14:22, 5 March 2010


The {{DatatypeProperty}} template can be used to define ontology datatype properties.

Usage

{{DatatypeProperty 
| rdfs:label  =
| rdfs:domain =
| rdfs:range  =
}}

Example

The definition of the DBpedia ontology property height:

{{DatatypeProperty 
| rdfs:label  = height
| rdfs:domain = Person
| rdfs:range  = centimeter
}}

It will be rendered to this table:

Ontology datatype property (help)
rdfs:label height
rdfs:comment
rdfs:domain OntologyClass:Person
rdfs:range centimeter