Mapping en:Football squad player: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(Try an intermediate node mapping again.)
(Apparently, only the first TemplateMapping gets mapped, unless using correspondingClass/property are set. So, reverting to that method again.)
Line 1: Line 1:
{{TemplateMapping
{{TemplateMapping
| mapToClass = Organisation
| mapToClass           = SportsTeamMember
| mappings =  
| correspondingClass    = Organisation
  {{IntermediateNodeMapping | nodeClass = SportsTeamMember | correspondingProperty = organisationMember | mappings =
| correspondingProperty = team
    {{PropertyMapping | templateProperty = name | ontologyProperty = currentMember }}
| mappings             =
    {{PropertyMapping | templateProperty = no | ontologyProperty = squadNumber }}
  {{PropertyMapping | templateProperty = name | ontologyProperty = currentMember }}
    {{PropertyMapping | templateProperty = pos | ontologyProperty = position }}
  {{PropertyMapping | templateProperty = no | ontologyProperty = squadNumber }}
  }}
  {{PropertyMapping | templateProperty = pos | ontologyProperty = position }}
}}
}}

Revision as of 20:01, 14 January 2012

This is the mapping for the Wikipedia template Football squad player. Find usages of this Wikipedia template here.

Test this mapping (or in namespace File or Creator) with some example Wikipedia pages. Check which properties are not mapped yet.

Read more about mapping Wikipedia templates.

Template Mapping (help)
map to class SportsTeamMember
corresponding class Organisation
corresponding property team

Mappings




Property Mapping (help)
template property name
ontology property currentMember




Property Mapping (help)
template property no
ontology property squadNumber




Property Mapping (help)
template property pos
ontology property position