Mapping de:Infobox Ortsteil einer Gemeinde in Deutschland: Difference between revisions
mNo edit summary |
No edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ ConditionalMapping | {{ ConditionalMapping | cases = | ||
{{ Condition | templateProperty = Höhe-bis | operator = isSet | mapping = | |||
{{ TemplateMapping | mapToClass = Settlement | mappings = | |||
{{ PropertyMapping | templateProperty = Höhe | ontologyProperty = minimumElevation | unit = metre }} }} }} | |||
<!-- Broken? --> | |||
<!-- | |||
{{ Condition | operator = 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: --> | |||
Maybe useful properties but without a counterpart so far: | {{ PropertyMapping | templateProperty = Gemeindeart | ontologyProperty = cityType }} | ||
<!-- Usage of coordinates differs from documentation: --> | |||
{{ GeocoordinatesMapping | latitude = Breitengrad | longitude = Längengrad }} | |||
{{ GeocoordinatesMapping | latitudeDegrees = lat_deg | latitudeMinutes = lat_min | latitudeSeconds = lat_sec | longitudeDegrees = lon_deg | longitudeMinutes = lon_min | longitudeSeconds = lon_sec }} | |||
{{ 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 unit metre
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 unit metre
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 unit metre
Property Mapping (help) template property Fläche ontology property area unit squareKilometre
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