Template:DatatypeProperty: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
No edit summary
Line 35: Line 35:
| rdfs:label  = height
| rdfs:label  = height
| rdfs:comment =
| rdfs:comment =
| rdfs:domain  = Person
| rdfs:domain  = owl:Thing
| rdfs:range  = centimeter
| rdfs:range  = Length
}}
}}
</pre>
</pre>
Line 43: Line 43:
{{DatatypeProperty  
{{DatatypeProperty  
| rdfs:label  = height
| rdfs:label  = height
| rdfs:domain = Person
| rdfs:comment =
| rdfs:range = centimeter
| rdfs:domain = owl:Thing
| rdfs:range   = Length
}}
}}
</noinclude>
</noinclude>

Revision as of 14: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