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

From Mediawiki1
Jump to navigationJump to search
(Created page with '{{TemplateMapping | mapToClass = IranSettlement | mappings = {{ConstantMapping | ontologyProperty = country | value = Iran }} {{PropertyMapping | templateProp...')
 
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TemplateMapping  
{{TemplateMapping  
| mapToClass = IranSettlement
| mapToClass = Settlement
| mappings =  
| mappings =  
         {{ConstantMapping | ontologyProperty = country | value = Iran }}  
         {{ConstantMapping | ontologyProperty = country | value = Iran }}  
Line 8: Line 8:
         {{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 = taille image | ontologyProperty = sizeThumbnail }}
         {{PropertyMapping | templateProperty = légende | ontologyProperty = thumbnailCaption }}
         {{PropertyMapping | templateProperty = légende | ontologyProperty = thumbnailCaption }}
         {{PropertyMapping | templateProperty = division | ontologyProperty = sharingOut }}
         {{PropertyMapping | templateProperty = division | ontologyProperty = isPartOf }}
         {{PropertyMapping | templateProperty = nom de division | ontologyProperty = sharingOutName }}
         {{PropertyMapping | templateProperty = division2 | ontologyProperty = isPartOf }}
         {{PropertyMapping | templateProperty = division2 | ontologyProperty = sharingOut }}
         {{PropertyMapping | templateProperty = division3 | ontologyProperty = isPartOf }}
         {{PropertyMapping | templateProperty = nom de division2 | ontologyProperty = sharingOutName }}
         {{PropertyMapping | templateProperty = division4 | ontologyProperty = isPartOf }}
         {{PropertyMapping | templateProperty = division3 | ontologyProperty = sharingOut }}
         {{IntermediateNodeMapping
         {{PropertyMapping | templateProperty = nom de division3 | ontologyProperty = sharingOutName }}
        | nodeClass = Politician
        {{PropertyMapping | templateProperty = division4 | ontologyProperty = sharingOut }}
        | correspondingProperty = politicalLeader
         {{PropertyMapping | templateProperty = nom de division4 | ontologyProperty = sharingOutName }}
         | mappings =
         {{PropertyMapping | templateProperty = maire | ontologyProperty = mayor }}  
          {{PropertyMapping | templateProperty = maire  | ontologyProperty = mayor }}
        {{PropertyMapping | templateProperty = mandat maire | ontologyProperty = mayorMandate }}  
          {{DateIntervalMapping
         {{PropertyMapping | templateProperty = autorité | ontologyProperty = authority }}
            | templateProperty         = mandat maire
         {{PropertyMapping | templateProperty = titre autorité | ontologyProperty = authorityTitle }}
            | startDateOntologyProperty = activeYearsStartYear
        {{PropertyMapping | templateProperty = autorité2 | ontologyProperty = authority }}  
            | endDateOntologyProperty  = activeYearsEndYear
         {{PropertyMapping | templateProperty = titre autorité2 | ontologyProperty = authorityTitle }}
          }}
         {{PropertyMapping | templateProperty = autorité3 | ontologyProperty = authority }}  
        }}  
        {{PropertyMapping | templateProperty = titre autorité3 | ontologyProperty = authorityTitle }}
         {{IntermediateNodeMapping
         {{PropertyMapping | templateProperty = autorité4 | ontologyProperty = authority }}  
        | nodeClass = Politician
        {{PropertyMapping | templateProperty = titre autorité4 | ontologyProperty = authorityTitle }}
        | correspondingProperty = politicalLeader
         | mappings =
          {{PropertyMapping | templateProperty = autorité  | ontologyProperty = authority }}
          {{PropertyMapping | templateProperty = titre autorité | ontologyProperty = title }}
        }}
         {{IntermediateNodeMapping
        | nodeClass = Politician
        | correspondingProperty = politicalLeader
         | mappings =
          {{PropertyMapping | templateProperty = autorité2  | ontologyProperty = authority }}
          {{PropertyMapping | templateProperty = titre autorité2 | ontologyProperty = title }}
        }}
         {{IntermediateNodeMapping
        | nodeClass = Politician
        | correspondingProperty = politicalLeader
         | mappings =
          {{PropertyMapping | templateProperty = autorité3 | ontologyProperty = authority }}
          {{PropertyMapping | templateProperty = titre autorité3 | ontologyProperty = title }}
        }}
         {{IntermediateNodeMapping
        | nodeClass = Politician
        | correspondingProperty = politicalLeader
        | mappings =
          {{PropertyMapping | templateProperty = autorité4 | ontologyProperty = authority }}
          {{PropertyMapping | templateProperty = titre autorité4 | ontologyProperty = title }}
        }}
         {{PropertyMapping | templateProperty = cp | ontologyProperty = postalCode }}
         {{PropertyMapping | templateProperty = cp | ontologyProperty = postalCode }}
         {{PropertyMapping | templateProperty = code1 | ontologyProperty = internationalPhonePrefix }}
         {{PropertyMapping | templateProperty = code1 | ontologyProperty = internationalPhonePrefix }}
         {{PropertyMapping | templateProperty = nom de code1 | ontologyProperty = internationalPhonePrefixLabel }}
         {{PropertyMapping | templateProperty = code2 | ontologyProperty = areaCode }}
        {{PropertyMapping | templateProperty = code2 | ontologyProperty = phonePrefix }}
        {{PropertyMapping | templateProperty = nom de code2 | ontologyProperty = phonePrefixLabel }}
         {{PropertyMapping | templateProperty = code3 | ontologyProperty = licenceNumber }}
         {{PropertyMapping | templateProperty = code3 | ontologyProperty = licenceNumber }}
        {{PropertyMapping | templateProperty = nom de code3 | ontologyProperty = licenceNumberLabel }}
         {{PropertyMapping | templateProperty = gentilé | ontologyProperty = peopleName }}
         {{PropertyMapping | templateProperty = gentilé | ontologyProperty = peopleName }}
         {{GeocoordinatesMapping | latitude = latitude  | longitude = longitude }}
         {{GeocoordinatesMapping | latitude = latitude  | longitude = longitude }}
         {{PropertyMapping | templateProperty = altitude | ontologyProperty = elevation | unit = metre }}
         {{IntermediateNodeMapping
         {{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal | unit = people }}  
        | nodeClass = Altitude
        {{PropertyMapping | templateProperty = année_pop | ontologyProperty = populationYear }}  
        | correspondingProperty = altitude
         {{PropertyMapping | templateProperty = superficie | ontologyProperty = area }}
        | mappings =
         {{PropertyMapping | templateProperty = population agglomération | ontologyProperty = agglomerationPopulation | unit = people }}  
          {{PropertyMapping | templateProperty = altitude | ontologyProperty = value }}
        {{PropertyMapping | templateProperty = année_pop agglomération | ontologyProperty = agglomerationPopulationYear }}
        }}
        {{PropertyMapping | templateProperty = superficie agglomération | ontologyProperty = agglomerationArea }}  
        {{IntermediateNodeMapping
        | nodeClass = Demographics
        | correspondingProperty = demographics
         | mappings =
          {{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal }}  
          {{PropertyMapping | templateProperty = année_pop | ontologyProperty = year }}
        }}
         {{IntermediateNodeMapping
        | nodeClass = Area
        | correspondingProperty = wholeArea
        | mappings =
          {{PropertyMapping | templateProperty = superficie | ontologyProperty = value }}  
         }}
        {{IntermediateNodeMapping
        | nodeClass = Agglomeration
        | correspondingProperty = agglomeration
        | mappings =
          {{IntermediateNodeMapping
          | nodeClass = Demographics
          | correspondingProperty = demographics
          | mappings =
              {{PropertyMapping | templateProperty = population agglomération | ontologyProperty = populationTotal }}  
              {{PropertyMapping | templateProperty = année_pop agglomération | ontologyProperty = year }}  
          }}
          {{IntermediateNodeMapping
          | nodeClass = Area
          | correspondingProperty = wholeArea
          | mappings =
              {{PropertyMapping | templateProperty = superficie agglomération | ontologyProperty = value }}
          }}
        }}
         {{PropertyMapping | templateProperty = position | ontologyProperty = position }}
         {{PropertyMapping | templateProperty = position | ontologyProperty = position }}
        {{PropertyMapping | templateProperty = taille carte | ontologyProperty = sizeMap }}
         {{PropertyMapping | templateProperty = sites touristiques | ontologyProperty = touristicSite }}
         {{PropertyMapping | templateProperty = sites touristiques | ontologyProperty = touristicSite }}
        {{PropertyMapping | templateProperty = divers | ontologyProperty = otherInformation }}
        {{PropertyMapping | templateProperty = nom divers | ontologyProperty = otherInformation }}
        {{PropertyMapping | templateProperty = divers2 | ontologyProperty = otherInformation }}
        {{PropertyMapping | templateProperty = nom divers2 | ontologyProperty = otherInformation }}
        {{PropertyMapping | templateProperty = divers3 | ontologyProperty = otherInformation }}
        {{PropertyMapping | templateProperty = nom divers3 | ontologyProperty = otherInformation }}
        {{PropertyMapping | templateProperty = divers4 | ontologyProperty = otherInformation }}
        {{PropertyMapping | templateProperty = nom divers4 | ontologyProperty = otherInformation }}
         {{PropertyMapping | templateProperty = url | ontologyProperty = foaf:homepage }}  
         {{PropertyMapping | templateProperty = url | ontologyProperty = foaf:homepage }}  
        {{PropertyMapping | templateProperty = nom site | ontologyProperty = websiteLabel }}
}}
}}

