Template:PropertyMapping: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
No edit summary |
ChrisBizer (talk | contribs) |
||
Line 28: | Line 28: | ||
* '''templateProperty''': A template property to ontology property mapping should list one template property which is to be mapped. | * '''templateProperty''': A template property to ontology property mapping should list one template property which is to be mapped. | ||
* '''ontologyProperty''': A template property to ontology property mapping should list one ontology property. | * '''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. | * '''unit''': If a template property containing a numerical value and a unit is mapped, the unit has to be defined (Please use only values from[http://mappings.dbpedia.org/index.php/DBpedia_Datatypes 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 === | === Example === |
Revision as of 16:55, 8 March 2010
{{PropertyMapping}} maps template properties to ontology properties.
Usage
{{PropertyMapping | templateProperty = | ontologyProperty = | unit = }}
Meanings
- templateProperty: A template property to ontology property mapping should list one template property which is to be mapped.
- 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 (Please use only values fromDBpedia 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 property mapping from the template property birth_date to the ontology property birthDate:
{{PropertyMapping | templateProperty = birth_date | ontologyProperty = birthDate }}