Mapping en:Infobox election: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(Created page with '{{TemplateMapping | mapToClass = Election | mappings = {{PropertyMapping | templateProperty = election_name | ontologyProperty = name }} {{PropertyMapping | templateProperty = ...')
 
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 2: Line 2:
| mapToClass = Election
| mapToClass = Election
| mappings =
| mappings =
{{PropertyMapping | templateProperty = election_name | ontologyProperty = name }}
{{PropertyMapping | templateProperty = election_name | ontologyProperty = title }}
{{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 = party2        | ontologyProperty = affiliation}}
        {{PropertyMapping | templateProperty = popular_vote1 | ontologyProperty = firstPopularVote}}
        {{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