Mapping en:Infobox PNG Place: Difference between revisions
(disclaimer) |
(removed disclaimer) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{ConditionalMapping | ||
| cases = | |||
{{Condition | |||
| templateProperty = type | |||
| operator = equals | |||
| value = city | |||
| mapping = {{TemplateMapping | |||
| mapToClass = City | |||
}} | |||
}} | |||
{{TemplateMapping | {{Condition | ||
| mapToClass = | | templateProperty = type | ||
| | | operator = equals | ||
| value = town | |||
| mapping = {{TemplateMapping | |||
| mapToClass = Town | |||
}} | |||
}} | |||
{{Condition | |||
| templateProperty = type | |||
| operator = equals | |||
| value = village | |||
| mapping = {{TemplateMapping | |||
| mapToClass = Village | |||
}} | |||
}} | |||
{{Condition | |||
| operator = otherwise | |||
| mapping = {{TemplateMapping | |||
| mapToClass = Settlement | |||
}} | |||
}} | |||
| defaultMappings = | |||
{{PropertyMapping | templateProperty = neighboring_municipalities | ontologyProperty = neighboringMunicipality }} | |||
{{PropertyMapping | templateProperty = postal_code | ontologyProperty = postalCode }} | |||
{{PropertyMapping | templateProperty = municipality_code | ontologyProperty = areaCode }} | |||
{{PropertyMapping | templateProperty = area | ontologyProperty = areaTotal | unit = squareKilometre }} | |||
{{PropertyMapping | templateProperty = elevation | ontologyProperty = elevation | unit = metre }} | |||
{{PropertyMapping | templateProperty = highest_m | ontologyProperty = maximumElevation | unit = metre }} | |||
{{PropertyMapping | templateProperty = lowest_m | ontologyProperty = minimumElevation | unit = metre }} | |||
{{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal }} | |||
{{PropertyMapping | templateProperty = populationof | ontologyProperty = populationAsOf }} | |||
{{PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }} | |||
{{PropertyMapping | templateProperty = demonym | ontologyProperty = demonym }} | |||
{{GeocoordinatesMapping | longitudeMinutes = long_m | longitudeDirection = long_NS | latitudeDegrees = lat_d | latitudeMinutes = lat_m | latitudeDirection = lat_EW }} | |||
}} | }} |
Latest revision as of 15:42, 12 May 2010
This is the mapping for the Wikipedia template Infobox PNG 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.
Conditions
Condition (help) | |
---|---|
template property | type |
operator | equals |
value | city |
This is the mapping for the Wikipedia template Infobox PNG 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 City
Condition (help) | |
---|---|
template property | type |
operator | equals |
value | town |
This is the mapping for the Wikipedia template Infobox PNG 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 Town
Condition (help) | |
---|---|
template property | type |
operator | equals |
value | village |
This is the mapping for the Wikipedia template Infobox PNG 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 Village
Condition (help) | |
---|---|
otherwise |
This is the mapping for the Wikipedia template Infobox PNG 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
Default Mappings
Property Mapping (help) template property neighboring_municipalities ontology property neighboringMunicipality
Property Mapping (help) template property postal_code ontology property postalCode
Property Mapping (help) template property municipality_code ontology property areaCode
Property Mapping (help) template property area ontology property areaTotal unit squareKilometre
Property Mapping (help) template property elevation ontology property elevation unit metre
Property Mapping (help) template property highest_m ontology property maximumElevation unit metre
Property Mapping (help) template property lowest_m ontology property minimumElevation unit metre
Property Mapping (help) template property population ontology property populationTotal
Property Mapping (help) template property populationof ontology property populationAsOf
Property Mapping (help) template property website ontology property foaf:homepage
Property Mapping (help) template property demonym ontology property demonym
Geocoordinates Mapping (help) longitude minutes template property long_m longitude direction template property long_NS latitude degrees template property lat_d latitude minutes template property lat_m latitude direction template property lat_EW