Mapping en:Infobox national military: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(commented out buggy mappings)
(commented out more buggy mappings. foaf:familyName and foaf:givenName only applies to persons)
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 19: Line 19:
     {{ 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 }} -->
}}
}}

Revision as of 16:20, 22 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 current_form
ontology property rebuildDate




Property Mapping (help)
template property disbanded
ontology property destructionDate




Property Mapping (help)
template property minister
ontology property primeMinister




Property Mapping (help)
template property minister_title
ontology property title




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