Template:DatatypeProperty: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
| {{#if:{{{rdfs:range|}}}|{{{rdfs:range}}}|<span style="color:red">please define range</span>}} | | {{#if:{{{rdfs:range|}}}|{{{rdfs:range}}}|<span style="color:red">please define range</span>}} | ||
|}</includeonly> | |}</includeonly> | ||
<noinclude>'''<nowiki>{{DatatypeProperty}}</nowiki>''' | <noinclude> | ||
The '''<nowiki>{{DatatypeProperty}}</nowiki>''' template can be used to define ontology datatype properties. | |||
=== Usage === | === Usage === |
Revision as of 12:55, 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:domain | OntologyClass:Person |
rdfs:range | centimeter |