Mapping fr:Infobox Canton de France: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(mapping population, superficie, altitudes, coord geo)
m ({{ConstantMapping | ontologyProperty = country | value = France }})
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
| mappings =
| mappings =
{{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = cons | ontologyProperty = leader }}
{{ConstantMapping | ontologyProperty = country | value = France }}
{{PropertyMapping | templateProperty = cons | ontologyProperty = leaderName }} <!-- seems more used though wrong-->
        {{IntermediateNodeMapping | nodeClass = PoliticalFunction | correspondingProperty = countySeat
        | mappings =
          {{PropertyMapping | templateProperty = cons | ontologyProperty = person }}
          {{PropertyMapping | templateProperty = cons | ontologyProperty = personName }}
          {{DateIntervalMapping
            | templateProperty          = dates
            | startDateOntologyProperty = activeYearsStartYear
            | endDateOntologyProperty  = activeYearsEndYear
          }}
        }}
{{PropertyMapping | templateProperty = rég | ontologyProperty = region }}
{{PropertyMapping | templateProperty = rég | ontologyProperty = region }}
{{PropertyMapping | templateProperty = dépt | ontologyProperty = department}}
{{PropertyMapping | templateProperty = dépt | ontologyProperty = department}}
Line 10: Line 19:
{{PropertyMapping | templateProperty = circonscription | ontologyProperty = part }} <!-- nothing better -->
{{PropertyMapping | templateProperty = circonscription | ontologyProperty = part }} <!-- nothing better -->
{{PropertyMapping | templateProperty = ville | ontologyProperty = administrativeHeadCity }}
{{PropertyMapping | templateProperty = ville | ontologyProperty = administrativeHeadCity }}
{{PropertyMapping | templateProperty = insee | ontologyProperty = inseeCode }}
{{PropertyMapping | templateProperty = nbcomm | ontologyProperty = numberOfMunicipalities }}


         {{PropertyMapping | templateProperty = km² | ontologyProperty = areaTotal }}
         {{IntermediateNodeMapping | nodeClass = Area | correspondingProperty = wholeArea | mappings =
        {{PropertyMapping | templateProperty = superficie | ontologyProperty = areaTotal }}
          {{PropertyMapping | templateProperty = superficie | ontologyProperty = value }}
         {{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal }}
        }}
        {{PropertyMapping | templateProperty = année_pop | ontologyProperty = censusYear }}
         {{IntermediateNodeMapping | nodeClass = Demographics| correspondingProperty = demographics | mappings =
         {{PropertyMapping | templateProperty = alt maxi | ontologyProperty = maximumElevation }}
          {{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal }}  
        {{PropertyMapping | templateProperty = alt mini | ontologyProperty = minimumElevation }}
          {{PropertyMapping | templateProperty = année_pop | ontologyProperty = year }}
        }}
         {{IntermediateNodeMapping | nodeClass = Altitude | correspondingProperty = altitude | mappings =
          {{PropertyMapping | templateProperty = alt maxi | ontologyProperty = maximumElevation }}
          {{PropertyMapping | templateProperty = alt mini | ontologyProperty = minimumElevation }}
          {{PropertyMapping | templateProperty = altitude | ontologyProperty = value }}
        }}
         {{GeocoordinatesMapping | latitude = latitude| longitude = longitude}}
         {{GeocoordinatesMapping | latitude = latitude| longitude = longitude}}
}}
}}

Latest revision as of 01:47, 12 February 2015

This is the mapping for the Wikipedia template Infobox Canton de France. 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 GovernmentalAdministrativeRegion

Mappings




Property Mapping (help)
template property nom
ontology property foaf:name
Constant Mapping (help)
ontology property country
value France


Intermediate Node Mapping (help)
node class PoliticalFunction
corresponding property countySeat




Property Mapping (help)
template property cons
ontology property person




Property Mapping (help)
template property cons
ontology property personName


Date Interval Mapping (help)
template property dates
start date ontology property activeYearsStartYear
end date ontology property activeYearsEndYear




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




Property Mapping (help)
template property dépt
ontology property department




Property Mapping (help)
template property arrt
ontology property arrondissement




Property Mapping (help)
template property circonscription
ontology property part




Property Mapping (help)
template property ville
ontology property administrativeHeadCity




Property Mapping (help)
template property insee
ontology property inseeCode




Property Mapping (help)
template property nbcomm
ontology property numberOfMunicipalities


Intermediate Node Mapping (help)
node class Area
corresponding property wholeArea




Property Mapping (help)
template property superficie
ontology property value


Intermediate Node Mapping (help)
node class Demographics
corresponding property demographics




Property Mapping (help)
template property population
ontology property populationTotal




Property Mapping (help)
template property année_pop
ontology property year


Intermediate Node Mapping (help)
node class Altitude
corresponding property altitude




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




Property Mapping (help)
template property alt mini
ontology property minimumElevation




Property Mapping (help)
template property altitude
ontology property value
Geocoordinates Mapping (help)
latitude template property latitude
longitude template property longitude