Mapping fr:Infobox Commune de Hongrie: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
m (phonePrefix -> areaCode)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TemplateMapping
{{TemplateMapping
| mapToClass = HungarySettlement
| mapToClass = Settlement
| mappings =
| mappings =
         {{ConstantMapping | ontologyProperty = country | value = Hongrie }}
         {{ConstantMapping | ontologyProperty = country | value = Hongrie }}
{{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name | language = hu}}
         {{PropertyMapping | templateProperty = nom français | ontologyProperty = frenchName }}
         {{PropertyMapping | templateProperty = nom français | ontologyProperty = foaf:name | language = fr }}
         {{PropertyMapping | templateProperty = autres nom | ontologyProperty = otherName }}
         {{PropertyMapping | templateProperty = autres nom | ontologyProperty = otherName }}
        {{PropertyMapping | templateProperty = image | ontologyProperty = thumbnail }}
        {{PropertyMapping | templateProperty = taille image | ontologyProperty = sizeThumbnail }}
         {{PropertyMapping | templateProperty = légende | ontologyProperty = thumbnailCaption }}
         {{PropertyMapping | templateProperty = légende | ontologyProperty = thumbnailCaption }}
         {{PropertyMapping | templateProperty = blason | ontologyProperty = blazon }}
         {{PropertyMapping | templateProperty = blason | ontologyProperty = blazon }}
Line 13: Line 11:
         {{PropertyMapping | templateProperty = quartiers | ontologyProperty = neighbourhood }}         
         {{PropertyMapping | templateProperty = quartiers | ontologyProperty = neighbourhood }}         
         {{PropertyMapping | templateProperty = cp | ontologyProperty = postalCode }}
         {{PropertyMapping | templateProperty = cp | ontologyProperty = postalCode }}
         {{PropertyMapping | templateProperty = maire | ontologyProperty = mayor }}
         {{IntermediateNodeMapping
        {{PropertyMapping | templateProperty = mandat maire | ontologyProperty = mayorTitle }}
        | nodeClass = PoliticalFunction
        | correspondingProperty = politicalLeader
        | mappings =
          {{PropertyMapping | templateProperty = maire | ontologyProperty = mayor }}
          {{DateIntervalMapping
            | templateProperty         = mandat maire
            | startDateOntologyProperty = activeYearsStartYear
            | endDateOntologyProperty  = activeYearsEndYear
          }}
          {{PropertyMapping | templateProperty = titredumaire  | ontologyProperty = title }}
        }}
         {{PropertyMapping | templateProperty = partis | ontologyProperty = party }}
         {{PropertyMapping | templateProperty = partis | ontologyProperty = party }}
         {{GeocoordinatesMapping | latitude = latitude  | longitude = longitude }}
         {{GeocoordinatesMapping | latitude = latitude  | longitude = longitude }}
         {{PropertyMapping | templateProperty = altitude | ontologyProperty = elevation }}
         {{IntermediateNodeMapping
        | nodeClass = Altitude
        | correspondingProperty = altitude
        | mappings =
          {{PropertyMapping | templateProperty = altitude | ontologyProperty = value }}
        }}
         {{PropertyMapping | templateProperty = source | ontologyProperty = source }}
         {{PropertyMapping | templateProperty = source | ontologyProperty = source }}
        {{PropertyMapping | templateProperty = divers | ontologyProperty = otherInformation }}
        {{PropertyMapping | templateProperty = nom divers | ontologyProperty = otherInformation }}
         {{PropertyMapping | templateProperty = nom panneau | ontologyProperty = signName }}
         {{PropertyMapping | templateProperty = nom panneau | ontologyProperty = signName }}
         {{PropertyMapping | templateProperty = région | ontologyProperty = region }}
         {{PropertyMapping | templateProperty = région | ontologyProperty = region }}
         {{PropertyMapping | templateProperty = comitat | ontologyProperty = comitat }}
         {{PropertyMapping | templateProperty = comitat | ontologyProperty = comitat }}
         {{PropertyMapping | templateProperty = district | ontologyProperty = district }}
         {{PropertyMapping | templateProperty = district | ontologyProperty = district }}
         {{PropertyMapping | templateProperty = rang | ontologyProperty = status }}
         {{PropertyMapping | templateProperty = rang | ontologyProperty = rank }}
         {{PropertyMapping | templateProperty = téléphone | ontologyProperty = phonePrefix }}
         {{PropertyMapping | templateProperty = téléphone | ontologyProperty = areaCode }}
         {{PropertyMapping | templateProperty = siteweb | ontologyProperty = foaf:homepage }}
         {{PropertyMapping | templateProperty = siteweb | ontologyProperty = foaf:homepage }}
         {{PropertyMapping | templateProperty = superficie | ontologyProperty = area | unit = squareKilometre }}
         {{IntermediateNodeMapping
         {{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal | unit = people }}
        | nodeClass = Area
{{PropertyMapping | templateProperty = année_pop | ontologyProperty = populationYear }}
        | correspondingProperty = wholeArea
        {{PropertyMapping | templateProperty = dens | ontologyProperty = density | unit = peoplePerSquareKilometer }}
        | mappings =
          {{PropertyMapping | templateProperty = superficie | ontologyProperty = value }}
        }}
        {{IntermediateNodeMapping
        | nodeClass = Demographics
        | correspondingProperty = demographics
         | mappings =
          {{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal }}  
          {{PropertyMapping | templateProperty = année_pop | ontologyProperty = year }}  
          {{PropertyMapping | templateProperty = dens | ontologyProperty = density | unit = peoplePerSquareKilometer }}
        }}
         {{PropertyMapping | templateProperty = collectivités des minorités | ontologyProperty = collectivityMinority }}
         {{PropertyMapping | templateProperty = collectivités des minorités | ontologyProperty = collectivityMinority }}
         {{PropertyMapping | templateProperty = minorités | ontologyProperty = minority }}
         {{PropertyMapping | templateProperty = minorités | ontologyProperty = minority }}
         {{PropertyMapping | templateProperty = religions | ontologyProperty = religion }}
         {{PropertyMapping | templateProperty = religions | ontologyProperty = religion }}
}}
}}

Latest revision as of 20:58, 12 February 2015

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



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



Property Mapping (help)
template property nom français
ontology property foaf:name
languagefr




Property Mapping (help)
template property autres nom
ontology property otherName




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




Property Mapping (help)
template property blason
ontology property blazon




Property Mapping (help)
template property drapeau
ontology property flag




Property Mapping (help)
template property quartiers
ontology property neighbourhood




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 titredumaire
ontology property title




Property Mapping (help)
template property partis
ontology property party
Geocoordinates Mapping (help)
latitude template property latitude
longitude template property longitude


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




Property Mapping (help)
template property altitude
ontology property value




Property Mapping (help)
template property source
ontology property source




Property Mapping (help)
template property nom panneau
ontology property signName




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




Property Mapping (help)
template property comitat
ontology property comitat




Property Mapping (help)
template property district
ontology property district




Property Mapping (help)
template property rang
ontology property rank




Property Mapping (help)
template property téléphone
ontology property areaCode




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


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


Property Mapping (help)
template property dens
ontology property density
unitpeoplePerSquareKilometer




Property Mapping (help)
template property collectivités des minorités
ontology property collectivityMinority




Property Mapping (help)
template property minorités
ontology property minority




Property Mapping (help)
template property religions
ontology property religion