Mapping en:Infobox election: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
mNo edit summary
No edit summary
 
(7 intermediate revisions by 2 users not shown)
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 = leader1      | ontologyProperty = firstLeader}}
        {{PropertyMapping | templateProperty = leader2      | ontologyProperty = secondLeader}}
         {{PropertyMapping | templateProperty = party1        | ontologyProperty = affiliation}}
         {{PropertyMapping | templateProperty = party1        | ontologyProperty = affiliation}}
         {{PropertyMapping | templateProperty = party2        | ontologyProperty = affiliation}}
         {{PropertyMapping | templateProperty = party2        | ontologyProperty = affiliation}}
         {{PropertyMapping | templateProperty = votes1        | ontologyProperty = PopularVote}}
         {{PropertyMapping | templateProperty = popular_vote1 | ontologyProperty = firstPopularVote}}
         {{PropertyMapping | templateProperty = votes2        | ontologyProperty = PopularVote}}
         {{PropertyMapping | templateProperty = popular_vote2 | ontologyProperty = secondPopularVote}}
}}
}}
}}

Latest revision as of 14:00, 3 April 2011

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 leader1
ontology property firstLeader




Property Mapping (help)
template property leader2
ontology property secondLeader




Property Mapping (help)
template property party1
ontology property affiliation




Property Mapping (help)
template property party2
ontology property affiliation