Template:DatatypeProperty: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
No edit summary |
|||
Line 35: | Line 35: | ||
| rdfs:label = height | | rdfs:label = height | ||
| rdfs:comment = | | rdfs:comment = | ||
| rdfs:domain = | | rdfs:domain = owl:Thing | ||
| rdfs:range = | | rdfs:range = Length | ||
}} | }} | ||
</pre> | </pre> | ||
Line 43: | Line 43: | ||
{{DatatypeProperty | {{DatatypeProperty | ||
| rdfs:label = height | | rdfs:label = height | ||
| rdfs:domain = | | rdfs:comment = | ||
| rdfs:range | | rdfs:domain = owl:Thing | ||
| rdfs:range = Length | |||
}} | }} | ||
</noinclude> | </noinclude> |
Revision as of 13:23, 5 March 2010
The {{DatatypeProperty}} template can be used to define ontology datatype properties.
Usage
{{DatatypeProperty | rdfs:label = | rdfs:comment = | rdfs:domain = | rdfs:range = }}
Example
The definition of the DBpedia ontology property height:
{{DatatypeProperty | rdfs:label = height | rdfs:comment = | rdfs:domain = owl:Thing | rdfs:range = Length }}
It will be rendered to this table:
Ontology datatype property (help) | |
---|---|
rdfs:label | height |
rdfs:comment | |
rdfs:domain | OntologyClass:owl:Thing |
rdfs:range | Length |