Mapping en:Infobox airport: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(used defines a date interval, mapped to openingDate and dateOfAbandonment)
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DisclaimerMapping|{{PAGENAMEE}}}}
{{ TemplateMapping | mapToClass = Airport | mappings =
    {{ PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
    {{ PropertyMapping | templateProperty = nativename | ontologyProperty = foaf:name }}
    {{ PropertyMapping | templateProperty = nativename-a | ontologyProperty = foaf:name }}
    {{ PropertyMapping | templateProperty = nativename-r | ontologyProperty = foaf:name }}
    <!-- Airportidentifier -->


{{TemplateMapping
    {{ PropertyMapping | templateProperty = IATA | ontologyProperty = iataLocationIdentifier }}
| mapToClass = Airport
    {{ PropertyMapping | templateProperty = ICAO | ontologyProperty = icaoLocationIdentifier }}
| mappings =
    {{ PropertyMapping | templateProperty = FAA | ontologyProperty = faaLocationIdentifier }}
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
    {{ PropertyMapping | templateProperty = LID | ontologyProperty = locationIdentifier }}
{{PropertyMapping | templateProperty = nativename | ontologyProperty = foaf:name }}
    <!-- Airport summary -->
{{PropertyMapping | templateProperty = nativename-a | ontologyProperty = foaf:name }}
 
{{PropertyMapping | templateProperty = nativename-r | ontologyProperty = foaf:name }}
    {{ PropertyMapping | templateProperty = type | ontologyProperty = type }}
<!-- Airportidentifier -->
    {{ PropertyMapping | templateProperty = owner | ontologyProperty = owner }}
        {{PropertyMapping | templateProperty = IATA | ontologyProperty = iataLocationIdentifier }}
    {{ PropertyMapping | templateProperty = operator | ontologyProperty = operator }}
        {{PropertyMapping | templateProperty = ICAO | ontologyProperty = icaoLocationIdentifier }}
    {{ PropertyMapping | templateProperty = owner-oper | ontologyProperty = owner }}
        {{PropertyMapping | templateProperty = FAA | ontologyProperty = faaLocationIdentifier }}
    {{ PropertyMapping | templateProperty = owner-oper | ontologyProperty = operator }}
        {{PropertyMapping | templateProperty = LID | ontologyProperty = locationIdentifier }}
    {{ PropertyMapping | templateProperty = city-served | ontologyProperty = city }}
<!-- Airport summary -->
    {{ PropertyMapping | templateProperty = location | ontologyProperty = location }}
{{PropertyMapping | templateProperty = type | ontologyProperty = type }}
    {{ PropertyMapping | templateProperty = elevation-f | ontologyProperty = elevation | unit = foot }}
{{PropertyMapping | templateProperty = owner | ontologyProperty = owner }}
    {{ PropertyMapping | templateProperty = elevation-m | ontologyProperty = elevation | unit = metre }}
{{PropertyMapping | templateProperty = owner | ontologyProperty = owningOrganisation }}
    {{ PropertyMapping | templateProperty = r1-number | ontologyProperty = runwayDesignation }}
{{PropertyMapping | templateProperty = operator | ontologyProperty = operator }}
    {{ PropertyMapping | templateProperty = r1-length-f | ontologyProperty = runwayLength | unit = foot }}
{{PropertyMapping | templateProperty = owner-oper | ontologyProperty = owner }}
    {{ PropertyMapping | templateProperty = r1-length-m | ontologyProperty = runwayLength | unit = metre }}
{{PropertyMapping | templateProperty = owner-oper | ontologyProperty = owningOrganisation }}
    {{ PropertyMapping | templateProperty = r1-surface | ontologyProperty = runwaySurface }}
{{PropertyMapping | templateProperty = owner-oper | ontologyProperty = operator }}
    {{ PropertyMapping | templateProperty = r2-number | ontologyProperty = runwayDesignation  }}
{{PropertyMapping | templateProperty = city-served | ontologyProperty = city }}
    {{ PropertyMapping | templateProperty = r2-length-f | ontologyProperty = runwayLength | unit = foot }}
        {{PropertyMapping | templateProperty = location | ontologyProperty = location }}
    {{ PropertyMapping | templateProperty = r2-length-m | ontologyProperty = runwayLength | unit = metre }}
{{PropertyMapping | templateProperty = elevation-f | ontologyProperty = elevation | unit = foot }}
    {{ PropertyMapping | templateProperty = r2-surface | ontologyProperty = runwaySurface }}
{{PropertyMapping | templateProperty = elevation-m | ontologyProperty = elevation | unit = metre }}
    {{ PropertyMapping | templateProperty = r3-number | ontologyProperty = runwayDesignation  }}
{{DateIntervalMapping | templateProperty = built | startDateOntologyProperty = buildingStartDate | endDateOntologyProperty = buildingEndDate }}
    {{ PropertyMapping | templateProperty = r3-length-f | ontologyProperty = runwayLength | unit = foot }}
        {{GeocoordinatesMapping | coordinates = coordinates }}
    {{ PropertyMapping | templateProperty = r3-length-m | ontologyProperty = runwayLength | unit = metre }}
{{PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}
    {{ PropertyMapping | templateProperty = r3-surface | ontologyProperty = runwaySurface }}
<!-- Military airports -->
    {{ PropertyMapping | templateProperty = r4-number | ontologyProperty = runwayDesignation  }}
        {{PropertyMapping | templateProperty = commander | ontologyProperty = commander }}
    {{ PropertyMapping | templateProperty = r4-length-f | ontologyProperty = runwayLength | unit = foot }}
        {{DateIntervalMapping | templateProperty = used | startDateOntologyProperty = openingDate | endDateOntologyProperty = dateOfAbandonment }}
    {{ PropertyMapping | templateProperty = r4-length-m | ontologyProperty = runwayLength | unit = metre }}
}}
    {{ PropertyMapping | templateProperty = r4-surface | ontologyProperty = runwaySurface }}
    {{ PropertyMapping | templateProperty = r5-number | ontologyProperty = runwayDesignation  }}
    {{ PropertyMapping | templateProperty = r5-length-f | ontologyProperty = runwayLength | unit = foot }}
    {{ PropertyMapping | templateProperty = r5-length-m | ontologyProperty = runwayLength | unit = metre }}
    {{ PropertyMapping | templateProperty = r5-surface | ontologyProperty = runwaySurface }}
    {{ PropertyMapping | templateProperty = r6-number | ontologyProperty = runwayDesignation  }}
    {{ PropertyMapping | templateProperty = r6-length-f | ontologyProperty = runwayLength | unit = foot }}
    {{ PropertyMapping | templateProperty = r6-length-m | ontologyProperty = runwayLength | unit = metre }}
    {{ PropertyMapping | templateProperty = r6-surface | ontologyProperty = runwaySurface }}
    {{ PropertyMapping | templateProperty = r7-number | ontologyProperty = runwayDesignation  }}
    {{ PropertyMapping | templateProperty = r7-length-f | ontologyProperty = runwayLength | unit = foot }}
    {{ PropertyMapping | templateProperty = r7-length-m | ontologyProperty = runwayLength | unit = metre }}
    {{ PropertyMapping | templateProperty = r7-surface | ontologyProperty = runwaySurface }}
    {{ PropertyMapping | templateProperty = r8-number | ontologyProperty = runwayDesignation  }}
    {{ PropertyMapping | templateProperty = r8-length-f | ontologyProperty = runwayLength | unit = foot }}
    {{ PropertyMapping | templateProperty = r8-length-m | ontologyProperty = runwayLength | unit = metre }}
    {{ PropertyMapping | templateProperty = r8-surface | ontologyProperty = runwaySurface }}
    {{ DateIntervalMapping | templateProperty = built | startDateOntologyProperty = buildingStartDate | endDateOntologyProperty = buildingEndDate }}
    {{ GeocoordinatesMapping | coordinates = coordinates }}
{{GeocoordinatesMapping | latitudeDirection = latNS | latitudeDegrees = latd | latitudeMinutes = latm | latitudeSeconds = lats | longitudeDirection = longEW | longitudeDegrees = longd | longitudeMinutes = longm | longitudeSeconds = longs }}
    {{ PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}
    <!-- Military airports -->
 
    {{ PropertyMapping | templateProperty = commander | ontologyProperty = commander }}
    {{ DateIntervalMapping | templateProperty = used | startDateOntologyProperty = openingDate | endDateOntologyProperty = dateOfAbandonment }} }}

Latest revision as of 14:27, 1 August 2011

This is the mapping for the Wikipedia template Infobox airport. 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 Airport

Mappings




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




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




Property Mapping (help)
template property nativename-a
ontology property foaf:name




Property Mapping (help)
template property nativename-r
ontology property foaf:name





Property Mapping (help)
template property IATA
ontology property iataLocationIdentifier




Property Mapping (help)
template property ICAO
ontology property icaoLocationIdentifier




Property Mapping (help)
template property FAA
ontology property faaLocationIdentifier




Property Mapping (help)
template property LID
ontology property locationIdentifier





Property Mapping (help)
template property type
ontology property type




Property Mapping (help)
template property owner
ontology property owner




Property Mapping (help)
template property operator
ontology property operator




Property Mapping (help)
template property owner-oper
ontology property owner




Property Mapping (help)
template property owner-oper
ontology property operator




Property Mapping (help)
template property city-served
ontology property city




Property Mapping (help)
template property location
ontology property location


Property Mapping (help)
template property elevation-f
ontology property elevation
unitfoot


Property Mapping (help)
template property elevation-m
ontology property elevation
unitmetre




Property Mapping (help)
template property r1-number
ontology property runwayDesignation


Property Mapping (help)
template property r1-length-f
ontology property runwayLength
unitfoot


Property Mapping (help)
template property r1-length-m
ontology property runwayLength
unitmetre




Property Mapping (help)
template property r1-surface
ontology property runwaySurface




Property Mapping (help)
template property r2-number
ontology property runwayDesignation


Property Mapping (help)
template property r2-length-f
ontology property runwayLength
unitfoot


Property Mapping (help)
template property r2-length-m
ontology property runwayLength
unitmetre




Property Mapping (help)
template property r2-surface
ontology property runwaySurface




Property Mapping (help)
template property r3-number
ontology property runwayDesignation


Property Mapping (help)
template property r3-length-f
ontology property runwayLength
unitfoot


Property Mapping (help)
template property r3-length-m
ontology property runwayLength
unitmetre




Property Mapping (help)
template property r3-surface
ontology property runwaySurface




Property Mapping (help)
template property r4-number
ontology property runwayDesignation


Property Mapping (help)
template property r4-length-f
ontology property runwayLength
unitfoot


Property Mapping (help)
template property r4-length-m
ontology property runwayLength
unitmetre




Property Mapping (help)
template property r4-surface
ontology property runwaySurface




Property Mapping (help)
template property r5-number
ontology property runwayDesignation


Property Mapping (help)
template property r5-length-f
ontology property runwayLength
unitfoot


Property Mapping (help)
template property r5-length-m
ontology property runwayLength
unitmetre




Property Mapping (help)
template property r5-surface
ontology property runwaySurface




Property Mapping (help)
template property r6-number
ontology property runwayDesignation


Property Mapping (help)
template property r6-length-f
ontology property runwayLength
unitfoot


Property Mapping (help)
template property r6-length-m
ontology property runwayLength
unitmetre




Property Mapping (help)
template property r6-surface
ontology property runwaySurface




Property Mapping (help)
template property r7-number
ontology property runwayDesignation


Property Mapping (help)
template property r7-length-f
ontology property runwayLength
unitfoot


Property Mapping (help)
template property r7-length-m
ontology property runwayLength
unitmetre




Property Mapping (help)
template property r7-surface
ontology property runwaySurface




Property Mapping (help)
template property r8-number
ontology property runwayDesignation


Property Mapping (help)
template property r8-length-f
ontology property runwayLength
unitfoot


Property Mapping (help)
template property r8-length-m
ontology property runwayLength
unitmetre




Property Mapping (help)
template property r8-surface
ontology property runwaySurface


Date Interval Mapping (help)
template property built
start date ontology property buildingStartDate
end date ontology property buildingEndDate
Geocoordinates Mapping (help)
coordinates template property coordinates
Geocoordinates Mapping (help)
longitude degrees template property longd
longitude minutes template property longm
longitude seconds template property longs
longitude direction template property longEW
latitude degrees template property latd
latitude minutes template property latm
latitude seconds template property lats
latitude direction template property latNS




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





Property Mapping (help)
template property commander
ontology property commander


Date Interval Mapping (help)
template property used
start date ontology property openingDate
end date ontology property dateOfAbandonment