Difference between revisions of "Template:CalculateMapping"

From DBpedia Mappings
Jump to: navigation, search
(Meanings)
Line 47: Line 47:
 
* '''templateProperty1'''
 
* '''templateProperty1'''
 
* '''unit1'''
 
* '''unit1'''
* ''templateProperty2'''
+
* '''templateProperty2'''
 
* '''unit2'''
 
* '''unit2'''
 
* '''ontologyProperty'''
 
* '''ontologyProperty'''

Revision as of 17:49, 5 March 2010

{{CalculateMapping}} maps two template properties to one ontology property by calculating one value from both template property values using a given operation.

Usage

{{CalculateMapping
| operation         = 
| templateProperty1 = 
| unit1             = 
| templateProperty2 = 
| unit2             = 
| ontologyProperty  = 
}}

Meanings

  • operation: mathematical operation. Currently supported operation: add.
  • templateProperty1
  • unit1
  • templateProperty2
  • unit2
  • ontologyProperty

Example

{{CalculateMapping
| operation         = 
| templateProperty1 = 
| unit1             = 
| templateProperty2 = 
| unit2             = 
| ontologyProperty  = 
}}