Mapping en:Infobox German location: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
(license -> licenseNumber (not area code))
 
(19 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{DisclaimerMapping|{{PAGENAMEE}}}}
{{ConditionalMapping
| cases =
  {{Condition
    | templateProperty = type
    | operator = equals
    | value = Town
    | mapping = {{TemplateMapping
                  | mapToClass = Town
                }}
  }}


{{TemplateMapping
  {{Condition
| mapToClass = City
    | templateProperty = type
| mappings =
    | operator = equals
    | value = Stadt
    | mapping = {{TemplateMapping
                  | mapToClass = Town
                }}
  }}
 
  {{Condition
    | templateProperty = type
    | operator = equals
    | value = City
    | mapping = {{TemplateMapping
                  | mapToClass = City
                }}
  }}
 
  {{Condition
    | templateProperty = Art
    | operator = equals
    | value = Town
    | mapping = {{TemplateMapping
                  | mapToClass = Town
                }}
  }}
 
  {{Condition
    | templateProperty = Art
    | operator = equals
    | value = Stadt
    | mapping = {{TemplateMapping
                  | mapToClass = Town
                }}
  }}
 
  {{Condition
    | templateProperty = Art
    | operator = equals
    | value = City
    | mapping = {{TemplateMapping
                  | mapToClass = City
                }}
  }}
 
  {{Condition
    | operator = otherwise
    | mapping = {{TemplateMapping
                  | mapToClass = Settlement
                }}
  }}
 
  | defaultMappings =
<!-- german properties -->
<!-- german properties -->
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
{{ConstantMapping | ontologyProperty = country | value = http://dbpedia.org/resource/Germany }}
{{PropertyMapping | templateProperty = Name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = German_name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = German_name | ontologyProperty = foaf:name }}
         {{GeocoordinatesMapping | latitudeDegrees = lat_deg | latitudeMinutes = lat_min | latitudeSeconds = lat_sec  | longitudeDegrees = lon_deg  | longitudeMinutes = lon_min  | longitudeSeconds = lon_sec }}
         {{GeocoordinatesMapping | latitudeDegrees = lat_deg | latitudeMinutes = lat_min | latitudeSeconds = lat_sec  | longitudeDegrees = lon_deg  | longitudeMinutes = lon_min  | longitudeSeconds = lon_sec }}
}}
{{PropertyMapping | templateProperty = Bundesland | ontologyProperty = federalState }}
{{PropertyMapping | templateProperty = Bundesland | ontologyProperty = federalState }}
{{PropertyMapping | templateProperty = Regierungsbezirk | ontologyProperty = administrativeDistrict }}
{{PropertyMapping | templateProperty = Regierungsbezirk | ontologyProperty = administrativeDistrict }}
{{PropertyMapping | templateProperty = Landkreis | ontologyProperty = administrativeDistrict }}
{{PropertyMapping | templateProperty = regbzk | ontologyProperty = administrativeDistrict }}
{{PropertyMapping | templateProperty = Kreis | ontologyProperty = administrativeDistrict }}
{{PropertyMapping | templateProperty = Landkreis | ontologyProperty = district }}
{{PropertyMapping | templateProperty = Kreis | ontologyProperty = district }}
{{PropertyMapping | templateProperty = Amt | ontologyProperty = department }}
{{PropertyMapping | templateProperty = Amt | ontologyProperty = department }}
{{PropertyMapping | templateProperty = Gemeindeverwaltungsverband | ontologyProperty = associationOfLocalGovernment }}
{{PropertyMapping | templateProperty = Gemeindeverwaltungsverband | ontologyProperty = associationOfLocalGovernment }}
Line 19: Line 79:
{{PropertyMapping | templateProperty = Verwaltungsgemeinschaft | ontologyProperty = administrativeCollectivity }}
{{PropertyMapping | templateProperty = Verwaltungsgemeinschaft | ontologyProperty = administrativeCollectivity }}
{{PropertyMapping | templateProperty = Verwaltungsverband | ontologyProperty = administrativeCollectivity }}
{{PropertyMapping | templateProperty = Verwaltungsverband | ontologyProperty = administrativeCollectivity }}
{{PropertyMapping | templateProperty = Höhe | ontologyProperty = elevation | unit = metre }}
{{PropertyMapping | templateProperty = Gliederung | ontologyProperty = division }}
        {{PropertyMapping | templateProperty = Höhe | ontologyProperty = elevation | unit = metre }}
{{PropertyMapping | templateProperty = elevationmax | ontologyProperty = maximumElevation | unit = metre }}
{{PropertyMapping | templateProperty = elevationmax | ontologyProperty = maximumElevation | unit = metre }}
{{PropertyMapping | templateProperty = Fläche | ontologyProperty = areaTotal | unit = squareKilometre }}
        {{PropertyMapping | templateProperty = Fläche | ontologyProperty = areaTotal | unit = squareKilometre }}
{{PropertyMapping | templateProperty = area_metro | ontologyProperty = areaMetro | unit = squareKilometre }}
{{PropertyMapping | templateProperty = area_metro | ontologyProperty = areaMetro | unit = squareKilometre }}
{{PropertyMapping | templateProperty = Einwohner | ontologyProperty = populationTotal }}
{{PropertyMapping | templateProperty = Einwohner | ontologyProperty = populationTotal }}
{{PropertyMapping | templateProperty = pop_metro | ontologyProperty = populationMetro }}
{{PropertyMapping | templateProperty = pop_metro | ontologyProperty = populationMetro }}
{{PropertyMapping | templateProperty = pop_urban | ontologyProperty = populationUrban }}
{{PropertyMapping | templateProperty = Stand | ontologyProperty = populationAsOf }}
{{PropertyMapping | templateProperty = Stand | ontologyProperty = populationAsOf }}
{{PropertyMapping | templateProperty = PLZ | ontologyProperty = postalCode }}
{{PropertyMapping | templateProperty = PLZ | ontologyProperty = postalCode }}
{{PropertyMapping | templateProperty = Vorwahl | ontologyProperty = areaCode }}
{{PropertyMapping | templateProperty = Vorwahl | ontologyProperty = areaCode }}
{{PropertyMapping | templateProperty = KFZ | ontologyProperty = areaCode }}
{{PropertyMapping | templateProperty = Website | ontologyProperty = foaf:homepage }}
{{PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}
        {{PropertyMapping | templateProperty = Art | ontologyProperty = type }}
{{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 }}
Line 36: Line 98:
{{PropertyMapping | templateProperty = ruling_party2 | ontologyProperty = leaderParty }}
{{PropertyMapping | templateProperty = ruling_party2 | ontologyProperty = leaderParty }}
{{PropertyMapping | templateProperty = ruling_party3 | ontologyProperty = leaderParty }}
{{PropertyMapping | templateProperty = ruling_party3 | ontologyProperty = leaderParty }}
<!-- english properties -->
<!-- english properties -->
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = name_local | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = name_local | ontologyProperty = foaf:name }}
         {{PropertyMapping | templateProperty = region | ontologyProperty = region }}
         {{PropertyMapping | templateProperty = region | ontologyProperty = region }}
{{PropertyMapping | templateProperty = state | ontologyProperty = federalState }}
{{PropertyMapping | templateProperty = state | ontologyProperty = federalState }}
{{PropertyMapping | templateProperty = Town | ontologyProperty = city }}
{{PropertyMapping | templateProperty = City | ontologyProperty = city }}
{{PropertyMapping | templateProperty = district | ontologyProperty = district }}
{{PropertyMapping | templateProperty = district | ontologyProperty = district }}
{{PropertyMapping | templateProperty = Municipality | ontologyProperty = municipality }}
{{PropertyMapping | templateProperty = borough | ontologyProperty = administrativeDistrict }}
{{PropertyMapping | templateProperty = borough | ontologyProperty = administrativeDistrict }}
{{PropertyMapping | templateProperty = divisions | ontologyProperty = division }}
         {{PropertyMapping | templateProperty = type | ontologyProperty = type }}
         {{PropertyMapping | templateProperty = type | ontologyProperty = type }}
{{PropertyMapping | templateProperty = elevation | ontologyProperty = elevation | unit = metre }}
{{PropertyMapping | templateProperty = elevation | ontologyProperty = elevation | unit = metre }}
Line 49: Line 119:
{{PropertyMapping | templateProperty = postal_code | ontologyProperty = postalCode }}
{{PropertyMapping | templateProperty = postal_code | ontologyProperty = postalCode }}
{{PropertyMapping | templateProperty = area_code | ontologyProperty = areaCode }}
{{PropertyMapping | templateProperty = area_code | ontologyProperty = areaCode }}
{{PropertyMapping | templateProperty = licence | ontologyProperty = licenceNumber }}
{{PropertyMapping | templateProperty = license | ontologyProperty = licenceNumber }}
{{PropertyMapping | templateProperty = mayor | ontologyProperty = leaderName }}
{{PropertyMapping | templateProperty = mayor | ontologyProperty = leaderName }}
{{PropertyMapping | templateProperty = party | ontologyProperty = leaderParty }}
{{PropertyMapping | templateProperty = year | ontologyProperty = foundingYear }}
{{PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}
}}

Latest revision as of 07:54, 30 June 2017

This is the mapping for the Wikipedia template Infobox German location. 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 Town

This is the mapping for the Wikipedia template Infobox German location. 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 Stadt

This is the mapping for the Wikipedia template Infobox German location. 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 City

This is the mapping for the Wikipedia template Infobox German location. 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 Art
operator equals
value Town

This is the mapping for the Wikipedia template Infobox German location. 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 Art
operator equals
value Stadt

This is the mapping for the Wikipedia template Infobox German location. 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 Art
operator equals
value City

This is the mapping for the Wikipedia template Infobox German location. 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)
otherwise

This is the mapping for the Wikipedia template Infobox German location. 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

Constant Mapping (help)
ontology property country
value http://dbpedia.org/resource/Germany




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




Property Mapping (help)
template property German_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 Bundesland
ontology property federalState




Property Mapping (help)
template property Regierungsbezirk
ontology property administrativeDistrict




Property Mapping (help)
template property regbzk
ontology property administrativeDistrict




Property Mapping (help)
template property Landkreis
ontology property district




Property Mapping (help)
template property Kreis
ontology property district




Property Mapping (help)
template property Amt
ontology property department




Property Mapping (help)
template property Gemeindeverwaltungsverband
ontology property associationOfLocalGovernment




Property Mapping (help)
template property Samtgemeinde
ontology property jointCommunity




Property Mapping (help)
template property Verbandsgemeinde
ontology property associationOfLocalGovernment




Property Mapping (help)
template property Verwaltungsgemeinschaft
ontology property administrativeCollectivity




Property Mapping (help)
template property Verwaltungsverband
ontology property administrativeCollectivity




Property Mapping (help)
template property Gliederung
ontology property division


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


Property Mapping (help)
template property elevationmax
ontology property maximumElevation
unitmetre


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


Property Mapping (help)
template property area_metro
ontology property areaMetro
unitsquareKilometre




Property Mapping (help)
template property Einwohner
ontology property populationTotal




Property Mapping (help)
template property pop_metro
ontology property populationMetro




Property Mapping (help)
template property pop_urban
ontology property populationUrban




Property Mapping (help)
template property Stand
ontology property populationAsOf




Property Mapping (help)
template property PLZ
ontology property postalCode




Property Mapping (help)
template property Vorwahl
ontology property areaCode




Property Mapping (help)
template property Website
ontology property foaf:homepage




Property Mapping (help)
template property Art
ontology property type




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 ruling_party1
ontology property leaderParty




Property Mapping (help)
template property ruling_party2
ontology property leaderParty




Property Mapping (help)
template property ruling_party3
ontology property leaderParty






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




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




Property Mapping (help)
template property region
ontology property region




Property Mapping (help)
template property state
ontology property federalState




Property Mapping (help)
template property Town
ontology property city




Property Mapping (help)
template property City
ontology property city




Property Mapping (help)
template property district
ontology property district




Property Mapping (help)
template property Municipality
ontology property municipality




Property Mapping (help)
template property borough
ontology property administrativeDistrict




Property Mapping (help)
template property divisions
ontology property division




Property Mapping (help)
template property type
ontology property type


Property Mapping (help)
template property elevation
ontology property elevation
unitmetre


Property Mapping (help)
template property area
ontology property areaTotal
unitsquareKilometre




Property Mapping (help)
template property population
ontology property populationTotal




Property Mapping (help)
template property population_as_of
ontology property populationAsOf




Property Mapping (help)
template property postal_code
ontology property postalCode




Property Mapping (help)
template property area_code
ontology property areaCode




Property Mapping (help)
template property licence
ontology property licenceNumber




Property Mapping (help)
template property license
ontology property licenceNumber




Property Mapping (help)
template property mayor
ontology property leaderName




Property Mapping (help)
template property party
ontology property leaderParty




Property Mapping (help)
template property year
ontology property foundingYear




Property Mapping (help)
template property website
ontology property foaf:homepage