Mapping de:Infobox Ortsteil einer Gemeinde in Deutschland: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(Created page with '{{ ConditionalMapping | cases = {{ Condition | templateProperty = Höhe-bis | operator = isSet | mapping = ...')
 
No edit summary
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{ ConditionalMapping
{{ ConditionalMapping | cases =  
  | cases =
    {{ Condition | templateProperty = Höhe-bis | operator = isSet | mapping =  
      {{ Condition
        {{ TemplateMapping | mapToClass = Settlement | mappings =  
          | templateProperty = Höhe-bis
            {{ PropertyMapping | templateProperty = Höhe | ontologyProperty = minimumElevation | unit = metre }} }} }}
          | operator         = isSet
    <!-- Broken? -->
          | mapping         =  
              {{ TemplateMapping
                | mapToClass = Settlement
                | mappings =
            {{ PropertyMapping | templateProperty = Höhe | ontologyProperty = minimumElevation | unit = metre }}
              }}
      }}
      {{ Condition
          | otherwise
          | mapping =
              {{ TemplateMapping
                | mapToClass = Settlement
                | mappings =
            {{ PropertyMapping | templateProperty = Höhe | ontologyProperty = elevation | unit = metre }}
              }}
      }}
  | defaultMappings =
      {{ PropertyMapping | templateProperty = Ortsteil | ontologyProperty = foaf:name }}
      {{ PropertyMapping | templateProperty = Gemeindename | ontologyProperty = city }}
<!-- Could also be used to map to a more specific class: -->
      {{ PropertyMapping | templateProperty = Gemeindeart | ontologyProperty = cityType }}
      {{ GeocoordinatesMapping | latitude = Breitengrad | longitude = Längengrad }}
      {{ PropertyMapping | templateProperty = Bundesland | ontologyProperty = state }}
      {{ PropertyMapping | templateProperty = Höhe-bis | ontologyProperty = maximumElevation | unit = metre }}
      {{ PropertyMapping | templateProperty = Fläche | ontologyProperty = areaTotal | unit = squareKilometre }}
      {{ PropertyMapping | templateProperty = Einwohner | ontologyProperty = populationTotal }}
      {{ PropertyMapping | templateProperty = Einwohner-Stand-Datum | ontologyProperty = populationAsOf }}
      {{ PropertyMapping | templateProperty = Postleitzahl1 | ontologyProperty = postalCode }}
      {{ PropertyMapping | templateProperty = Postleitzahl2 | ontologyProperty = postalCode }}
      {{ PropertyMapping | templateProperty = Vorwahl1 | ontologyProperty = areaCode }}
      {{ PropertyMapping | templateProperty = Vorwahl2 | ontologyProperty = areaCode }}
}}


<!--
    {{ Condition | operator = otherwise | mapping =
    Properties which are not mapped (yet)
        {{ TemplateMapping | mapToClass = Settlement | mappings =  
      Useless properties:
            {{ PropertyMapping | templateProperty = Höhe | ontologyProperty = elevation | unit = metre }} }} }} | defaultMappings =
      {{ PropertyMapping | templateProperty = Einwohner-Quelle | ontologyProperty = }}
    {{ PropertyMapping | templateProperty = Ortsteil | ontologyProperty = foaf:name }}
      {{ PropertyMapping | templateProperty = Lagekarte | ontologyProperty = }}
    {{ PropertyMapping | templateProperty = Gemeindename | ontologyProperty = city }}
      {{ PropertyMapping | templateProperty = Lagekarte-Beschreibung | ontologyProperty = }}
    <!-- Could also be used to map to a more specific class: -->
      {{ PropertyMapping | templateProperty = Poskarte | ontologyProperty = }}


       Maybe useful properties but without a counterpart so far:
    {{ PropertyMapping | templateProperty = Gemeindeart | ontologyProperty = cityType }}
      {{ PropertyMapping | templateProperty = Alternativname | ontologyProperty = }}
    <!-- Usage of coordinates differs from documentation: -->
      {{ PropertyMapping | templateProperty = Alternativanzeige-Gemeindename | ontologyProperty = }}
 
      {{ PropertyMapping | templateProperty = Höhe-Bezug | ontologyProperty = }}
    {{ GeocoordinatesMapping | latitude = Breitengrad | longitude = Längengrad }}
      {{ PropertyMapping | templateProperty = Eingemeindungsdatum | ontologyProperty = }}
    {{ GeocoordinatesMapping | latitudeDegrees = lat_deg | latitudeMinutes = lat_min | latitudeSeconds = lat_sec | longitudeDegrees = lon_deg | longitudeMinutes = lon_min | longitudeSeconds = lon_sec }}
      {{ PropertyMapping | templateProperty = Eingemeindet-nach | ontologyProperty = }}
    {{ PropertyMapping | templateProperty = Bundesland | ontologyProperty = state }}
-->
    {{ PropertyMapping | templateProperty = Höhe-bis | ontologyProperty = maximumElevation | unit = metre }}
    {{ PropertyMapping | templateProperty = Fläche | ontologyProperty = area | unit = squareKilometre }}
    {{ PropertyMapping | templateProperty = Einwohner | ontologyProperty = populationUrban }}
    {{ PropertyMapping | templateProperty = Einwohner-Stand-Datum | ontologyProperty = populationAsOf }}
    {{ PropertyMapping | templateProperty = Einwohner-Stand-Datum | ontologyProperty = censusYear }}
    {{ PropertyMapping | templateProperty = Postleitzahl1 | ontologyProperty = postalCode }}
    {{ PropertyMapping | templateProperty = Postleitzahl2 | ontologyProperty = postalCode }}
{{ PropertyMapping | templateProperty = Ortswappen | ontologyProperty = foaf:img }}
    {{ PropertyMapping | templateProperty = Vorwahl1 | ontologyProperty = areaCode }}
    {{ PropertyMapping | templateProperty = Vorwahl2 | ontologyProperty = areaCode }} }}
