Mapping en:Infobox national military: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(commented out buggy mappings)
(commented out buggy mappings)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{ TemplateMapping | mapToClass = MilitaryUnit | mappings =  
{{ TemplateMapping | mapToClass = MilitaryUnit | mappings =  
     {{ PropertyMapping | ontologyProperty = country | templateProperty = country }}
     {{ PropertyMapping | ontologyProperty = country | templateProperty = country }}
     {{ PropertyMapping | ontologyProperty = foaf:givenName | templateProperty = name }}
     {{ PropertyMapping | ontologyProperty = foaf:name | templateProperty = name }}
     {{ PropertyMapping | ontologyProperty = foaf:familyName | templateProperty = native_name }}
     {{ PropertyMapping | ontologyProperty = foaf:name | templateProperty = native_name }}
     {{ PropertyMapping | ontologyProperty = picture | templateProperty = image }}
     {{ PropertyMapping | ontologyProperty = picture | templateProperty = image }}
     <!-- {{ PropertyMapping | ontologyProperty =  | templateProperty = caption }} -->
     <!-- {{ PropertyMapping | ontologyProperty =  | templateProperty = caption }} -->
Line 8: Line 8:
     <!-- {{ PropertyMapping | ontologyProperty =  | templateProperty = caption2 }} -->
     <!-- {{ PropertyMapping | ontologyProperty =  | templateProperty = caption2 }} -->
     {{ PropertyMapping | ontologyProperty = foundingDate | templateProperty = founded }}
     {{ PropertyMapping | ontologyProperty = foundingDate | templateProperty = founded }}
     {{ PropertyMapping | ontologyProperty = rebuildDate | templateProperty = current_form }}
     <!-- {{ PropertyMapping | ontologyProperty = | templateProperty = current_form }} -->
     {{ PropertyMapping | ontologyProperty = destructionDate | templateProperty = disbanded }}
     <!-- {{ PropertyMapping | ontologyProperty = | templateProperty = disbanded }} -->
     <!-- {{ PropertyMapping | ontologyProperty = MilitaryUnit | templateProperty = branches }} -->
     <!-- {{ PropertyMapping | ontologyProperty = MilitaryUnit | templateProperty = branches }} -->
     <!-- {{ CombineDateMapping | ontologyProperty = commander | templateProperty1 = commander | templateProperty2 = commander-in-chief | unit1 =  | unit2 =  }} -->
     <!-- {{ CombineDateMapping | ontologyProperty = commander | templateProperty1 = commander | templateProperty2 = commander-in-chief | unit1 =  | unit2 =  }} -->
     <!-- {{ CombineDateMapping | ontologyProperty = title | templateProperty1 = commander_title | templateProperty2 = commander-in-chief_title | unit1 =  | unit2 =  }} -->
     <!-- {{ CombineDateMapping | ontologyProperty = title | templateProperty1 = commander_title | templateProperty2 = commander-in-chief_title | unit1 =  | unit2 =  }} -->
     {{ PropertyMapping | ontologyProperty = primeMinister | templateProperty = minister }}
     <!-- {{ PropertyMapping | ontologyProperty = | templateProperty = minister }} -->
     {{ PropertyMapping | ontologyProperty = title | templateProperty = minister_title }}
     <!-- {{ PropertyMapping | ontologyProperty = | templateProperty = minister_title }} -->
     {{ PropertyMapping | ontologyProperty = ageRange | templateProperty = age }}
     {{ PropertyMapping | ontologyProperty = ageRange | templateProperty = age }}
     {{ PropertyMapping | ontologyProperty = ageRange | templateProperty = conscription }}
     {{ PropertyMapping | ontologyProperty = ageRange | templateProperty = conscription }}
     {{ PropertyMapping | ontologyProperty = date| templateProperty = manpower_data}}
     {{ PropertyMapping | ontologyProperty = date| templateProperty = manpower_data}}
     {{ PropertyMapping | ontologyProperty = ageRange | templateProperty = manpower_age}}
     {{ PropertyMapping | ontologyProperty = ageRange | templateProperty = manpower_age}}
     {{ PropertyMapping | ontologyProperty = totalLaunches | templateProperty = active }}
     <!-- {{ PropertyMapping | ontologyProperty = totalLaunches | templateProperty = active }} -->
}}
}}

Latest revision as of 00:30, 23 February 2012

This is the mapping for the Wikipedia template Infobox national military. 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 MilitaryUnit

Mappings




Property Mapping (help)
template property country
ontology property country




Property Mapping (help)
template property name
ontology property foaf:name




Property Mapping (help)
template property native_name
ontology property foaf:name




Property Mapping (help)
template property image
ontology property picture




Property Mapping (help)
template property image2
ontology property picture




Property Mapping (help)
template property founded
ontology property foundingDate




Property Mapping (help)
template property age
ontology property ageRange




Property Mapping (help)
template property conscription
ontology property ageRange




Property Mapping (help)
template property manpower_data
ontology property date




Property Mapping (help)
template property manpower_age
ontology property ageRange