Mapping sl:Infopolje Francoska obcina: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{{ConditionalMapping
{{TemplateMapping
| cases =
| mapToClass = Settlement
  {{Condition
| mappings =
    | templateProperty = settlement_type
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
    | operator = equals
        {{PropertyMapping | templateProperty = native_name | ontologyProperty = foaf:name }}
    | value = city
{{PropertyMapping | templateProperty = native_name | ontologyProperty = foaf:name }}
    | mapping = {{TemplateMapping
        {{PropertyMapping | templateProperty = city_motto | ontologyProperty = motto }}
                  | mapToClass = City
        {{PropertyMapping | templateProperty = time_zone | ontologyProperty = timeZone }}
                }}
        {{PropertyMapping | templateProperty = region | ontologyProperty = region }}
  }}
        {{PropertyMapping | templateProperty = department | ontologyProperty = department }}
        {{PropertyMapping | templateProperty = arrondissement | ontologyProperty = arrondissement }}
        {{PropertyMapping | templateProperty = canton | ontologyProperty = canton }}
        {{PropertyMapping | templateProperty = subdivisions | ontologyProperty = subdivisions }}
        {{PropertyMapping | templateProperty = intercommunality | ontologyProperty = intercommunality }}       
        {{PropertyMapping | templateProperty = mayor | ontologyProperty = mayor }}
        {{PropertyMapping | templateProperty = elevation_m | ontologyProperty = elevation | unit = metre }}
{{PropertyMapping | templateProperty = elevation_max_m | ontologyProperty = maximumElevation | unit = metre }}
{{PropertyMapping | templateProperty = elevation_min_m | ontologyProperty = minimumElevation | unit = metre }}
        {{PropertyMapping | templateProperty = area_km2 | ontologyProperty = area | unit = squareKilometre  }}
        {{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal }}
        {{PropertyMapping | templateProperty = population_year | ontologyProperty = populationAsOf }}
        {{PropertyMapping | templateProperty = postal_code | ontologyProperty = postalCode }}
        {{PropertyMapping | templateProperty = INSEE | ontologyProperty = inseeCode }}
        {{PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}


  {{Condition
{{GeocoordinatesMapping | latitude = latitude | longitude = longitude }}
    | templateProperty = settlement_type
    | operator = equals
    | value = town
    | mapping = {{TemplateMapping
                  | mapToClass = Town
                }}
  }}
 
  {{Condition
    | templateProperty = settlement_type
    | operator = equals
    | value = village
    | mapping = {{TemplateMapping
                  | mapToClass = Village
                }}
  }}
 
  {{Condition
    | operator = otherwise
    | mapping = {{TemplateMapping
                  | mapToClass = Town
                }}
  }}
 
| defaultMappings =
{{PropertyMapping | templateProperty = neighboring_municipalities | ontologyProperty = neighboringMunicipality }}
{{PropertyMapping | templateProperty = postal_code | ontologyProperty = postalCode }}
{{PropertyMapping | templateProperty = municipality_code | ontologyProperty = areaCode }}
{{PropertyMapping | templateProperty = area | ontologyProperty = areaTotal | unit = squareKilometre }}
{{PropertyMapping | templateProperty = elevation | ontologyProperty = elevation | unit = metre }}
{{PropertyMapping | templateProperty = highest_m | ontologyProperty = maximumElevation | unit = metre }}
{{PropertyMapping | templateProperty = lowest_m | ontologyProperty = minimumElevation | unit = metre }}
{{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal }}
{{PropertyMapping | templateProperty = populationof | ontologyProperty = populationAsOf }}
{{PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}
{{PropertyMapping | templateProperty = demonym | ontologyProperty = demonym }}
{{GeocoordinatesMapping | longitudeMinutes = long_m  | longitudeDirection = long_NS  | latitudeDegrees = lat_d  | latitudeMinutes = lat_m | latitudeDirection = lat_EW }}
}}
}}

Latest revision as of 14:14, 7 June 2011

This is the mapping for the Wikipedia template Infopolje Francoska obcina. 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




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




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




Property Mapping (help)
template property city_motto
ontology property motto




Property Mapping (help)
template property time_zone
ontology property timeZone




Property Mapping (help)
template property region
ontology property region




Property Mapping (help)
template property department
ontology property department




Property Mapping (help)
template property arrondissement
ontology property arrondissement




Property Mapping (help)
template property canton
ontology property canton




Property Mapping (help)
template property subdivisions
ontology property subdivisions




Property Mapping (help)
template property intercommunality
ontology property intercommunality




Property Mapping (help)
template property mayor
ontology property mayor


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


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


Property Mapping (help)
template property elevation_min_m
ontology property minimumElevation
unitmetre


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




Property Mapping (help)
template property population
ontology property populationTotal




Property Mapping (help)
template property population_year
ontology property populationAsOf




Property Mapping (help)
template property postal_code
ontology property postalCode




Property Mapping (help)
template property INSEE
ontology property inseeCode




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


Geocoordinates Mapping (help)
latitude template property latitude
longitude template property longitude