Mapping fr:Infobox Commune du Liban: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 2: Line 2:
| mapToClass = Settlement  
| mapToClass = Settlement  
| mappings =  
| mappings =  
         {{ConstantMapping | ontologyProperty = country | value = Lebanon }}  
         {{ConstantMapping | ontologyProperty = country | value = Liban }}  
         {{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name }}
         {{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name }}
         {{PropertyMapping | templateProperty = nomarabe | ontologyProperty = arabicName }}
         {{PropertyMapping | templateProperty = nomarabe | ontologyProperty = foaf:name | language = ar-ly }}
         {{PropertyMapping | templateProperty = autres noms | ontologyProperty = otherName }}
         {{PropertyMapping | templateProperty = autres noms | ontologyProperty = otherName }}
         {{PropertyMapping | templateProperty = statut | ontologyProperty = status }}
         {{PropertyMapping | templateProperty = statut | ontologyProperty = status }}
         {{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 = gouvernorat | ontologyProperty = governorate }}         
         {{PropertyMapping | templateProperty = gouvernorat | ontologyProperty = governorate }}         
         {{PropertyMapping | templateProperty = district | ontologyProperty = district }}
         {{PropertyMapping | templateProperty = district | ontologyProperty = district }}
         {{PropertyMapping | templateProperty = maire | ontologyProperty = mayor }}  
         {{IntermediateNodeMapping
        {{PropertyMapping | templateProperty = mandat maire | ontologyProperty = mayorMandate }}
        | nodeClass = PoliticalFunction
        | correspondingProperty = politicalLeader
        | mappings =
          {{PropertyMapping | templateProperty = maire | ontologyProperty = mayor }}
          {{DateIntervalMapping
            | templateProperty         = mandat maire
            | startDateOntologyProperty = activeYearsStartYear
            | endDateOntologyProperty  = activeYearsEndYear
          }}
        }}
         {{PropertyMapping | templateProperty = moukhtar | ontologyProperty = mukhtar }}  
         {{PropertyMapping | templateProperty = moukhtar | ontologyProperty = mukhtar }}  
         {{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 = population agglomération | ontologyProperty = agglomerationPopulation | unit = people }}
        | mappings =
         {{PropertyMapping | templateProperty = superficie | ontologyProperty = area }}  
          {{PropertyMapping | templateProperty = altitude | ontologyProperty = value }}
        }}
        {{IntermediateNodeMapping
        | nodeClass = Demographics
        | correspondingProperty = demographics
         | mappings =
          {{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 }}
              {{PropertyMapping | templateProperty = année_pop agglomération | ontologyProperty = year }}
          }}
        }}
         {{IntermediateNodeMapping
        | nodeClass = Area
        | correspondingProperty = wholeArea
        | mappings =
          {{PropertyMapping | templateProperty = superficie | ontologyProperty = value }}
        }}
         {{PropertyMapping | templateProperty = imageloc | ontologyProperty = localizationThumbnail }}
         {{PropertyMapping | templateProperty = imageloc | ontologyProperty = localizationThumbnail }}
         {{PropertyMapping | templateProperty = légende imageloc | ontologyProperty = localizationThumbnailCaption }}
         {{PropertyMapping | templateProperty = légende imageloc | ontologyProperty = localizationThumbnailCaption }}
}}
}}

Latest revision as of 13:46, 10 January 2015

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




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



Property Mapping (help)
template property nomarabe
ontology property foaf:name
languagear-ly




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 gouvernorat
ontology property governorate




Property Mapping (help)
template property district
ontology property district


Intermediate Node Mapping (help)
node class PoliticalFunction
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 moukhtar
ontology property mukhtar
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 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
ontology property value




Property Mapping (help)
template property imageloc
ontology property localizationThumbnail




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