Template:DatatypeProperty: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
No edit summary
Line 21: Line 21:
<pre>
<pre>
{{DatatypeProperty  
{{DatatypeProperty  
| rdfs:label =
| rdfs:label   =
| rdfs:domain =
| rdfs:comment =
| rdfs:range =
| rdfs:domain =
| rdfs:range   =
}}
}}
</pre>
</pre>
Line 32: Line 33:
<pre>
<pre>
{{DatatypeProperty  
{{DatatypeProperty  
| rdfs:label = height
| rdfs:label   = height
| rdfs:domain = Person
| rdfs:comment =
| rdfs:range = centimeter
| rdfs:domain = Person
| rdfs:range   = centimeter
}}
}}
</pre>
</pre>

Revision as of 13:22, 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  = 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