Template:ConstantMapping
From DBpedia Mappings
Jump to navigationJump to search
{{PropertyMapping}} maps template properties to ontology properties.
Usage
{{ConstantMapping | ontologyProperty = | value = | unit = }}
Meanings
- ontologyProperty: A constant mapping should list one ontology property.
- value: A constant mapping should list one value. Dependening on the ontology property, if it is a object property or a datatype property, a URI or a literal is produced for this value.
- unit: If the value contains a numerical value and a unit is mapped, the unit has to be defined (Please use only values from DBpedia unit and dimensions). 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 constant mapping for Infobox_australian_road that retains the information about the country (the type information is mapped one level above in a TemplateMapping):
{{ConstantMapping | ontologyProperty = country | value = Australia }}