Mapping en:Infobox UK place: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
(rtrim on lines) |
No edit summary |
||
(17 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{TemplateMapping | ||
| mapToClass = | | mapToClass = Settlement | ||
| mappings = | | mappings = | ||
{{ | {{ConstantMapping | ontologyProperty = country | value = United_Kingdom }} | ||
{{ | {{PropertyMapping | templateProperty = official_name | ontologyProperty = foaf:name }} | ||
{{ | {{PropertyMapping | templateProperty = local_name | ontologyProperty = foaf:name }} | ||
{{ | {{PropertyMapping | templateProperty = country | ontologyProperty = country }} | ||
{{ | {{PropertyMapping | templateProperty = crown_dependency | ontologyProperty = crownDependency }} | ||
{{ | {{PropertyMapping | templateProperty = region | ontologyProperty = region }} | ||
{{ | {{PropertyMapping | templateProperty = region1 | ontologyProperty = region }} | ||
{{ | {{PropertyMapping | templateProperty = os_grid_reference | ontologyProperty = gridReference }} | ||
{{ | {{PropertyMapping | templateProperty = dial_code | ontologyProperty = areaCode }} | ||
{{ | {{PropertyMapping | templateProperty = postcode_district | ontologyProperty = postalCode }} | ||
{{GeocoordinatesMapping | latitude = latitude | longitude = longitude | latitudeSeconds = lat_sec | longitudeDegrees = lon_deg | longitudeMinutes = lon_min | longitudeSeconds = lon_sec | longitudeSeconds = longs | longitudeDirection = longEW }} | |||
<!-- STATISTICS --> | |||
{{PropertyMapping | templateProperty = area_total_sq_mi | ontologyProperty = areaTotal | unit = squareMile }} | |||
{{ | {{PropertyMapping | templateProperty = area_total_km2 | ontologyProperty = areaTotal | unit = squareKilometre }} | ||
{{ | {{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal }} | ||
{{ | {{PropertyMapping | templateProperty = population_density | ontologyProperty = populationDensity | unit = inhabitantsPerSquareKilometre }} | ||
{{ | {{PropertyMapping | templateProperty = population_ref | ontologyProperty = populationAsOf }} | ||
{{ | <!-- DISTANCES --> | ||
{{ | {{PropertyMapping | templateProperty = belfast_distance_mi | ontologyProperty = distanceToBelfast | unit = mile }} | ||
{{ | {{PropertyMapping | templateProperty = belfast_distance_km | ontologyProperty = distanceToBelfast | unit = kilometre }} | ||
{{ | {{PropertyMapping | templateProperty = belfast_distance | ontologyProperty = distanceToBelfast }} | ||
{{ | {{PropertyMapping | templateProperty = edinburgh_distance_mi | ontologyProperty = distanceToEdinburgh | unit = mile }} | ||
{{ | {{PropertyMapping | templateProperty = edinburgh_distance_km | ontologyProperty = distanceToEdinburgh | unit = kilometre }} | ||
{{PropertyMapping | templateProperty = edinburgh_distance | ontologyProperty = distanceToEdinburgh }} | |||
{{ | {{PropertyMapping | templateProperty = london_distance_mi | ontologyProperty = distanceToLondon | unit = mile }} | ||
{{ | {{PropertyMapping | templateProperty = london_distance_km | ontologyProperty = distanceToLondon | unit = kilometre }} | ||
{{ | {{PropertyMapping | templateProperty = london_distance | ontologyProperty = distanceToLondon }} | ||
{{ | {{PropertyMapping | templateProperty = cardiff_distance_mi | ontologyProperty = distanceToCardiff | unit = mile }} | ||
{{ | {{PropertyMapping | templateProperty = cardiff_distance_km | ontologyProperty = distanceToCardiff | unit = kilometre }} | ||
{{ | {{PropertyMapping | templateProperty = cardiff_distance | ontologyProperty = distanceToCardiff }} | ||
{{ | {{PropertyMapping | templateProperty = douglas_distance_mi | ontologyProperty = distanceToDouglas | unit = mile }} | ||
{{ | {{PropertyMapping | templateProperty = douglas_distance_km | ontologyProperty = distanceToDouglas | unit = kilometre }} | ||
{{ | {{PropertyMapping | templateProperty = douglas_distance | ontologyProperty = distanceToDouglas }} | ||
{{ | {{PropertyMapping | templateProperty = dublin_distance_mi | ontologyProperty = distanceToDublin | unit = mile }} | ||
{{ | {{PropertyMapping | templateProperty = dublin_distance_km | ontologyProperty = distanceToDublin | unit = kilometre }} | ||
{{ | {{PropertyMapping | templateProperty = dublin_distance | ontologyProperty = distanceToDublin }} | ||
{{ | {{PropertyMapping | templateProperty = charingX_distance_mi | ontologyProperty = distanceToCharingCross | unit = mile }} | ||
{{ | {{PropertyMapping | templateProperty = charingX_distance_km | ontologyProperty = distanceToCharingCross | unit = kilometre }} | ||
{{ | {{PropertyMapping | templateProperty = charingX_distance | ontologyProperty = distanceToCharingCross }} | ||
{{ | <!-- SCOTLAND-SPECIFIC --> | ||
{{ | {{PropertyMapping | templateProperty = gaelic_name | ontologyProperty = foaf:name }} | ||
{{ | {{PropertyMapping | templateProperty = scots_name | ontologyProperty = foaf:name }} | ||
{{ | {{PropertyMapping | templateProperty = unitary_scotland | ontologyProperty = councilArea }} | ||
{{ | {{PropertyMapping | templateProperty = unitary_scotland1 | ontologyProperty = councilArea }} | ||
{{ | {{PropertyMapping | templateProperty = lieutenancy_scotland | ontologyProperty = lieutenancyArea }} | ||
{{ | {{PropertyMapping | templateProperty = lieutenancy_scotland1 | ontologyProperty = lieutenancyArea }} | ||
{{ | <!-- WALES-SPECIFIC --> | ||
{{ | {{PropertyMapping | templateProperty = welsh_name | ontologyProperty = foaf:name }} | ||
{{ | {{PropertyMapping | templateProperty = unitary_wales | ontologyProperty = principalArea }} | ||
{{ | {{PropertyMapping | templateProperty = unitary_wales1 | ontologyProperty = principalArea }} | ||
{{ | {{PropertyMapping | templateProperty = lieutenancy_wales | ontologyProperty = ceremonialCounty }} | ||
{{ | {{PropertyMapping | templateProperty = lieutenancy_wales1 | ontologyProperty = ceremonialCounty }} | ||
{{ | <!-- NORTHERN IRELAND-SPECIFIC --> | ||
{{ | {{PropertyMapping | templateProperty = irish_name | ontologyProperty = foaf:name }} | ||
{{ | {{PropertyMapping | templateProperty = unitary_northern_ireland | ontologyProperty = district }} | ||
{{ | {{PropertyMapping | templateProperty = unitary_northern_ireland1 | ontologyProperty = district }} | ||
{{ | {{PropertyMapping | templateProperty = unitary_northern_ireland2 | ontologyProperty = district }} | ||
{{ | {{PropertyMapping | templateProperty = lieutenancy_northern_ireland | ontologyProperty = county }} | ||
{{ | {{PropertyMapping | templateProperty = lieutenancy_northern_ireland1 | ontologyProperty = county }} | ||
{{ | {{PropertyMapping | templateProperty = lieutenancy_northern_ireland2 | ontologyProperty = county }} | ||
{{ | <!-- ISLE OF MAN-SPECIFIC --> | ||
{{ | {{PropertyMapping | templateProperty = manx_name | ontologyProperty = foaf:name }} | ||
{{PropertyMapping | templateProperty = manx_parish | ontologyProperty = parish }} | |||
{{PropertyMapping | templateProperty = manx_shedding | ontologyProperty = sheading }} | |||
{{PropertyMapping | templateProperty = constituency_manx_parliament | ontologyProperty = principalArea }} | |||
<!-- ENGLAND-SPECIFIC --> | |||
{{PropertyMapping | templateProperty = metropolitan_borough | ontologyProperty = metropolitanBorough }} | |||
{{PropertyMapping | templateProperty = metropolitan_borough1 | ontologyProperty = metropolitanBorough }} | |||
{{ | {{PropertyMapping | templateProperty = shire_district | ontologyProperty = district }} | ||
{{ | {{PropertyMapping | templateProperty = shire_district2 | ontologyProperty = district }} | ||
{{ | {{PropertyMapping | templateProperty = shire_county | ontologyProperty = country }} | ||
{{ | {{PropertyMapping | templateProperty = shire_county | ontologyProperty = country }} | ||
{{ | {{PropertyMapping | templateProperty = lieutenancy_england | ontologyProperty = ceremonialCounty }} | ||
{{ | {{PropertyMapping | templateProperty = lieutenancy_england1 | ontologyProperty = ceremonialCounty }} | ||
{{ | <!-- (also produces London Assembly constituency) --> | ||
{{ | {{PropertyMapping | templateProperty = london_borough | ontologyProperty = borough }} | ||
{{ | {{PropertyMapping | templateProperty = london_borough1 | ontologyProperty = borough }} | ||
{{ | {{PropertyMapping | templateProperty = london_borough2 | ontologyProperty = borough }} | ||
{{ | {{PropertyMapping | templateProperty = london_borough3 | ontologyProperty = borough }} | ||
{{ | {{PropertyMapping | templateProperty = london_borough4 | ontologyProperty = borough }} | ||
{{ | {{PropertyMapping | templateProperty = cornish_name | ontologyProperty = foaf:name }} | ||
{{ | {{PropertyMapping | templateProperty = other_language_name | ontologyProperty = foaf:name }} | ||
{{PropertyMapping | templateProperty = other_language | ontologyProperty = language }} | |||
{{PropertyMapping | templateProperty = language | ontologyProperty = language }} | |||
{{PropertyMapping | templateProperty = language1 | ontologyProperty = language }} | |||
{{PropertyMapping | templateProperty = language2 | ontologyProperty = language }} | |||
{{PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }} | |||
}} | }} |
Latest revision as of 15:25, 28 July 2011
This is the mapping for the Wikipedia template Infobox UK place. 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 | Settlement |
Mappings
Constant Mapping (help) | |
---|---|
ontology property | country |
value | United_Kingdom |
Property Mapping (help) | |
---|---|
template property | official_name |
ontology property | foaf:name |
Property Mapping (help) | |
---|---|
template property | local_name |
ontology property | foaf:name |
Property Mapping (help) | |
---|---|
template property | country |
ontology property | country |
Property Mapping (help) | |
---|---|
template property | crown_dependency |
ontology property | crownDependency |
Property Mapping (help) | |
---|---|
template property | region |
ontology property | region |
Property Mapping (help) | |
---|---|
template property | region1 |
ontology property | region |
Property Mapping (help) | |
---|---|
template property | os_grid_reference |
ontology property | gridReference |
Property Mapping (help) | |
---|---|
template property | dial_code |
ontology property | areaCode |
Property Mapping (help) | |
---|---|
template property | postcode_district |
ontology property | postalCode |
Geocoordinates Mapping (help) | |
---|---|
latitude template property | latitude |
longitude template property | longitude |
longitude degrees template property | lon_deg |
longitude minutes template property | lon_min |
longitude seconds template property | longs |
longitude direction template property | longEW |
latitude seconds template property | lat_sec |
Property Mapping (help) | |
---|---|
template property | area_total_sq_mi |
ontology property | areaTotal |
unit | squareMile |
Property Mapping (help) | |
---|---|
template property | area_total_km2 |
ontology property | areaTotal |
unit | squareKilometre |
Property Mapping (help) | |
---|---|
template property | population |
ontology property | populationTotal |
Property Mapping (help) | |
---|---|
template property | population_density |
ontology property | populationDensity |
unit | inhabitantsPerSquareKilometre |
Property Mapping (help) | |
---|---|
template property | population_ref |
ontology property | populationAsOf |
Property Mapping (help) | |
---|---|
template property | belfast_distance_mi |
ontology property | distanceToBelfast |
unit | mile |
Property Mapping (help) | |
---|---|
template property | belfast_distance_km |
ontology property | distanceToBelfast |
unit | kilometre |
Property Mapping (help) | |
---|---|
template property | belfast_distance |
ontology property | distanceToBelfast |
Property Mapping (help) | |
---|---|
template property | edinburgh_distance_mi |
ontology property | distanceToEdinburgh |
unit | mile |
Property Mapping (help) | |
---|---|
template property | edinburgh_distance_km |
ontology property | distanceToEdinburgh |
unit | kilometre |
Property Mapping (help) | |
---|---|
template property | edinburgh_distance |
ontology property | distanceToEdinburgh |
Property Mapping (help) | |
---|---|
template property | london_distance_mi |
ontology property | distanceToLondon |
unit | mile |
Property Mapping (help) | |
---|---|
template property | london_distance_km |
ontology property | distanceToLondon |
unit | kilometre |
Property Mapping (help) | |
---|---|
template property | london_distance |
ontology property | distanceToLondon |
Property Mapping (help) | |
---|---|
template property | cardiff_distance_mi |
ontology property | distanceToCardiff |
unit | mile |
Property Mapping (help) | |
---|---|
template property | cardiff_distance_km |
ontology property | distanceToCardiff |
unit | kilometre |
Property Mapping (help) | |
---|---|
template property | cardiff_distance |
ontology property | distanceToCardiff |
Property Mapping (help) | |
---|---|
template property | douglas_distance_mi |
ontology property | distanceToDouglas |
unit | mile |
Property Mapping (help) | |
---|---|
template property | douglas_distance_km |
ontology property | distanceToDouglas |
unit | kilometre |
Property Mapping (help) | |
---|---|
template property | douglas_distance |
ontology property | distanceToDouglas |
Property Mapping (help) | |
---|---|
template property | dublin_distance_mi |
ontology property | distanceToDublin |
unit | mile |
Property Mapping (help) | |
---|---|
template property | dublin_distance_km |
ontology property | distanceToDublin |
unit | kilometre |
Property Mapping (help) | |
---|---|
template property | dublin_distance |
ontology property | distanceToDublin |
Property Mapping (help) | |
---|---|
template property | charingX_distance_mi |
ontology property | distanceToCharingCross |
unit | mile |
Property Mapping (help) | |
---|---|
template property | charingX_distance_km |
ontology property | distanceToCharingCross |
unit | kilometre |
Property Mapping (help) | |
---|---|
template property | charingX_distance |
ontology property | distanceToCharingCross |
Property Mapping (help) | |
---|---|
template property | gaelic_name |
ontology property | foaf:name |
Property Mapping (help) | |
---|---|
template property | scots_name |
ontology property | foaf:name |
Property Mapping (help) | |
---|---|
template property | unitary_scotland |
ontology property | councilArea |
Property Mapping (help) | |
---|---|
template property | unitary_scotland1 |
ontology property | councilArea |
Property Mapping (help) | |
---|---|
template property | lieutenancy_scotland |
ontology property | lieutenancyArea |
Property Mapping (help) | |
---|---|
template property | lieutenancy_scotland1 |
ontology property | lieutenancyArea |
Property Mapping (help) | |
---|---|
template property | welsh_name |
ontology property | foaf:name |
Property Mapping (help) | |
---|---|
template property | unitary_wales |
ontology property | principalArea |
Property Mapping (help) | |
---|---|
template property | unitary_wales1 |
ontology property | principalArea |
Property Mapping (help) | |
---|---|
template property | lieutenancy_wales |
ontology property | ceremonialCounty |
Property Mapping (help) | |
---|---|
template property | lieutenancy_wales1 |
ontology property | ceremonialCounty |
Property Mapping (help) | |
---|---|
template property | irish_name |
ontology property | foaf:name |
Property Mapping (help) | |
---|---|
template property | unitary_northern_ireland |
ontology property | district |
Property Mapping (help) | |
---|---|
template property | unitary_northern_ireland1 |
ontology property | district |
Property Mapping (help) | |
---|---|
template property | unitary_northern_ireland2 |
ontology property | district |
Property Mapping (help) | |
---|---|
template property | lieutenancy_northern_ireland |
ontology property | county |
Property Mapping (help) | |
---|---|
template property | lieutenancy_northern_ireland1 |
ontology property | county |
Property Mapping (help) | |
---|---|
template property | lieutenancy_northern_ireland2 |
ontology property | county |
Property Mapping (help) | |
---|---|
template property | manx_name |
ontology property | foaf:name |
Property Mapping (help) | |
---|---|
template property | manx_parish |
ontology property | parish |
Property Mapping (help) | |
---|---|
template property | manx_shedding |
ontology property | sheading |
Property Mapping (help) | |
---|---|
template property | constituency_manx_parliament |
ontology property | principalArea |
Property Mapping (help) | |
---|---|
template property | metropolitan_borough |
ontology property | metropolitanBorough |
Property Mapping (help) | |
---|---|
template property | metropolitan_borough1 |
ontology property | metropolitanBorough |
Property Mapping (help) | |
---|---|
template property | shire_district |
ontology property | district |
Property Mapping (help) | |
---|---|
template property | shire_district2 |
ontology property | district |
Property Mapping (help) | |
---|---|
template property | shire_county |
ontology property | country |
Property Mapping (help) | |
---|---|
template property | shire_county |
ontology property | country |
Property Mapping (help) | |
---|---|
template property | lieutenancy_england |
ontology property | ceremonialCounty |
Property Mapping (help) | |
---|---|
template property | lieutenancy_england1 |
ontology property | ceremonialCounty |
Property Mapping (help) | |
---|---|
template property | london_borough |
ontology property | borough |
Property Mapping (help) | |
---|---|
template property | london_borough1 |
ontology property | borough |
Property Mapping (help) | |
---|---|
template property | london_borough2 |
ontology property | borough |
Property Mapping (help) | |
---|---|
template property | london_borough3 |
ontology property | borough |
Property Mapping (help) | |
---|---|
template property | london_borough4 |
ontology property | borough |
Property Mapping (help) | |
---|---|
template property | cornish_name |
ontology property | foaf:name |
Property Mapping (help) | |
---|---|
template property | other_language_name |
ontology property | foaf:name |
Property Mapping (help) | |
---|---|
template property | other_language |
ontology property | language |
Property Mapping (help) | |
---|---|
template property | language |
ontology property | language |
Property Mapping (help) | |
---|---|
template property | language1 |
ontology property | language |
Property Mapping (help) | |
---|---|
template property | language2 |
ontology property | language |
Property Mapping (help) | |
---|---|
template property | website |
ontology property | foaf:homepage |