Mapping fr:Infobox Commune d'Algérie: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(Created page with '{{TemplateMapping | mapToClass = AlgerianSettlement | mappings = {{ConstantMapping | ontologyProperty = country | value = Algérie }} {{PropertyMapping | templatePropert...')
 
No edit summary
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TemplateMapping
{{TemplateMapping
| mapToClass = AlgerianSettlement
| mapToClass = Settlement
| mappings =
| mappings =
         {{ConstantMapping | ontologyProperty = country | value = Algérie }}
         {{ConstantMapping | ontologyProperty = country | value = Algérie }}
{{PropertyMapping | templateProperty = nom | ontologyProperty = settlementName }}
{{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name }}
         {{PropertyMapping | templateProperty = nomAlgérien | ontologyProperty = algerianSettlementName }}
         {{PropertyMapping | templateProperty = nomAlgérien | ontologyProperty = foaf:name | language = qqq-DZ}}
         {{PropertyMapping | templateProperty = nomChaoui | ontologyProperty = chaouiSettlementName }}
         {{PropertyMapping | templateProperty = nomChaoui | ontologyProperty = foaf:name | language = shy }}
         {{PropertyMapping | templateProperty = nomKabyle | ontologyProperty = kabyleSettlementName }}
         {{PropertyMapping | templateProperty = nomKabyle | ontologyProperty = foaf:name | language = kab }}
         {{PropertyMapping | templateProperty = nomMozabite | ontologyProperty = mozabiteSettlementName }}
         {{PropertyMapping | templateProperty = nomMozabite | ontologyProperty = foaf:name | language = mzb }}
         {{PropertyMapping | templateProperty = nomTamazight | ontologyProperty = tamazightSettlementName }}
         {{PropertyMapping | templateProperty = nomTamazight | ontologyProperty = foaf:name | language = tzm }}
         {{PropertyMapping | templateProperty = nomTouareg | ontologyProperty = touaregSettlementName }}
         {{PropertyMapping | templateProperty = nomTouareg | ontologyProperty = foaf:name | language = tmh }}
        {{PropertyMapping | templateProperty = image | ontologyProperty = thumbnail }}
         {{PropertyMapping | templateProperty = légende | ontologyProperty = thumbnailCaption }}
         {{PropertyMapping | templateProperty = légende | ontologyProperty = thumbnailCaption }}
         {{PropertyMapping | templateProperty = blason | ontologyProperty = blazon }}
         {{PropertyMapping | templateProperty = blason | ontologyProperty = blazon }}
Line 22: Line 21:
         {{PropertyMapping | templateProperty = ons | ontologyProperty = ons }}
         {{PropertyMapping | templateProperty = ons | ontologyProperty = ons }}
         {{PropertyMapping | templateProperty = cp | ontologyProperty = postalCode }}
         {{PropertyMapping | templateProperty = cp | ontologyProperty = postalCode }}
         {{PropertyMapping | templateProperty = tel | ontologyProperty = telPrefix }}
         {{PropertyMapping | templateProperty = tel | ontologyProperty = areaCode }}
         {{PropertyMapping | templateProperty = président apc | ontologyProperty = apcPresident }}
         {{IntermediateNodeMapping
        {{PropertyMapping | templateProperty = mandat | ontologyProperty = mandate }}
        | nodeClass = PoliticalFunction
        | correspondingProperty = politicalLeader
        | mappings =
          {{PropertyMapping | templateProperty = président apc | ontologyProperty = apcPresident }}
          {{DateIntervalMapping
            | templateProperty         = mandat  
            | startDateOntologyProperty = activeYearsStartYear
            | endDateOntologyProperty  = activeYearsEndYear
          }}
        }}
         {{PropertyMapping | templateProperty = budget | ontologyProperty = budget | unit = algerianDinar }}
         {{PropertyMapping | templateProperty = budget | ontologyProperty = budget | unit = algerianDinar }}
         {{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal | unit = people }}
         {{IntermediateNodeMapping
        {{PropertyMapping | templateProperty = année_pop | ontologyProperty = populationYear }}
        | nodeClass = Demographics
        | correspondingProperty = demographics
        | mappings =
          {{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal }}  
          {{PropertyMapping | templateProperty = année_pop | ontologyProperty = year }}
        }}
         {{PropertyMapping | templateProperty = aire-urbaine | ontologyProperty = urbanArea }}
         {{PropertyMapping | templateProperty = aire-urbaine | ontologyProperty = urbanArea }}
         {{PropertyMapping | templateProperty = gentilé | ontologyProperty = peopleNames }}
         {{PropertyMapping | templateProperty = gentilé | ontologyProperty = peopleName }}
         {{PropertyMapping | templateProperty = patrons | ontologyProperty = patronSaint }}
         {{PropertyMapping | templateProperty = patrons | ontologyProperty = patronSaint }}
         {{PropertyMapping | templateProperty = fête patronale | ontologyProperty = employersCelebration }}
         {{PropertyMapping | templateProperty = fête patronale | ontologyProperty = employersCelebration }}
         {{GeocoordinatesMapping | latitude = latitude  | longitude = longitude }}
         {{GeocoordinatesMapping | latitude = latitude  | longitude = longitude }}
        {{PropertyMapping | templateProperty = altitude  | ontologyProperty = elevation | unit = metre }}
         {{PropertyMapping | templateProperty = position | ontologyProperty = position }}
         {{PropertyMapping | templateProperty = position | ontologyProperty = position }}
         {{PropertyMapping | templateProperty = alt mini | ontologyProperty = minimumElevation | unit = metre }}
         {{IntermediateNodeMapping
        {{PropertyMapping | templateProperty = alt maxi | ontologyProperty = maximumElevation | unit = metre }}
        | nodeClass = Altitude
         {{PropertyMapping | templateProperty = superficie | ontologyProperty = area | unit = squareKilometre }}
        | correspondingProperty = altitude
        | mappings =
          {{PropertyMapping | templateProperty = altitude | ontologyProperty = value }}
          {{PropertyMapping | templateProperty = alt mini | ontologyProperty = min }}  
          {{PropertyMapping | templateProperty = alt maxi | ontologyProperty = max }}
        }}
        {{IntermediateNodeMapping
        | nodeClass = Area
        | correspondingProperty = wholeArea
         | mappings =
          {{PropertyMapping | templateProperty = superficie | ontologyProperty = value }}
        }}
{{PropertyMapping | templateProperty = code_cadastre | ontologyProperty = landRegistryCode }}
{{PropertyMapping | templateProperty = code_cadastre | ontologyProperty = landRegistryCode }}
         {{PropertyMapping | templateProperty = imageloc | ontologyProperty = localizationThumbnail }}
         {{PropertyMapping | templateProperty = imageloc | ontologyProperty = localizationThumbnail }}
         {{PropertyMapping | templateProperty = légende imageloc | ontologyProperty = localizationThumbnailCaption }}
         {{PropertyMapping | templateProperty = légende imageloc | ontologyProperty = localizationThumbnailCaption }}
         {{PropertyMapping | templateProperty = siteweb | ontologyProperty = website }}
         {{PropertyMapping | templateProperty = siteweb | ontologyProperty = foaf:homepage }}
}}
}}

Latest revision as of 15:56, 15 February 2015

This is the mapping for the Wikipedia template Infobox Commune d'Algérie. 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 Algérie




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



Property Mapping (help)
template property nomAlgérien
ontology property foaf:name
languageqqq-DZ



Property Mapping (help)
template property nomChaoui
ontology property foaf:name
languageshy



Property Mapping (help)
template property nomKabyle
ontology property foaf:name
languagekab



Property Mapping (help)
template property nomMozabite
ontology property foaf:name
languagemzb



Property Mapping (help)
template property nomTamazight
ontology property foaf:name
languagetzm



Property Mapping (help)
template property nomTouareg
ontology property foaf:name
languagetmh




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 région
ontology property region




Property Mapping (help)
template property wilaya
ontology property wilaya




Property Mapping (help)
template property daïra
ontology property daira




Property Mapping (help)
template property commune
ontology property settlementAttached




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




Property Mapping (help)
template property statut
ontology property status




Property Mapping (help)
template property ons
ontology property ons




Property Mapping (help)
template property cp
ontology property postalCode




Property Mapping (help)
template property tel
ontology property areaCode


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




Property Mapping (help)
template property président apc
ontology property apcPresident


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


Property Mapping (help)
template property budget
ontology property budget
unitalgerianDinar


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 aire-urbaine
ontology property urbanArea




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




Property Mapping (help)
template property patrons
ontology property patronSaint




Property Mapping (help)
template property fête patronale
ontology property employersCelebration
Geocoordinates Mapping (help)
latitude template property latitude
longitude template property longitude




Property Mapping (help)
template property position
ontology property position


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




Property Mapping (help)
template property altitude
ontology property value




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




Property Mapping (help)
template property code_cadastre
ontology property landRegistryCode




Property Mapping (help)
template property imageloc
ontology property localizationThumbnail




Property Mapping (help)
template property légende imageloc
ontology property localizationThumbnailCaption




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