Mapping de:Infobox Ort in Albanien: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
       {{ PropertyMapping | templateProperty = Name | ontologyProperty = foaf:name }}
       {{ PropertyMapping | templateProperty = Name | ontologyProperty = foaf:name }}
       {{ GeocoordinatesMapping | latitudeDegrees = lat_deg | latitudeMinutes = lat_min | latitudeSeconds = lat_sec |  
       {{ GeocoordinatesMapping | latitudeDegrees = lat_deg | latitudeMinutes = lat_min | latitudeSeconds = lat_sec |  
                                 | longitudeDegrees = long_deg | longitudeMinutes = long_min | longitudeSeconds = long_sec }}  
                                 | longitudeDegrees = lon_deg | longitudeMinutes = lon_min | longitudeSeconds = lon_sec }}  
       {{ PropertyMapping | templateProperty = Qark | ontologyProperty = county }}
       {{ PropertyMapping | templateProperty = Qark | ontologyProperty = county }}
       {{ PropertyMapping | templateProperty = Kreis | ontologyProperty = district }}
       {{ PropertyMapping | templateProperty = Kreis | ontologyProperty = district }}
Line 12: Line 12:
       {{ PropertyMapping | templateProperty = Einwohner | ontologyProperty = populationUrban }}
       {{ PropertyMapping | templateProperty = Einwohner | ontologyProperty = populationUrban }}
       {{ PropertyMapping | templateProperty = EinwohnerStand | ontologyProperty = censusYear }}
       {{ PropertyMapping | templateProperty = EinwohnerStand | ontologyProperty = censusYear }}
      {{ PropertyMapping | templateProperty = Bevölkerungsdichte | ontologyProperty = populationDensity | unit = inhabitantsPerSquareKilometre }}
<!-- Doesn't work: -->
<!--  {{ PropertyMapping | templateProperty = Bevölkerungsdichte | ontologyProperty = populationDensity | unit = inhabitantsPerSquareKilometre }} -->
       {{ PropertyMapping | templateProperty = Agglomeration | ontologyProperty = populationTotal }}
       {{ PropertyMapping | templateProperty = Agglomeration | ontologyProperty = populationTotal }}
       {{ PropertyMapping | templateProperty = Telefonvorwahl | ontologyProperty = areaCode }}
       {{ PropertyMapping | templateProperty = Telefonvorwahl | ontologyProperty = areaCode }}
       {{ PropertyMapping | templateProperty = Postleitzahl | ontologyProperty = postalCode }}
       {{ PropertyMapping | templateProperty = Postleitzahl | ontologyProperty = postalCode }}
<!-- Automatically computed => check if possible nevertheless -->
<!-- Automatically computed => check if possible nevertheless -->
      {{ PropertyMapping | templateProperty = Kfz-Kennzeichen | ontologyProperty = vehicleCode }}
<!--  {{ PropertyMapping | templateProperty = Kfz-Kennzeichen | ontologyProperty = vehicleCode }} -->
<!-- Could also be used to map to a more specific class: -->
<!-- Could also be used to map to a more specific class: -->
       {{ PropertyMapping | templateProperty = Gemeindeart | ontologyProperty = cityType }}
       {{ PropertyMapping | templateProperty = Gemeindeart | ontologyProperty = cityType }}
Line 24: Line 25:
       {{ PropertyMapping | templateProperty = Partei | ontologyProperty = leaderParty }}
       {{ PropertyMapping | templateProperty = Partei | ontologyProperty = leaderParty }}
       {{ PropertyMapping | templateProperty = Webpräsenz | ontologyProperty = foaf:homepage }}
       {{ PropertyMapping | templateProperty = Webpräsenz | ontologyProperty = foaf:homepage }}
      {{ PropertyMapping | templateProperty = Schutzpatron | ontologyProperty = saint }}
<!--  {{ PropertyMapping | templateProperty = Schutzpatron | ontologyProperty = saint }} -->
}}
}}



Latest revision as of 11:46, 30 March 2015

This is the mapping for the Wikipedia template Infobox Ort in Albanien. 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
Geocoordinates Mapping (help)
longitude degrees template property lon_deg
longitude minutes template property lon_min
longitude seconds template property lon_sec
latitude degrees template property lat_deg
latitude minutes template property lat_min
latitude seconds template property lat_sec




Property Mapping (help)
template property Qark
ontology property county




Property Mapping (help)
template property Kreis
ontology property district




Property Mapping (help)
template property Gemeinde
ontology property municipality


Property Mapping (help)
template property Höhe
ontology property elevation
unitmetre


Property Mapping (help)
template property Fläche
ontology property areaTotal
unitsquareKilometre




Property Mapping (help)
template property Einwohner
ontology property populationUrban




Property Mapping (help)
template property EinwohnerStand
ontology property censusYear




Property Mapping (help)
template property Agglomeration
ontology property populationTotal




Property Mapping (help)
template property Telefonvorwahl
ontology property areaCode




Property Mapping (help)
template property Postleitzahl
ontology property postalCode




Property Mapping (help)
template property Gemeindeart
ontology property cityType




Property Mapping (help)
template property Bürgermeister
ontology property leaderName




Property Mapping (help)
template property Bürgermeistertitel
ontology property leaderTitle




Property Mapping (help)
template property Partei
ontology property leaderParty




Property Mapping (help)
template property Webpräsenz
ontology property foaf:homepage