Mapping en:Infobox military unit: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(DateIntervalMapping for dates)
No edit summary
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{DisclaimerMapping|{{PAGENAMEE}}}}
{{TemplateMapping
{{TemplateMapping
| mapToClass = MilitaryUnit
| mapToClass = MilitaryUnit
| mappings =
| mappings =
{{PropertyMapping | templateProperty = country | ontologyProperty = country }}
<!-- standard properties -->
{{PropertyMapping | templateProperty = branch | ontologyProperty = branch }}
        {{PropertyMapping | templateProperty = unit_name | ontologyProperty = foaf:name }}
        {{DateIntervalMapping
          | templateProperty          = dates
          | startDateOntologyProperty = activeYearsStartYear
          | endDateOntologyProperty  = activeYearsEndYear
        }}
        {{PropertyMapping | templateProperty = country | ontologyProperty = country }}       
        {{PropertyMapping | templateProperty = allegiance | ontologyProperty = country }}
{{PropertyMapping | templateProperty = branch | ontologyProperty = militaryBranch }}
{{PropertyMapping | templateProperty = type | ontologyProperty = type }}
{{PropertyMapping | templateProperty = role | ontologyProperty = role }}
{{PropertyMapping | templateProperty = role | ontologyProperty = role }}
{{PropertyMapping | templateProperty = size | ontologyProperty = size }}
{{PropertyMapping | templateProperty = size | ontologyProperty = militaryUnitSize}}
{{PropertyMapping | templateProperty = command_structure | ontologyProperty = commandStructure }}
{{PropertyMapping | templateProperty = command_structure | ontologyProperty = commandStructure }}
{{PropertyMapping | templateProperty = garrison | ontologyProperty = garrison }}
{{PropertyMapping | templateProperty = garrison | ontologyProperty = garrison }}
{{PropertyMapping | templateProperty = nickname | ontologyProperty = nickname }}
{{PropertyMapping | templateProperty = nickname | ontologyProperty = foaf:nick }}
{{PropertyMapping | templateProperty = motto | ontologyProperty = motto }}
{{PropertyMapping | templateProperty = patron | ontologyProperty = patron }}
{{PropertyMapping | templateProperty = patron | ontologyProperty = patron }}
{{PropertyMapping | templateProperty = colors | ontologyProperty = color }}
{{PropertyMapping | templateProperty = colors | ontologyProperty = colourName }}
{{PropertyMapping | templateProperty = colors | ontologyProperty = colour }}
{{PropertyMapping | templateProperty = march | ontologyProperty = march }}
{{PropertyMapping | templateProperty = march | ontologyProperty = march }}
{{PropertyMapping | templateProperty = mascot | ontologyProperty = mascot }}
{{PropertyMapping | templateProperty = mascot | ontologyProperty = mascot }}
{{PropertyMapping | templateProperty = battles | ontologyProperty = battle }}
{{PropertyMapping | templateProperty = battles | ontologyProperty = battle }}
{{PropertyMapping | templateProperty = anniversaries | ontologyProperty = anniversary }}
{{PropertyMapping | templateProperty = anniversaries | ontologyProperty = anniversary }}
{{PropertyMapping | templateProperty = disbanded | ontologyProperty = disbanded }}
{{PropertyMapping | templateProperty = battle_honours | ontologyProperty = battleHonours }}
{{PropertyMapping | templateProperty = battle_honours | ontologyProperty = battleHonours }}
{{PropertyMapping | templateProperty = disbanded | ontologyProperty = disbanded }}
{{PropertyMapping | templateProperty = flying_hours | ontologyProperty = flyingHours }}
{{PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}
<!-- Commanders -->
{{PropertyMapping | templateProperty = commander1 | ontologyProperty = commander }}
{{PropertyMapping | templateProperty = commander1 | ontologyProperty = commander }}
{{PropertyMapping | templateProperty = commander2 | ontologyProperty = secondCommander }}
{{PropertyMapping | templateProperty = commander2 | ontologyProperty = secondCommander }}
{{PropertyMapping | templateProperty = commander3 | ontologyProperty = thirdCommander }}
{{PropertyMapping | templateProperty = commander3 | ontologyProperty = thirdCommander }}
{{PropertyMapping | templateProperty = commander4 | ontologyProperty = fourthCommander }}
{{PropertyMapping | templateProperty = notable_commanders | ontologyProperty = notableCommander }}
{{PropertyMapping | templateProperty = notable_commanders | ontologyProperty = notableCommander }}
<!-- Insignia -->
{{PropertyMapping | templateProperty = identification_symbol | ontologyProperty = identificationSymbol }}
{{PropertyMapping | templateProperty = identification_symbol | ontologyProperty = identificationSymbol }}
{{PropertyMapping | templateProperty = identification_symbol_2 | ontologyProperty = identificationSymbol }}
{{PropertyMapping | templateProperty = identification_symbol_2 | ontologyProperty = identificationSymbol }}
{{PropertyMapping | templateProperty = identification_symbol_3 | ontologyProperty = identificationSymbol }}
{{PropertyMapping | templateProperty = identification_symbol_3 | ontologyProperty = identificationSymbol }}
{{PropertyMapping | templateProperty = identification_symbol_4 | ontologyProperty = identificationSymbol }}
{{PropertyMapping | templateProperty = identification_symbol_4 | ontologyProperty = identificationSymbol }}
<!-- Aircraft -->
{{PropertyMapping | templateProperty = aircraft_attack | ontologyProperty = aircraftAttack }}
{{PropertyMapping | templateProperty = aircraft_attack | ontologyProperty = aircraftAttack }}
{{PropertyMapping | templateProperty = aircraft_bomber | ontologyProperty = aircraftBomber }}
{{PropertyMapping | templateProperty = aircraft_bomber | ontologyProperty = aircraftBomber }}
{{PropertyMapping | templateProperty = aircraft_electronic | ontologyProperty = aircraftElectronic }}
{{PropertyMapping | templateProperty = aircraft_electronic | ontologyProperty = aircraftElectronic }}
{{PropertyMapping | templateProperty = aircraft_fighter | ontologyProperty = aircraftFigther }}
{{PropertyMapping | templateProperty = aircraft_fighter | ontologyProperty = aircraftFighter }}
{{PropertyMapping | templateProperty = aircraft_helicopter | ontologyProperty = aircraftHelicopter }}
{{PropertyMapping | templateProperty = aircraft_helicopter | ontologyProperty = aircraftHelicopter }}
{{PropertyMapping | templateProperty = aircraft_helicopter_attack | ontologyProperty = aircraftHelicopterAttack }}
{{PropertyMapping | templateProperty = aircraft_helicopter_attack | ontologyProperty = aircraftHelicopterAttack }}
Line 43: Line 58:
{{PropertyMapping | templateProperty = aircraft_trainer | ontologyProperty = aircraftTrainer }}
{{PropertyMapping | templateProperty = aircraft_trainer | ontologyProperty = aircraftTrainer }}
{{PropertyMapping | templateProperty = aircraft_transport | ontologyProperty = aircraftTransport }}
{{PropertyMapping | templateProperty = aircraft_transport | ontologyProperty = aircraftTransport }}
{{PropertyMapping | templateProperty = unit_name | ontologyProperty = foaf:name }}
 
        {{DateIntervalMapping
          | templateProperty          = dates
          | startDateOntologyProperty = activeYearsStartYear
          | endDateOntologyProperty  = activeYearsEndYear
        }}
{{PropertyMapping | templateProperty = type | ontologyProperty = type }}
{{PropertyMapping | templateProperty = motto | ontologyProperty = motto }}
}}
}}

Latest revision as of 12:07, 23 May 2011

This is the mapping for the Wikipedia template Infobox military unit. 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 unit_name
ontology property foaf:name


Date Interval Mapping (help)
template property dates
start date ontology property activeYearsStartYear
end date ontology property activeYearsEndYear




Property Mapping (help)
template property country
ontology property country




Property Mapping (help)
template property allegiance
ontology property country




Property Mapping (help)
template property branch
ontology property militaryBranch




Property Mapping (help)
template property type
ontology property type




Property Mapping (help)
template property role
ontology property role




Property Mapping (help)
template property size
ontology property militaryUnitSize




Property Mapping (help)
template property command_structure
ontology property commandStructure




Property Mapping (help)
template property garrison
ontology property garrison




Property Mapping (help)
template property nickname
ontology property foaf:nick




Property Mapping (help)
template property motto
ontology property motto




Property Mapping (help)
template property patron
ontology property patron




Property Mapping (help)
template property colors
ontology property colourName




Property Mapping (help)
template property colors
ontology property colour




Property Mapping (help)
template property march
ontology property march




Property Mapping (help)
template property mascot
ontology property mascot




Property Mapping (help)
template property battles
ontology property battle




Property Mapping (help)
template property anniversaries
ontology property anniversary




Property Mapping (help)
template property disbanded
ontology property disbanded




Property Mapping (help)
template property battle_honours
ontology property battleHonours




Property Mapping (help)
template property flying_hours
ontology property flyingHours




Property Mapping (help)
template property website
ontology property foaf:homepage




Property Mapping (help)
template property commander1
ontology property commander




Property Mapping (help)
template property commander2
ontology property secondCommander




Property Mapping (help)
template property commander3
ontology property thirdCommander




Property Mapping (help)
template property commander4
ontology property fourthCommander




Property Mapping (help)
template property notable_commanders
ontology property notableCommander




Property Mapping (help)
template property identification_symbol
ontology property identificationSymbol




Property Mapping (help)
template property identification_symbol_2
ontology property identificationSymbol




Property Mapping (help)
template property identification_symbol_3
ontology property identificationSymbol




Property Mapping (help)
template property identification_symbol_4
ontology property identificationSymbol




Property Mapping (help)
template property aircraft_attack
ontology property aircraftAttack




Property Mapping (help)
template property aircraft_bomber
ontology property aircraftBomber




Property Mapping (help)
template property aircraft_electronic
ontology property aircraftElectronic




Property Mapping (help)
template property aircraft_fighter
ontology property aircraftFighter




Property Mapping (help)
template property aircraft_helicopter
ontology property aircraftHelicopter




Property Mapping (help)
template property aircraft_helicopter_attack
ontology property aircraftHelicopterAttack




Property Mapping (help)
template property aircraft_helicopter_cargo
ontology property aircraftHelicopterCargo




Property Mapping (help)
template property aircraft_helicopter_multirole
ontology property aircraftHelicopterMultirole




Property Mapping (help)
template property aircraft_helicopter_observation
ontology property aircraftHelicopterObservation




Property Mapping (help)
template property aircraft_helicopter_transport
ontology property aircraftHelicopterTransport




Property Mapping (help)
template property aircraft_helicopter_utility
ontology property aircraftHelicopterUtility




Property Mapping (help)
template property aircraft_interceptor
ontology property aircraftInterceptor




Property Mapping (help)
template property aircraft_patrol
ontology property aircraftPatrol




Property Mapping (help)
template property aircraft_recon
ontology property aircraftRecon




Property Mapping (help)
template property aircraft_trainer
ontology property aircraftTrainer




Property Mapping (help)
template property aircraft_transport
ontology property aircraftTransport