Latest revision as of 00:05, 15 March 2015

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




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 statut
ontology property status




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 division
ontology property isPartOf




Property Mapping (help)
template property division2
ontology property isPartOf




Property Mapping (help)
template property division3
ontology property isPartOf




Property Mapping (help)
template property division4
ontology property isPartOf


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


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




Property Mapping (help)
template property autorité
ontology property authority




Property Mapping (help)
template property titre autorité
ontology property title


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




Property Mapping (help)
template property autorité2
ontology property authority




Property Mapping (help)
template property titre autorité2
ontology property title


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




Property Mapping (help)
template property autorité3
ontology property authority




Property Mapping (help)
template property titre autorité3
ontology property title


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




Property Mapping (help)
template property autorité4
ontology property authority




Property Mapping (help)
template property titre autorité4
ontology property title




Property Mapping (help)
template property cp
ontology property postalCode




Property Mapping (help)
template property code1
ontology property internationalPhonePrefix




Property Mapping (help)
template property code2
ontology property areaCode




Property Mapping (help)
template property code3
ontology property licenceNumber




Property Mapping (help)
template property gentilé
ontology property peopleName
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


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 Area
corresponding property wholeArea




Property Mapping (help)
template property superficie
ontology property value


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




Property Mapping (help)
template property année_pop agglomération
ontology property year


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




Property Mapping (help)
template property superficie agglomération
ontology property value




Property Mapping (help)
template property position
ontology property position




Property Mapping (help)
template property sites touristiques
ontology property touristicSite




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