Mapping fr:Infobox Commune du Mexique: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(Created page with '{{TemplateMapping | mapToClass = MexicoSettlement | mappings = {{ConstantMapping | ontologyProperty = country | value = Mexique }} {{PropertyMapping | templat...')
 
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TemplateMapping  
{{TemplateMapping  
| mapToClass = MexicoSettlement
| mapToClass = Settlement
| mappings =  
| mappings =  
         {{ConstantMapping | ontologyProperty = country | value = Mexique }}  
         {{ConstantMapping | ontologyProperty = country | value = Mexique }}  
Line 6: Line 6:
         {{PropertyMapping | templateProperty = blason | ontologyProperty = blazon }}  
         {{PropertyMapping | templateProperty = blason | ontologyProperty = blazon }}  
         {{PropertyMapping | templateProperty = drapeau | ontologyProperty = flag }}
         {{PropertyMapping | templateProperty = drapeau | ontologyProperty = flag }}
        {{PropertyMapping | templateProperty = image | ontologyProperty = thumbnail }}
         {{PropertyMapping | templateProperty = légende | ontologyProperty = thumbnailCaption }}  
         {{PropertyMapping | templateProperty = légende | ontologyProperty = thumbnailCaption }}  
         {{PropertyMapping | templateProperty = état | ontologyProperty = state }}         
         {{PropertyMapping | templateProperty = état | ontologyProperty = state }}         
         {{PropertyMapping | templateProperty = district | ontologyProperty = district }}
         {{PropertyMapping | templateProperty = district | ontologyProperty = district }}
         {{PropertyMapping | templateProperty = municipalité | ontologyProperty = municipality }}
         {{PropertyMapping | templateProperty = municipalité | ontologyProperty = municipality }}
         {{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal | unit = people }}  
         {{IntermediateNodeMapping
         {{PropertyMapping | templateProperty = population agglomération | ontologyProperty = agglomerationPopulation | unit = people }}
        | nodeClass = Demographics
         {{PropertyMapping | templateProperty = année_pop | ontologyProperty = populationYear }}  
        | correspondingProperty = demographics
         {{PropertyMapping | templateProperty = altitude | ontologyProperty = elevation | unit = metre }}
        | mappings =
        {{PropertyMapping | templateProperty = superficie | ontologyProperty = area }}  
          {{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal }}
          {{PropertyMapping | templateProperty = année_pop | ontologyProperty = year }}  
         }}
        {{IntermediateNodeMapping
        | nodeClass = Agglomeration
        | correspondingProperty = agglomeration
        | mappings =
          {{IntermediateNodeMapping
          | nodeClass = Demographics
          | correspondingProperty = demographics
          | mappings =
              {{PropertyMapping | templateProperty = population agglomération | ontologyProperty = populationTotal }}
          }}
        }}
         {{IntermediateNodeMapping
        | nodeClass = Altitude
        | correspondingProperty = altitude
        | mappings =
          {{PropertyMapping | templateProperty = altitude | ontologyProperty = value }}
        }}
         {{IntermediateNodeMapping
        | nodeClass = Area
        | correspondingProperty = wholeArea
        | mappings =
          {{PropertyMapping | templateProperty = superficie | ontologyProperty = value }}
        }}
         {{GeocoordinatesMapping | latitude = latitude  | longitude = longitude }}
         {{GeocoordinatesMapping | latitude = latitude  | longitude = longitude }}
         {{PropertyMapping | templateProperty = date de fondation | ontologyProperty = foundationDate }}
         {{PropertyMapping | templateProperty = date de fondation | ontologyProperty = foundingDate }}
         {{PropertyMapping | templateProperty = fondateur | ontologyProperty = founder }}
         {{PropertyMapping | templateProperty = fondateur | ontologyProperty = founder }}
         {{PropertyMapping | templateProperty = maire | ontologyProperty = mayor }}  
         {{IntermediateNodeMapping
        {{PropertyMapping | templateProperty = mandat maire | ontologyProperty = mayorMandate }}  
        | nodeClass = Politician
         {{PropertyMapping | templateProperty = fuseau horaire | ontologyProperty = timezone }}  
        | correspondingProperty = politicalLeader
        | mappings =
          {{PropertyMapping | templateProperty = maire | ontologyProperty = mayor }}
          {{DateIntervalMapping
            | templateProperty         = mandat maire
            | startDateOntologyProperty = activeYearsStartYear
            | endDateOntologyProperty  = activeYearsEndYear
          }}
        }}
         {{PropertyMapping | templateProperty = fuseau horaire | ontologyProperty = timeZone }}  
         {{PropertyMapping | templateProperty = gentilé | ontologyProperty = peopleName }}  
         {{PropertyMapping | templateProperty = gentilé | ontologyProperty = peopleName }}  
         {{PropertyMapping | templateProperty = cp | ontologyProperty = postalCode }}  
         {{PropertyMapping | templateProperty = cp | ontologyProperty = postalCode }}  
         {{PropertyMapping | templateProperty = indicatiftel | ontologyProperty = phonePrefix }}  
         {{PropertyMapping | templateProperty = indicatiftel | ontologyProperty = areaCode }}  
         {{PropertyMapping | templateProperty = siteweb | ontologyProperty = foaf:homepage }}  
         {{PropertyMapping | templateProperty = siteweb | ontologyProperty = foaf:homepage }}  
}}
}}

Latest revision as of 09:00, 9 May 2015

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




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




Property Mapping (help)
template property blason
ontology property blazon




Property Mapping (help)
template property drapeau
ontology property flag




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




Property Mapping (help)
template property état
ontology property state




Property Mapping (help)
template property district
ontology property district




Property Mapping (help)
template property municipalité
ontology property municipality


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


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


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




Property Mapping (help)
template property altitude
ontology property value


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




Property Mapping (help)
template property superficie
ontology property value
Geocoordinates Mapping (help)
latitude template property latitude
longitude template property longitude




Property Mapping (help)
template property date de fondation
ontology property foundingDate




Property Mapping (help)
template property fondateur
ontology property founder


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 fuseau horaire
ontology property timeZone




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




Property Mapping (help)
template property cp
ontology property postalCode




Property Mapping (help)
template property indicatiftel
ontology property areaCode




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