Mapping fr:Infobox Région de France: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
No edit summary
 
(11 intermediate revisions by 3 users not shown)
Line 2: Line 2:
| mapToClass = AdministrativeRegion
| mapToClass = AdministrativeRegion
| mappings =
| mappings =
{{PropertyMapping | templateProperty = nomregion              | ontologyProperty = foaf:name }}
        {{ConstantMapping | ontologyProperty = country | value = France }}
{{PropertyMapping | templateProperty = armoiries              | ontologyProperty = foaf:thumbnail }}  
{{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = logo                  | ontologyProperty = foaf:thumbnail }}  
        {{PropertyMapping | templateProperty = blason | ontologyProperty = blazon }}
{{PropertyMapping | templateProperty = préfecture            | ontologyProperty = capital }}
        {{PropertyMapping | templateProperty = légende blason | ontologyProperty = blazonCaption }}  
{{PropertyMapping | templateProperty = départements          | ontologyProperty = department }}
        {{PropertyMapping | templateProperty = drapeau | ontologyProperty = flag }}  
{{PropertyMapping | templateProperty = préfecture_de_département| ontologyProperty = capital }}
        {{PropertyMapping | templateProperty = légende drapeau | ontologyProperty = flagCaption }}
{{PropertyMapping | templateProperty = préfecture de département| ontologyProperty = capital }}
{{PropertyMapping | templateProperty = préfecture | ontologyProperty = prefecture }}
{{PropertyMapping | templateProperty = arrondissements       | ontologyProperty = arrondissement }}
{{PropertyMapping | templateProperty = départements | ontologyProperty = department }}
{{PropertyMapping | templateProperty = cantons               | ontologyProperty = canton }}
{{PropertyMapping | templateProperty = préfecture de département| ontologyProperty = regionalPrefecture }}
{{PropertyMapping | templateProperty = communes               | ontologyProperty = commune }}  
{{PropertyMapping | templateProperty = arrondissements | ontologyProperty = numberOfArrondissement }}
{{PropertyMapping | templateProperty = président             | ontologyProperty = leaderName }}
{{PropertyMapping | templateProperty = cantons | ontologyProperty = numberOfCanton }}
{{PropertyMapping | templateProperty = km²                    | ontologyProperty = areaTotal | unit = squareKilometre }}
{{PropertyMapping | templateProperty = communes | ontologyProperty = numberOfSettlement }} 
{{PropertyMapping | templateProperty = pop                    | ontologyProperty = populationTotal }}
        {{IntermediateNodeMapping
{{PropertyMapping | templateProperty = date-pop              | ontologyProperty = populationAsOf }}
        | nodeClass = TermOfOffice
{{PropertyMapping | templateProperty = site web              | ontologyProperty = foaf:homepage }}
        | correspondingProperty = council
{{PropertyMapping | templateProperty = site_web              | ontologyProperty = foaf:homepage }}
        | mappings =
{{PropertyMapping | templateProperty = nomregion historique  | ontologyProperty = foaf:name }}
            {{PropertyMapping | templateProperty = conseil régional | ontologyProperty = regionalCouncil }}
{{PropertyMapping | templateProperty = nomregion_historique  | ontologyProperty = foaf:name }}
            {{PropertyMapping | templateProperty = président | ontologyProperty = president }}
{{PropertyMapping | templateProperty = chef-lieu              | ontologyProperty = city }}
            {{PropertyMapping | templateProperty = présidente | ontologyProperty = president }}
{{PropertyMapping | templateProperty = langue                 | ontologyProperty = language }}
            {{DateIntervalMapping
{{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal }}
            | templateProperty          = mandat
{{GeocoordinatesMapping | latitudeDegrees = latd  | latitudeMinutes = latm  | latitudeSeconds = lats  | latitudeDirection = latNS  | longitudeDegrees = longd  | longitudeMinutes = longm  | longitudeSeconds = longs  | longitudeDirection = longEW }}
            | startDateOntologyProperty = activeYearsStartYear
            | endDateOntologyProperty  = activeYearsEndYear
          }}
        }}
        {{PropertyMapping | templateProperty = site web | ontologyProperty = foaf:homepage }}
        {{IntermediateNodeMapping
        | nodeClass = PoliticalFunction
        | correspondingProperty = politicalLeader
        | mappings =
            {{PropertyMapping | templateProperty = préfet | ontologyProperty = prefect }}
            {{PropertyMapping | templateProperty = préfete | ontologyProperty = prefect }}
        }}  
        {{IntermediateNodeMapping
        | nodeClass = Area
        | correspondingProperty = wholeArea
        | mappings =
            {{PropertyMapping | templateProperty = superficie | ontologyProperty = value }}
        }}
        {{IntermediateNodeMapping
        | nodeClass = Demographics
        | correspondingProperty = demographics
        | mappings =
            {{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal }}  
            {{PropertyMapping | templateProperty = année_pop | ontologyProperty = year }}
        }}
        {{GeocoordinatesMapping | latitude = latitude  | longitude = longitude }}
        {{PropertyMapping | templateProperty = gentilé | ontologyProperty = peopleName }}  
        {{PropertyMapping | templateProperty = langue | ontologyProperty = language }}
        {{PropertyMapping | templateProperty = nomregion historique  | ontologyProperty = historicalName }}
        {{PropertyMapping | templateProperty = blason | ontologyProperty = blazon }}
        {{PropertyMapping | templateProperty = légende blason | ontologyProperty = blazonCaption }}
        {{PropertyMapping | templateProperty = chef-lieu | ontologyProperty = administrativeCenter }}
        {{PropertyMapping | templateProperty = carte historique | ontologyProperty = historicalMap }}
}}
}}

Latest revision as of 20:31, 21 February 2015

This is the mapping for the Wikipedia template Infobox Région 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 AdministrativeRegion

Mappings

Constant Mapping (help)
ontology property country
value France




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




Property Mapping (help)
template property blason
ontology property blazon




Property Mapping (help)
template property légende blason
ontology property blazonCaption




Property Mapping (help)
template property drapeau
ontology property flag




Property Mapping (help)
template property légende drapeau
ontology property flagCaption




Property Mapping (help)
template property préfecture
ontology property prefecture




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




Property Mapping (help)
template property préfecture de département
ontology property regionalPrefecture




Property Mapping (help)
template property arrondissements
ontology property numberOfArrondissement




Property Mapping (help)
template property cantons
ontology property numberOfCanton




Property Mapping (help)
template property communes
ontology property numberOfSettlement


Intermediate Node Mapping (help)
node class TermOfOffice
corresponding property council




Property Mapping (help)
template property conseil régional
ontology property regionalCouncil




Property Mapping (help)
template property président
ontology property president




Property Mapping (help)
template property présidente
ontology property president


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




Property Mapping (help)
template property site web
ontology property foaf:homepage


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




Property Mapping (help)
template property préfet
ontology property prefect




Property Mapping (help)
template property préfete
ontology property prefect


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
Geocoordinates Mapping (help)
latitude template property latitude
longitude template property longitude




Property Mapping (help)
template property gentilé
ontology property peopleName




Property Mapping (help)
template property langue
ontology property language




Property Mapping (help)
template property nomregion historique
ontology property historicalName




Property Mapping (help)
template property blason
ontology property blazon




Property Mapping (help)
template property légende blason
ontology property blazonCaption




Property Mapping (help)
template property chef-lieu
ontology property administrativeCenter




Property Mapping (help)
template property carte historique
ontology property historicalMap