Mapping de:Infobox Ort in Albanien: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
No edit summary
 
(5 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 11: Line 11:
       {{ PropertyMapping | templateProperty = Fläche | ontologyProperty = areaTotal | unit = squareKilometre }}
       {{ PropertyMapping | templateProperty = Fläche | ontologyProperty = areaTotal | unit = squareKilometre }}
       {{ PropertyMapping | templateProperty = Einwohner | ontologyProperty = populationUrban }}
       {{ PropertyMapping | templateProperty = Einwohner | ontologyProperty = populationUrban }}
<!-- Broken, wrong date format? -->
       {{ PropertyMapping | templateProperty = EinwohnerStand | ontologyProperty = censusYear }}
       {{ PropertyMapping | templateProperty = EinwohnerStand | ontologyProperty = populationAsOf }}
<!-- Doesn't work: -->
<!-- Automatically computed => check if possible nevertheless -->
<!--  {{ PropertyMapping | templateProperty = Bevölkerungsdichte | ontologyProperty = populationDensity | unit = inhabitantsPerSquareKilometre }} -->
      {{ PropertyMapping | templateProperty = Bevölkerungsdichte | ontologyProperty = populationDensity }}
       {{ 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 }}
       {{ PropertyMapping | templateProperty = Bürgermeister | ontologyProperty = leaderName }}
       {{ PropertyMapping | templateProperty = Bürgermeister | ontologyProperty = leaderName }}
       {{ PropertyMapping | templateProperty = Bürgermeistertitel | ontologyProperty = leaderTitle }}
       {{ PropertyMapping | templateProperty = Bürgermeistertitel | ontologyProperty = leaderTitle }}
       {{ PropertyMapping | templateProperty = Partei | ontologyProperty = leaderParty }}
       {{ PropertyMapping | templateProperty = Partei | ontologyProperty = leaderParty }}
<!-- Broken? -->
       {{ PropertyMapping | templateProperty = Webpräsenz | ontologyProperty = foaf:homepage }}
       {{ PropertyMapping | templateProperty = Webpräsenz | ontologyProperty = wikiPageExternalLink }}
<!--  {{ PropertyMapping | templateProperty = Schutzpatron | ontologyProperty = saint }} -->
      {{ PropertyMapping | templateProperty = Schutzpatron | ontologyProperty = saint }}
}}
}}


<!--
    Properties which are not mapped (yet)
      Useless properties:
      {{ PropertyMapping | templateProperty = Wappen | ontologyProperty = foaf:name }}
      {{ PropertyMapping | templateProperty = Beschriftung | ontologyProperty = foaf:name }}
      {{ PropertyMapping | templateProperty = Karte | ontologyProperty = foaf:name }}


<!-- Properties which are not mapped (yet) -->
      Maybe useful properties but without a counterpart so far:
<!--  Useless properties: -->
      {{ PropertyMapping | templateProperty = NameAlbanischUnbestimmt | ontologyProperty = foaf:name }}
<!--  {{ PropertyMapping | templateProperty = Wappen | ontologyProperty = foaf:name }} -->
      {{ PropertyMapping | templateProperty = NameAlbanischBestimmt | ontologyProperty = foaf:name }}
<!--  {{ PropertyMapping | templateProperty = Beschriftung | ontologyProperty = foaf:name }} -->
      {{ PropertyMapping | templateProperty = Sonnenstunden | ontologyProperty = foaf:name }}
<!--  {{ PropertyMapping | templateProperty = Karte | ontologyProperty = foaf:name }} -->
      {{ PropertyMapping | templateProperty = Bootskennzeichen | ontologyProperty = vehicleCode }}
<!--  {{ PropertyMapping | templateProperty = AnschriftStraße | ontologyProperty = foaf:name }} -->
      {{ PropertyMapping | templateProperty = Gliederung | ontologyProperty = vehicleCode }}
<!--  {{ PropertyMapping | templateProperty = AnschriftOrt | ontologyProperty = foaf:name }} -->
      {{ PropertyMapping | templateProperty = Bürgermeisterstand | ontologyProperty = leaderTitle }}
 
      {{ PropertyMapping | templateProperty = Stadtfest | ontologyProperty = leaderTitle }}
<!--  Maybe useful properties but without a counterpart so far: -->
      {{ PropertyMapping | templateProperty = AnschriftStraße | ontologyProperty = foaf:name }}
<!--  {{ PropertyMapping | templateProperty = NameAlbanischUnbestimmt | ontologyProperty = foaf:name }} -->
      {{ PropertyMapping | templateProperty = AnschriftOrt | ontologyProperty = foaf:name }}
<!--  {{ PropertyMapping | templateProperty = NameAlbanischBestimmt | ontologyProperty = foaf:name }} -->
-->
<!--  {{ PropertyMapping | templateProperty = Sonnenstunden | ontologyProperty = foaf:name }} -->
<!--  {{ PropertyMapping | templateProperty = Bootskennzeichen | ontologyProperty = vehicleCode }} -->
<!--  {{ PropertyMapping | templateProperty = Gliederung | ontologyProperty = vehicleCode }} -->
<!--  {{ PropertyMapping | templateProperty = Bürgermeisterstand | ontologyProperty = leaderTitle }} -->
<!--  {{ PropertyMapping | templateProperty = Stadtfest | ontologyProperty = leaderTitle }} -->

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