Mapping uk:Infobox settlement: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
m (phonePrefix -> areaCode; zipCode -> postalCode)
 
(39 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ TemplateMapping
{{ TemplateMapping
| mapToClass = PopulatedPlace| mappings ={{ PropertyMapping | templateProperty = elevation_m | ontologyProperty = elevation }}{{ PropertyMapping | templateProperty = utc_offset | ontologyProperty = utcOffset }}{{ PropertyMapping | templateProperty = population_total | ontologyProperty = populationTotal }}{{ PropertyMapping | templateProperty = population_urban | ontologyProperty = populationUrban }}
| mapToClass = PopulatedPlace
| mappings =
  {{ PropertyMapping | templateProperty = elevation_m | ontologyProperty = elevation }}
  {{ PropertyMapping | templateProperty = utc_offset | ontologyProperty = utcOffset }}
  {{ PropertyMapping | templateProperty = population_total | ontologyProperty = populationTotal }}
  {{ PropertyMapping | templateProperty = population_urban | ontologyProperty = populationUrban }}
  {{ PropertyMapping | templateProperty = image_map1 | ontologyProperty = district }}
  {{ PropertyMapping | templateProperty = pushpin_map_caption | ontologyProperty = country }}
  {{ PropertyMapping | templateProperty = image_shield | ontologyProperty = blazon }}
  {{ PropertyMapping | templateProperty = blank_info | ontologyProperty = fipsCode }}
  {{ PropertyMapping | templateProperty = area_code | ontologyProperty = areaCode }}
  {{ PropertyMapping | templateProperty = subdivision_name | ontologyProperty = locationCountry }}
  {{ PropertyMapping | templateProperty = image_flag | ontologyProperty = flag }}
  {{ PropertyMapping | templateProperty = population_metro | ontologyProperty = populationMetro }}
  {{ PropertyMapping | templateProperty = established_date | ontologyProperty = foundingDate }}
  {{ PropertyMapping | templateProperty = native_name | ontologyProperty = foaf:name }}
  {{ PropertyMapping | templateProperty = seat | ontologyProperty = capital }}
  {{ PropertyMapping | templateProperty = image_map | ontologyProperty = populationAsOf }}
  {{ PropertyMapping | templateProperty = motto | ontologyProperty = motto }}
  {{ PropertyMapping | templateProperty = population_as_of | ontologyProperty = populationYear }}
  {{ PropertyMapping | templateProperty = postal_code | ontologyProperty = postalCode }}
}}

Latest revision as of 19:08, 12 February 2015

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

Mappings




Property Mapping (help)
template property elevation_m
ontology property elevation




Property Mapping (help)
template property utc_offset
ontology property utcOffset




Property Mapping (help)
template property population_total
ontology property populationTotal




Property Mapping (help)
template property population_urban
ontology property populationUrban




Property Mapping (help)
template property image_map1
ontology property district




Property Mapping (help)
template property pushpin_map_caption
ontology property country




Property Mapping (help)
template property image_shield
ontology property blazon




Property Mapping (help)
template property blank_info
ontology property fipsCode




Property Mapping (help)
template property area_code
ontology property areaCode




Property Mapping (help)
template property subdivision_name
ontology property locationCountry




Property Mapping (help)
template property image_flag
ontology property flag




Property Mapping (help)
template property population_metro
ontology property populationMetro




Property Mapping (help)
template property established_date
ontology property foundingDate




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




Property Mapping (help)
template property seat
ontology property capital




Property Mapping (help)
template property image_map
ontology property populationAsOf




Property Mapping (help)
template property motto
ontology property motto




Property Mapping (help)
template property population_as_of
ontology property populationYear




Property Mapping (help)
template property postal_code
ontology property postalCode