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

From Mediawiki1
Jump to navigationJump to search
(added "Comarque" mapping)
No edit summary
Line 1: Line 1:
{{TemplateMapping
{{TemplateMapping
| mapToClass = Settlement
| mapToClass = SpainSettlement
| 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 = drapeau | ontologyProperty = flag }}
        {{PropertyMapping | templateProperty = blason | ontologyProperty = blazon }}
        {{PropertyMapping | templateProperty = image | ontologyProperty = thumbnail }}
        {{PropertyMapping | templateProperty = légende | ontologyProperty = thumbnailCaption }}
        {{GeocoordinatesMapping | latitude = latitude  | longitude = longitude }}
        {{PropertyMapping | templateProperty = statut | ontologyProperty = status }}
        {{PropertyMapping | templateProperty = gentilé | ontologyProperty = peopleName }}
        {{PropertyMapping | templateProperty = fondation | ontologyProperty = foundationDate }}
        {{PropertyMapping | templateProperty = commauto | ontologyProperty = region }}
        {{PropertyMapping | templateProperty = province | ontologyProperty = province }}
        {{PropertyMapping | templateProperty = Comarque | ontologyProperty = locatedInArea }}
         {{PropertyMapping | templateProperty = district | ontologyProperty = district }}
         {{PropertyMapping | templateProperty = district | ontologyProperty = district }}
         {{PropertyMapping | templateProperty = populal| ontologyProperty = populationTotal }}
         {{PropertyMapping | templateProperty = Commune | ontologyProperty = settlement }}       
        {{PropertyMapping | templateProperty = cp | ontologyProperty = postalCode }}
        {{PropertyMapping | templateProperty = altitude | ontologyProperty = elevation  }}
        {{PropertyMapping | templateProperty = distance | ontologyProperty = distance  }}
        {{PropertyMapping | templateProperty = population| ontologyProperty = populationTotal }}
        {{PropertyMapping | templateProperty = année_pop | ontologyProperty = populationYear }}
        {{PropertyMapping | templateProperty = rivières | ontologyProperty = river }}
        {{PropertyMapping | templateProperty = mer | ontologyProperty = sea }}
        {{PropertyMapping | templateProperty = st-patron | ontologyProperty = patronSaint }}
        {{PropertyMapping | templateProperty = unesco | ontologyProperty = unesco }}
{{PropertyMapping | templateProperty = maire | ontologyProperty = mayor }}
        {{PropertyMapping | templateProperty = parti | ontologyProperty = party }}
        {{PropertyMapping | templateProperty = mandat maire | ontologyProperty = mayorMandate }}  
         {{PropertyMapping | templateProperty = superf | ontologyProperty = areaTotal }}
         {{PropertyMapping | templateProperty = superf | ontologyProperty = areaTotal }}
         {{PropertyMapping | templateProperty = densité | ontologyProperty = density }}
         {{PropertyMapping | templateProperty = densité | ontologyProperty = density }}
{{PropertyMapping | templateProperty = maire | ontologyProperty = leaderName }}
{{PropertyMapping | templateProperty = budget | ontologyProperty = budget }}
{{PropertyMapping | templateProperty = cp | ontologyProperty = postalCode }}
{{PropertyMapping | templateProperty = annéebud | ontologyProperty = budgetYear }}
        {{PropertyMapping | templateProperty = altitude | ontologyProperty = elevation  }}
{{PropertyMapping | templateProperty = siteweb | ontologyProperty = foaf:homepage }}
{{PropertyMapping | templateProperty = st-patron | ontologyProperty = patron }}
{{PropertyMapping | templateProperty = refgen | ontologyProperty = refgen }}
{{PropertyMapping | templateProperty = province | ontologyProperty = province }}
         {{PropertyMapping | templateProperty = refcul | ontologyProperty = refcul }}
{{PropertyMapping | templateProperty = commauto | ontologyProperty = region }}
         {{PropertyMapping | templateProperty = refgeo | ontologyProperty = refgeo }}
{{PropertyMapping | templateProperty = parti | ontologyProperty = party }}
        {{PropertyMapping | templateProperty = refpol | ontologyProperty = refpol }}
        {{GeocoordinatesMapping | latitude = latitude  | longitude = longitude }}
        {{PropertyMapping | templateProperty = siteweb | ontologyProperty = foaf:homepage }}
        {{PropertyMapping | templateProperty = budget | ontologyProperty = budget }}
         {{PropertyMapping | templateProperty = blason | ontologyProperty = foaf:logo }}
         {{PropertyMapping | templateProperty = fondation | ontologyProperty = foundingDate }}
{{PropertyMapping | templateProperty = gentilé | ontologyProperty = demonym }}
{{PropertyMapping | templateProperty = Comarque | ontologyProperty = locatedInArea }} <!-- until a more precise relation is defined -->
}}
}}

Revision as of 16:58, 25 May 2013

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 SpainSettlement

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 image
ontology property thumbnail




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 foundationDate




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




Property Mapping (help)
template property altitude
ontology property elevation




Property Mapping (help)
template property distance
ontology property distance




Property Mapping (help)
template property population
ontology property populationTotal




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




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




Property Mapping (help)
template property maire
ontology property mayor




Property Mapping (help)
template property parti
ontology property party




Property Mapping (help)
template property mandat maire
ontology property mayorMandate




Property Mapping (help)
template property superf
ontology property areaTotal




Property Mapping (help)
template property densité
ontology property density




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