Mapping fr:Infobox Commune d'Espagne: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(Created page with '{{TemplateMapping | mapToClass = Settlement | mappings = {{ConstantMapping | ontologyProperty = country | value = Spain}} {{PropertyMapping | templateProperty = nommuni ...')
 
No edit summary
 
(15 intermediate revisions by 3 users not shown)
Line 2: Line 2:
| mapToClass = Settlement
| mapToClass = Settlement
| mappings =
| mappings =
{{ConstantMapping | ontologyProperty = country | value = Spain}}
{{ConstantMapping | ontologyProperty = country | value = Espagne}}
         {{PropertyMapping | templateProperty = nommuni | ontologyProperty = foaf:name }}
         {{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = année | ontologyProperty = populationAsOf }}
         {{PropertyMapping | templateProperty = autres noms | ontologyProperty = otherName }}
         {{PropertyMapping | templateProperty = district | ontologyProperty = district }}
         {{PropertyMapping | templateProperty = drapeau | ontologyProperty = flag }}  
         {{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal }}
         {{PropertyMapping | templateProperty = blason | ontologyProperty = blazon }}
         {{PropertyMapping | templateProperty = superficie | ontologyProperty = areaTotal }}
         {{PropertyMapping | templateProperty = légende | ontologyProperty = thumbnailCaption }}  
         {{PropertyMapping | templateProperty = densité | ontologyProperty = density }}
{{PropertyMapping | templateProperty = maire | ontologyProperty = leaderName }}
{{PropertyMapping | templateProperty = cp | ontologyProperty = postalCode }}
        {{PropertyMapping | templateProperty = altitude | ontologyProperty = elevation  }}
{{PropertyMapping | templateProperty = codecomm | ontologyProperty = isoCodeRegion }}
{{PropertyMapping | templateProperty = st-patron | ontologyProperty = patron }}
{{PropertyMapping | templateProperty = province | ontologyProperty = province }}
{{PropertyMapping | templateProperty = commauto | ontologyProperty = region }}
{{PropertyMapping | templateProperty = parti | ontologyProperty = party }}
         {{GeocoordinatesMapping | latitude = latitude  | longitude = longitude }}
         {{GeocoordinatesMapping | latitude = latitude  | longitude = longitude }}
         {{PropertyMapping | templateProperty = siteweb | ontologyProperty = foaf:homepage }}
         {{PropertyMapping | templateProperty = statut | ontologyProperty = status }}
         {{PropertyMapping | templateProperty = budget | ontologyProperty = budget }}
         {{PropertyMapping | templateProperty = gentilé | ontologyProperty = peopleName }}
        {{PropertyMapping | templateProperty = blason | ontologyProperty = foaf:logo }}
         {{PropertyMapping | templateProperty = fondation | ontologyProperty = foundingDate }}
         {{PropertyMapping | templateProperty = fondation | ontologyProperty = foundingDate }}
        {{PropertyMapping | templateProperty = commauto | ontologyProperty = region }}
        {{PropertyMapping | templateProperty = province | ontologyProperty = province }}
        {{PropertyMapping | templateProperty = Comarque | ontologyProperty = locatedInArea }}
        {{PropertyMapping | templateProperty = district | ontologyProperty = district }}
        {{PropertyMapping | templateProperty = Commune | ontologyProperty = settlement }}       
        {{PropertyMapping | templateProperty = cp | ontologyProperty = postalCode }}
        {{IntermediateNodeMapping
        | nodeClass = Altitude
        | correspondingProperty = altitude
        | mappings =
          {{PropertyMapping | templateProperty = altitude | ontologyProperty = value }}
        }}
        {{PropertyMapping | templateProperty = distance | ontologyProperty = distance  }}
        {{IntermediateNodeMapping
        | nodeClass = Demographics
        | correspondingProperty = demographics
        | mappings =
          {{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal }}
          {{PropertyMapping | templateProperty = année_pop | ontologyProperty = year }}
          {{PropertyMapping | templateProperty = densité | ontologyProperty = density }}
        }}
        {{PropertyMapping | templateProperty = rivières | ontologyProperty = river }}
        {{PropertyMapping | templateProperty = mer | ontologyProperty = sea }}
        {{PropertyMapping | templateProperty = st-patron | ontologyProperty = patronSaint }}
        {{PropertyMapping | templateProperty = unesco | ontologyProperty = unesco }}
{{IntermediateNodeMapping
        | nodeClass = Politician
        | correspondingProperty = politicalLeader
        | mappings =
          {{PropertyMapping | templateProperty = maire  | ontologyProperty = mayor }}
          {{DateIntervalMapping
            | templateProperty          = mandat maire
            | startDateOntologyProperty = activeYearsStartYear
            | endDateOntologyProperty  = activeYearsEndYear
          }}
        }}
        {{PropertyMapping | templateProperty = parti | ontologyProperty = party }}
        {{IntermediateNodeMapping
        | nodeClass = Area
        | correspondingProperty = wholeArea
        | mappings =
          {{PropertyMapping | templateProperty = superficie | ontologyProperty = value }}
        }}
{{PropertyMapping | templateProperty = budget | ontologyProperty = budget }}
{{PropertyMapping | templateProperty = annéebud | ontologyProperty = budgetYear }}
{{PropertyMapping | templateProperty = siteweb | ontologyProperty = foaf:homepage }}
{{PropertyMapping | templateProperty = refgen | ontologyProperty = refgen }}
        {{PropertyMapping | templateProperty = refcul | ontologyProperty = refcul }}
        {{PropertyMapping | templateProperty = refgeo | ontologyProperty = refgeo }}
        {{PropertyMapping | templateProperty = refpol | ontologyProperty = refpol }}
}}
}}

Latest revision as of 08:59, 9 May 2015

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




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




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




Property Mapping (help)
template property drapeau
ontology property flag




Property Mapping (help)
template property blason
ontology property blazon




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




Property Mapping (help)
template property statut
ontology property status




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




Property Mapping (help)
template property fondation
ontology property foundingDate




Property Mapping (help)
template property commauto
ontology property region




Property Mapping (help)
template property province
ontology property province




Property Mapping (help)
template property Comarque
ontology property locatedInArea




Property Mapping (help)
template property district
ontology property district




Property Mapping (help)
template property Commune
ontology property settlement




Property Mapping (help)
template property cp
ontology property postalCode


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




Property Mapping (help)
template property altitude
ontology property value




Property Mapping (help)
template property distance
ontology property distance


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 densité
ontology property density




Property Mapping (help)
template property rivières
ontology property river




Property Mapping (help)
template property mer
ontology property sea




Property Mapping (help)
template property st-patron
ontology property patronSaint




Property Mapping (help)
template property unesco
ontology property unesco


Intermediate Node Mapping (help)
node class Politician
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 parti
ontology property party


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




Property Mapping (help)
template property superficie
ontology property value




Property Mapping (help)
template property budget
ontology property budget




Property Mapping (help)
template property annéebud
ontology property budgetYear




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




Property Mapping (help)
template property refgen
ontology property refgen




Property Mapping (help)
template property refcul
ontology property refcul




Property Mapping (help)
template property refgeo
ontology property refgeo




Property Mapping (help)
template property refpol
ontology property refpol