Mapping fr:Infobox Commune de France: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(Created page with '{{TemplateMapping | mapToClass = FrenchSettlement | mappings = {{ConstantMapping | ontologyProperty = country | value = France }} {{PropertyMapping | template...')
 
No edit summary
 
(32 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{TemplateMapping  
{{TemplateMapping  
| mapToClass = FrenchSettlement
| mapToClass = Settlement
| mappings =  
| mappings =  
         {{ConstantMapping | ontologyProperty = country | value = France }}  
         {{ConstantMapping | ontologyProperty = country | value = France }}  
         {{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name }}
         {{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name }}
        {{PropertyMapping | templateProperty = image | ontologyProperty = thumbnail }}
         {{PropertyMapping | templateProperty = légende | ontologyProperty = thumbnailCaption }}  
         {{PropertyMapping | templateProperty = légende | ontologyProperty = captionThumbnail }}  
         {{PropertyMapping | templateProperty = blason | ontologyProperty = blazon }}  
         {{PropertyMapping | templateProperty = blason | ontologyProperty = blazon }}  
         {{PropertyMapping | templateProperty = légende blason | ontologyProperty = captionBlazon }}  
         {{PropertyMapping | templateProperty = légende blason | ontologyProperty = blazonCaption }}  
         {{PropertyMapping | templateProperty = drapeau | ontologyProperty = flag }}  
         {{PropertyMapping | templateProperty = drapeau | ontologyProperty = flag }}  
         {{PropertyMapping | templateProperty = légende drapeau | ontologyProperty = captionFlag }}
         {{PropertyMapping | templateProperty = légende drapeau | ontologyProperty = flagCaption }}  
        {{PropertyMapping | templateProperty = taille drapeau | ontologyProperty = sizeFlag }}  
         {{PropertyMapping | templateProperty = région | ontologyProperty = region }}  
         {{PropertyMapping | templateProperty = région | ontologyProperty = region }}  
         {{PropertyMapping | templateProperty = département | ontologyProperty = department }}  
         {{PropertyMapping | templateProperty = département | ontologyProperty = department }}  
         {{PropertyMapping | templateProperty = arrondissement | ontologyProperty = arrondissement }}  
         {{PropertyMapping | templateProperty = arrondissement | ontologyProperty = arrondissement }}  
         {{PropertyMapping | templateProperty = canton | ontologyProperty = canton }}  
         {{PropertyMapping | templateProperty = canton | ontologyProperty = canton }}  
         {{PropertyMapping | templateProperty = insee | ontologyProperty = codeInsee }}  
         {{PropertyMapping | templateProperty = insee | ontologyProperty = inseeCode }}  
         {{PropertyMapping | templateProperty = cp | ontologyProperty = postalCode }}  
         {{PropertyMapping | templateProperty = cp | ontologyProperty = postalCode }}  
         {{PropertyMapping | templateProperty = maire | ontologyProperty = mayor }}  
         {{IntermediateNodeMapping
        {{PropertyMapping | templateProperty = mandat maire | ontologyProperty = mayorMandate }}  
        | nodeClass = PoliticalFunction
        | correspondingProperty = politicalLeader
        | mappings =
          {{PropertyMapping | templateProperty = maire | ontologyProperty = mayor }}
          {{DateIntervalMapping
            | templateProperty         = mandat maire  
            | startDateOntologyProperty = activeYearsStartYear
            | endDateOntologyProperty  = activeYearsEndYear
          }}
        }}
         {{PropertyMapping | templateProperty = intercomm | ontologyProperty = intercommunality }}  
         {{PropertyMapping | templateProperty = intercomm | ontologyProperty = intercommunality }}  
         {{GeocoordinatesMapping | latitude = latitude  | longitude = longitude }}
         {{GeocoordinatesMapping | latitude = latitude  | longitude = longitude }}
        {{PropertyMapping | templateProperty = alt mini | ontologyProperty = minimumElevation | unit = metre }}  
 
        {{PropertyMapping | templateProperty = alt maxi | ontologyProperty = maximumElevation | unit = metre }}  
{{PropertyMapping | templateProperty = altitude | ontologyProperty = elevation | unit = metre }}
        {{PropertyMapping | templateProperty = superficie | ontologyProperty = area }}  
{{PropertyMapping | templateProperty = alt maxi | ontologyProperty = maximumElevation | unit = metre }}
         {{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal | unit = people }}  
{{PropertyMapping | templateProperty = alt mini | ontologyProperty = minimumElevation | unit = metre }}
         {{PropertyMapping | templateProperty = année_pop | ontologyProperty = populationYear }}  
         {{IntermediateNodeMapping
         {{PropertyMapping | templateProperty = population agglomération | ontologyProperty = populationAgglomeration | unit = people }}  
        | nodeClass = Altitude
        {{PropertyMapping | templateProperty = année_pop agglomération | ontologyProperty = populationAgglomerationYear }}  
        | correspondingProperty = altitude
        | mappings =
          {{PropertyMapping | templateProperty = alt mini | ontologyProperty = min }}
          {{PropertyMapping | templateProperty = alt maxi | ontologyProperty = max }}
        }}
       
         {{IntermediateNodeMapping
        | nodeClass = Area
        | correspondingProperty = wholeArea
        | mappings =
          {{PropertyMapping | templateProperty = superficie | ontologyProperty = value }}
        }}
         {{IntermediateNodeMapping
        | nodeClass = Agglomeration
        | correspondingProperty = agglomeration
        | mappings =
          {{IntermediateNodeMapping
          | nodeClass = Demographics
          | correspondingProperty = demographics
          | mappings =
              {{PropertyMapping | templateProperty = population agglomération | ontologyProperty = populationTotal }}  
              {{PropertyMapping | templateProperty = année_pop agglomération | ontologyProperty = year }}
          }}
        }}
         {{PropertyMapping | templateProperty = gentilé | ontologyProperty = peopleName }}  
         {{PropertyMapping | templateProperty = gentilé | ontologyProperty = peopleName }}  
         {{PropertyMapping | templateProperty = siteweb | ontologyProperty = foaf:homepage }}  
         {{PropertyMapping | templateProperty = siteweb | ontologyProperty = foaf:homepage }}  
         {{PropertyMapping | templateProperty = géoloc-département | ontologyProperty = geolocalisationDepartment }}  
         {{PropertyMapping | templateProperty = géoloc-département | ontologyProperty = geolocDepartment }}  
         {{PropertyMapping | templateProperty = position | ontologyProperty = position }}  
         {{PropertyMapping | templateProperty = position | ontologyProperty = position }}  
         {{PropertyMapping | templateProperty = position-département | ontologyProperty = positionDepartment }}  
         {{PropertyMapping | templateProperty = position-département | ontologyProperty = departmentPosition }}
        {{PropertyMapping | templateProperty = taille drapeau | ontologyProperty = imageSize }}
        {{PropertyMapping | templateProperty = population | ontologyProperty = population }}
        {{PropertyMapping | templateProperty = année_pop | ontologyProperty = year }}
        {{PropertyMapping | templateProperty = province | ontologyProperty = province }}
 
}}
}}

Latest revision as of 21:17, 9 October 2022

This is the mapping for the Wikipedia template Infobox Commune 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 Settlement

Mappings

Constant Mapping (help)
ontology property country
value France




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




Property Mapping (help)
template property légende
ontology property thumbnailCaption




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 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 insee
ontology property inseeCode




Property Mapping (help)
template property cp
ontology property postalCode


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




Property Mapping (help)
template property maire
ontology property mayor


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




Property Mapping (help)
template property intercomm
ontology property intercommunality
Geocoordinates Mapping (help)
latitude template property latitude
longitude template property longitude



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


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


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


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




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




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


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 Agglomeration
corresponding property agglomeration
Intermediate Node Mapping (help)
node class Demographics
corresponding property demographics




Property Mapping (help)
template property population agglomération
ontology property populationTotal




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




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




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




Property Mapping (help)
template property géoloc-département
ontology property geolocDepartment




Property Mapping (help)
template property position
ontology property position




Property Mapping (help)
template property position-département
ontology property departmentPosition




Property Mapping (help)
template property taille drapeau
ontology property imageSize




Property Mapping (help)
template property population
ontology property population




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




Property Mapping (help)
template property province
ontology property province