Mapping en:Infobox South African town: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
(Created page with '{{TemplateMapping | mapToClass = Settlement | mappings = {{ConstantMapping | ontologyProperty = country | value = South Africa }} {{PropertyMapping | templateProperty = subject...') |
No edit summary |
||
Line 3: | Line 3: | ||
| mappings = | | mappings = | ||
{{ConstantMapping | ontologyProperty = country | value = South Africa }} | {{ConstantMapping | ontologyProperty = country | value = South Africa }} | ||
{{GeocoordinatesMapping | latitudeDegrees = latd | latitudeMinutes = latm | latitudeSeconds = lats | longitudeDegrees = longd | longitudeMinutes = longm | longitudeSeconds = longs }} | |||
{{PropertyMapping | templateProperty = elevation_m | ontologyProperty = elevation | unit = metre }} | |||
{{PropertyMapping | templateProperty = subject_name | ontologyProperty = foaf:name }} | {{PropertyMapping | templateProperty = subject_name | ontologyProperty = foaf:name }} | ||
{{PropertyMapping | templateProperty = municipality_type | ontologyProperty = type }} | {{PropertyMapping | templateProperty = municipality_type | ontologyProperty = type }} | ||
Line 10: | Line 13: | ||
{{PropertyMapping | templateProperty = district | ontologyProperty = district }} | {{PropertyMapping | templateProperty = district | ontologyProperty = district }} | ||
{{PropertyMapping | templateProperty = within_municipality | ontologyProperty = municipality }} | {{PropertyMapping | templateProperty = within_municipality | ontologyProperty = municipality }} | ||
{{PropertyMapping | templateProperty = postal_code | ontologyProperty = postalCode }} | {{PropertyMapping | templateProperty = postal_code | ontologyProperty = postalCode }} | ||
{{PropertyMapping | templateProperty = municipality_code | ontologyProperty = municipalityCode }} | {{PropertyMapping | templateProperty = municipality_code | ontologyProperty = municipalityCode }} | ||
{{PropertyMapping | templateProperty = municipal_code | ontologyProperty = municipalityCode }} | {{PropertyMapping | templateProperty = municipal_code | ontologyProperty = municipalityCode }} | ||
{{PropertyMapping | templateProperty = area | ontologyProperty = areaTotal | unit = squareKilometre }} | {{PropertyMapping | templateProperty = area | ontologyProperty = areaTotal | unit = squareKilometre }} | ||
{{PropertyMapping | templateProperty = altitude | ontologyProperty = elevation | unit = metre }} | {{PropertyMapping | templateProperty = altitude | ontologyProperty = elevation | unit = metre }} | ||
{{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal }} | {{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal }} |
Revision as of 23:11, 9 January 2013
This is the mapping for the Wikipedia template Infobox South African town. 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 | South Africa |
Geocoordinates Mapping (help) | |
---|---|
longitude degrees template property | longd |
longitude minutes template property | longm |
longitude seconds template property | longs |
latitude degrees template property | latd |
latitude minutes template property | latm |
latitude seconds template property | lats |
Property Mapping (help) | |
---|---|
template property | elevation_m |
ontology property | elevation |
unit | metre |
Property Mapping (help) | |
---|---|
template property | subject_name |
ontology property | foaf:name |
Property Mapping (help) | |
---|---|
template property | municipality_type |
ontology property | type |
Property Mapping (help) | |
---|---|
template property | canton |
ontology property | canton |
Property Mapping (help) | |
---|---|
template property | twintowns |
ontology property | twinCity |
Property Mapping (help) | |
---|---|
template property | iso-code-region |
ontology property | isoCodeRegion |
Property Mapping (help) | |
---|---|
template property | district |
ontology property | district |
Property Mapping (help) | |
---|---|
template property | within_municipality |
ontology property | municipality |
Property Mapping (help) | |
---|---|
template property | postal_code |
ontology property | postalCode |
Property Mapping (help) | |
---|---|
template property | municipality_code |
ontology property | municipalityCode |
Property Mapping (help) | |
---|---|
template property | municipal_code |
ontology property | municipalityCode |
Property Mapping (help) | |
---|---|
template property | area |
ontology property | areaTotal |
unit | squareKilometre |
Property Mapping (help) | |
---|---|
template property | altitude |
ontology property | elevation |
unit | metre |
Property Mapping (help) | |
---|---|
template property | population |
ontology property | populationTotal |
Property Mapping (help) | |
---|---|
template property | populationof |
ontology property | populationTotal |
Property Mapping (help) | |
---|---|
template property | popofyear |
ontology property | censusYear |
Property Mapping (help) | |
---|---|
template property | highest |
ontology property | highestPlace |
Property Mapping (help) | |
---|---|
template property | highest_m |
ontology property | maximumElevation |
unit | metre |
Property Mapping (help) | |
---|---|
template property | lowest |
ontology property | lowestPlace |
Property Mapping (help) | |
---|---|
template property | lowest_m |
ontology property | minimumElevation |
unit | metre |
Property Mapping (help) | |
---|---|
template property | mayor |
ontology property | mayor |
Property Mapping (help) | |
---|---|
template property | mayor_party |
ontology property | leaderParty |
Property Mapping (help) | |
---|---|
template property | demonym |
ontology property | demonym |
Property Mapping (help) | |
---|---|
template property | neighboring_municipalities |
ontology property | neighboringMunicipality |
Property Mapping (help) | |
---|---|
template property | website |
ontology property | foaf:homepage |