Template:SpecificProperty: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
No edit summary
No edit summary
Line 9: Line 9:
</tr>}}
</tr>}}
</table></includeonly>
</table></includeonly>
<noinclude>'''<nowiki>{{SpecificProperty}}</nowiki>'''
<noinclude>'''<nowiki>{{SpecificProperty}}</nowiki>''' is used to create a new refined property based on the general property.


=== Usage ===
=== Usage ===
Line 26: Line 26:


=== Example ===
=== Example ===
The general property ''height'''s range is the SI length unit metre. For the ontology class ''Person'' one can refine the property using the range ''centimetre''.


<pre>
<pre>
{{SpecificProperty
{{SpecificProperty
| ontologyProperty = fuelCapacity
| ontologyProperty = height
| unit = litre
| unit = centimetre
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Revision as of 16:22, 8 March 2010

{{SpecificProperty}} is used to create a new refined property based on the general property.

Usage

{{SpecificProperty
| ontologyProperty =
| unit =
}}

Meanings

  • ontologyProperty: A template property to ontology property mapping should list one ontology property.
  • unit: If a template property containing a numerical value and a unit is mapped, the unit has to be defined. If a template property has no default unit defined, e.g. its values can contain different units of the same dimension, the dimension has to be defined for usability as well as validation reasons. Possible dimensions are Length or Mass.

Example

The general property height's range is the SI length unit metre. For the ontology class Person one can refine the property using the range centimetre.

{{SpecificProperty
| ontologyProperty = height
| unit = centimetre
}}