Mapping en:Infobox election: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:
{{PropertyMapping | templateProperty = country      | ontologyProperty = country}}
{{PropertyMapping | templateProperty = country      | ontologyProperty = country}}
         {{PropertyMapping | templateProperty = election_date | ontologyProperty = startDate}}
         {{PropertyMapping | templateProperty = election_date | ontologyProperty = startDate}}
         {{PropertyMapping | templateProperty = party1        | ontologyProperty = PoliticalParty}}
         {{PropertyMapping | templateProperty = party1        | ontologyProperty = affiliation}}
        {{PropertyMapping | templateProperty = party2        | ontologyProperty = affiliation}}
         {{PropertyMapping | templateProperty = votes1        | ontologyProperty = PopularVote}}
         {{PropertyMapping | templateProperty = votes1        | ontologyProperty = PopularVote}}
        {{PropertyMapping | templateProperty = votes2        | ontologyProperty = PopularVote}}
}}
}}
}}
}}

Revision as of 12:12, 29 July 2010

This is the mapping for the Wikipedia template Infobox election. 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 Election

Mappings




Property Mapping (help)
template property election_name
ontology property title




Property Mapping (help)
template property country
ontology property country




Property Mapping (help)
template property election_date
ontology property startDate




Property Mapping (help)
template property party1
ontology property affiliation




Property Mapping (help)
template property party2
ontology property affiliation




Property Mapping (help)
template property votes1
ontology property PopularVote




Property Mapping (help)
template property votes2
ontology property PopularVote

}}