Template:TemplateMapping

From DBpedia Mappings
Revision as of 16:58, 5 March 2010 by Admin (talk | contribs)
Jump to navigationJump to search

{{TemplateMapping}} maps templates to ontology classes.

Usage

{{TemplateMapping
| mapToClass            =
| correspondingClass    =
| correspondingProperty =
| mappings              =
}}

Meanings

  • mapToClass: Templates are mapped to ontology classes. The template parameter mapToClass allows one DBpedia ontology class as a value.
  • correspondingClass, correspondingProperty: In the case that different templates are used on the same page (for instance Automobile and Automobile Generation), the instance resulting from the second grade template (Automobile Generation) can be connected to the instance of the first grade template (Automobile) using a corresponding property. Thus, if an instance of type correspondingClass is found on the same page, it will be connected to the instances of the mapped template by correspondingProperty.
  • mappings: Mappings map template properties to ontology properties, they have to be defined by using PropertyMapping or IntermediateNodeMapping. Custom, user-defined, mappings like the GeocoordinatesMapping can also be defined.

= Example

{{TemplateMapping
| mapToClass            =
| correspondingClass    =
| correspondingProperty =
| mappings              =
}}