<!-- Properties which are not mapped (yet)
       Useless properties: {{ PropertyMapping | templateProperty = Einwohner-Quelle | ontologyProperty = }} {{ PropertyMapping | templateProperty = Lagekarte | ontologyProperty = }} {{ PropertyMapping | templateProperty = Lagekarte-Beschreibung | ontologyProperty = }} {{ PropertyMapping | templateProperty = Poskarte | ontologyProperty = }} Maybe useful properties but without a counterpart so far: {{ PropertyMapping | templateProperty = Alternativname | ontologyProperty = }} {{ PropertyMapping | templateProperty = Alternativanzeige-Gemeindename | ontologyProperty = }} {{ PropertyMapping | templateProperty = Höhe-Bezug | ontologyProperty = }} {{ PropertyMapping | templateProperty = Eingemeindungsdatum | ontologyProperty = }} {{ PropertyMapping | templateProperty = Eingemeindet-nach | ontologyProperty = }} -->

Latest revision as of 19:31, 24 March 2015

This is the mapping for the Wikipedia template Infobox Ortsteil einer Gemeinde in Deutschland. 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 Höhe-bis
operator isSet

This is the mapping for the Wikipedia template Infobox Ortsteil einer Gemeinde in Deutschland. 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 Höhe
ontology property minimumElevation
unitmetre


Condition (help)
otherwise

This is the mapping for the Wikipedia template Infobox Ortsteil einer Gemeinde in Deutschland. 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 Höhe
ontology property elevation
unitmetre

Default Mappings




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




Property Mapping (help)
template property Gemeindename
ontology property city





Property Mapping (help)
template property Gemeindeart
ontology property cityType


Geocoordinates Mapping (help)
latitude template property Breitengrad
longitude template property Längengrad
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 Bundesland
ontology property state


Property Mapping (help)
template property Höhe-bis
ontology property maximumElevation
unitmetre


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




Property Mapping (help)
template property Einwohner
ontology property populationUrban




Property Mapping (help)
template property Einwohner-Stand-Datum
ontology property populationAsOf




Property Mapping (help)
template property Einwohner-Stand-Datum
ontology property censusYear




Property Mapping (help)
template property Postleitzahl1
ontology property postalCode




Property Mapping (help)
template property Postleitzahl2
ontology property postalCode




Property Mapping (help)
template property Ortswappen
ontology property foaf:img




Property Mapping (help)
template property Vorwahl1
ontology property areaCode




Property Mapping (help)
template property Vorwahl2
ontology property areaCode