Mapping id:Infobox settlement: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
No edit summary
m (change native_name to foaf:name (not always English); native_name_lang is the language of native_name; I've commented it out because it's wrong as is, not enough examples to make a conditional mapping)
Line 2: Line 2:
| mapToClass = Settlement
| mapToClass = Settlement
| mappings =
| mappings =
     {{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
     {{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name | language = id }}
     {{PropertyMapping | templateProperty = official_name  | ontologyProperty = foaf:name }}
     {{PropertyMapping | templateProperty = official_name  | ontologyProperty = foaf:name }}
     {{PropertyMapping | templateProperty = native_name | ontologyProperty = englishName }}
     {{PropertyMapping | templateProperty = native_name | ontologyProperty = foaf:name }}
<!--
     {{PropertyMapping | templateProperty = native_name_lang | ontologyProperty = foaf:name }}
     {{PropertyMapping | templateProperty = native_name_lang | ontologyProperty = foaf:name }}
-->
     {{PropertyMapping | templateProperty = other_name | ontologyProperty = foaf:name }}
     {{PropertyMapping | templateProperty = other_name | ontologyProperty = foaf:name }}
     {{PropertyMapping | templateProperty = settlement_type  | ontologyProperty = cityType }}
     {{PropertyMapping | templateProperty = settlement_type  | ontologyProperty = cityType }}

Revision as of 18:55, 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 Settlement

Mappings



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




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




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




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




Property Mapping (help)
template property settlement_type
ontology property cityType




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




Property Mapping (help)
template property motto
ontology property motto




Property Mapping (help)
template property founder
ontology property foundingPerson





Property Mapping (help)
template property leader_name
ontology property leaderName




Property Mapping (help)
template property leader_title
ontology property leaderTitle




Property Mapping (help)
template property leader_name1
ontology property leaderName




Property Mapping (help)
template property leader_title1
ontology property leaderTitle




Property Mapping (help)
template property leader_name2
ontology property leaderName




Property Mapping (help)
template property leader_title2
ontology property leaderTitle





Property Mapping (help)
template property established_date
ontology property foundingDate




Property Mapping (help)
template property established_date1
ontology property foundingDate





Property Mapping (help)
template property postal_code
ontology property postalCode




Property Mapping (help)
template property area_code
ontology property areaCode



Property Mapping (help)
template property area_total_km2
ontology property areaTotal
unitkilometer persegi


Property Mapping (help)
template property elevation_m
ontology property elevation
unitmeter





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





Property Mapping (help)
template property population_as_of
ontology property populationAsOf




Property Mapping (help)
template property population_total
ontology property populationTotal




Property Mapping (help)
template property population_metro
ontology property populationMetro




Property Mapping (help)
template property population_urban
ontology property populationUrban




Property Mapping (help)
template property population_rank
ontology property populationTotalRanking




Property Mapping (help)
template property timezone
ontology property timeZone


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