Mapping en:Infobox French commune: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
No edit summary
Line 2: Line 2:
| mapToClass = Settlement
| mapToClass = Settlement
| mappings =
| mappings =
{{ConstantMapping | ontologyProperty = country | value = France }}
{{PropertyMapping | templateProperty = nomcommune | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
         {{PropertyMapping | templateProperty = région | ontologyProperty = region }}
        {{PropertyMapping | templateProperty = native_name | ontologyProperty = foaf:name }}
         {{PropertyMapping | templateProperty = département | ontologyProperty = department }}
{{PropertyMapping | templateProperty = native name | ontologyProperty = foaf:name }}
         {{PropertyMapping | templateProperty = city_motto | ontologyProperty = motto }}
        {{PropertyMapping | templateProperty = time_zone | ontologyProperty = timeZone }}
        {{PropertyMapping | templateProperty = region | ontologyProperty = region }}
         {{PropertyMapping | templateProperty = department | ontologyProperty = department }}
         {{PropertyMapping | templateProperty = arrondissement | ontologyProperty = arrondissement }}
         {{PropertyMapping | templateProperty = arrondissement | ontologyProperty = arrondissement }}
         {{PropertyMapping | templateProperty = canton | ontologyProperty = canton }}
         {{PropertyMapping | templateProperty = canton | ontologyProperty = canton }}
         {{PropertyMapping | templateProperty = subdivisions | ontologyProperty = subdivisions }}
         {{PropertyMapping | templateProperty = intercomm | ontologyProperty = intercommunality }}         
        {{PropertyMapping | templateProperty = intercommunality | ontologyProperty = intercommunality }}         
         {{PropertyMapping | templateProperty = maire | ontologyProperty = mayor }}
         {{PropertyMapping | templateProperty = mayor | ontologyProperty = mayor }}
         {{PropertyMapping | templateProperty = alt maxi | ontologyProperty = maximumElevation | unit = metre }}
         {{PropertyMapping | templateProperty = elevation m | ontologyProperty = elevation | unit = metre }}
{{PropertyMapping | templateProperty = alt min | ontologyProperty = minimumElevation | unit = metre }}
{{PropertyMapping | templateProperty = elevation max m | ontologyProperty = maximumElevation | unit = metre }}
         {{PropertyMapping | templateProperty = km2 | ontologyProperty = area | unit = squareKilometre  }}
{{PropertyMapping | templateProperty = elevation min m | ontologyProperty = minimumElevation | unit = metre }}
         {{PropertyMapping | templateProperty = nomhab | ontologyProperty = populationTotal }}
         {{PropertyMapping | templateProperty = elevation_m | ontologyProperty = elevation | unit = metre }}
         {{PropertyMapping | templateProperty = cp | ontologyProperty = postalCode }}
{{PropertyMapping | templateProperty = elevation_max_m | ontologyProperty = maximumElevation | unit = metre }}
         {{PropertyMapping | templateProperty = insee | ontologyProperty = inseeCode }}
{{PropertyMapping | templateProperty = elevation_min_m | ontologyProperty = minimumElevation | unit = metre }}
         {{PropertyMapping | templateProperty = siteweb | ontologyProperty = foaf:homepage }}
        {{PropertyMapping | templateProperty = area_km2 | ontologyProperty = area | unit = squareKilometre  }}
        {{PropertyMapping | templateProperty = area km2 | ontologyProperty = area | unit = squareKilometre  }}
         {{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal }}
         {{PropertyMapping | templateProperty = population_year | ontologyProperty = populationAsOf }}
        {{PropertyMapping | templateProperty = population date | ontologyProperty = populationAsOf }}
        {{PropertyMapping | templateProperty = postal_code | ontologyProperty = postalCode }}
        {{PropertyMapping | templateProperty = postal code  | ontologyProperty = postalCode }}
         {{PropertyMapping | templateProperty = INSEE | ontologyProperty = inseeCode }}
         {{PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}
{{GeocoordinatesMapping | latitude = latitude  | longitude = longitude }}
{{GeocoordinatesMapping | latitude = latitude  | longitude = longitude }}
}}
}}

Revision as of 12:55, 29 August 2011

This is the mapping for the Wikipedia template Infobox French commune. 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 nomcommune
ontology property foaf:name




Property Mapping (help)
template property région
ontology property region




Property Mapping (help)
template property département
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 intercomm
ontology property intercommunality




Property Mapping (help)
template property maire
ontology property mayor


Property Mapping (help)
template property alt maxi
ontology property maximumElevation
unitmetre


Property Mapping (help)
template property alt min
ontology property minimumElevation
unitmetre


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




Property Mapping (help)
template property nomhab
ontology property populationTotal




Property Mapping (help)
template property cp
ontology property postalCode




Property Mapping (help)
template property insee
ontology property inseeCode




Property Mapping (help)
template property siteweb
ontology property foaf:homepage
Geocoordinates Mapping (help)
latitude template property latitude
longitude template property longitude