Mapping en:Football squad player: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(According to other examples, the prefixes used in the sample are unnecessary. This version validates.)
(Couldn't get intermediate node mapping to work. Trying with a TemplateMapping including a correspondingClass.)
Line 1: Line 1:
{{TemplateMapping
{{TemplateMapping
| mapToClass = SoccerClub
| mapToClass           = TeamMember
| mappings =  
| correspondingClass    = SoccerClub
  {{IntermediateNodeMapping | nodeClass = TeamMember | correspondingProperty = currentTeamMember | mappings =
| correspondingProperty = currentTeamMember
    {{PropertyMapping | templateProperty = name | ontologyProperty = currentMember }}
| mappings             =
    {{PropertyMapping | templateProperty = no | ontologyProperty = squadNumber }}
  {{PropertyMapping | templateProperty = name | ontologyProperty = currentMember }}
  }}
  {{PropertyMapping | templateProperty = no | ontologyProperty = squadNumber }}
}}
}}

Revision as of 18:20, 13 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 TeamMember
corresponding class SoccerClub
corresponding property currentTeamMember

Mappings




Property Mapping (help)
template property name
ontology property currentMember




Property Mapping (help)
template property no
ontology property squadNumber