Mapping fr:Infobox Ville2: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
No edit summary
Line 5: Line 5:
     {{PropertyMapping | templateProperty = légende | ontologyProperty = thumbnailCaption }}
     {{PropertyMapping | templateProperty = légende | ontologyProperty = thumbnailCaption }}
     {{PropertyMapping | templateProperty = pays | ontologyProperty = country }}
     {{PropertyMapping | templateProperty = pays | ontologyProperty = country }}
     {{PropertyMapping | templateProperty = nom de division | ontologyProperty = sharingOutName }}
     {{IntermediateNodeMapping
     {{PropertyMapping | templateProperty = division | ontologyProperty = sharingOut }}
    | nodeClass = Place
    {{PropertyMapping | templateProperty = nom de division2 | ontologyProperty = sharingOutName }}
    | correspondingProperty = takePlace
     {{PropertyMapping | templateProperty = division2 | ontologyProperty = sharingOut }}
     | mappings =
    {{PropertyMapping | templateProperty = titre autorité | ontologyProperty = authorityTitle }}
      {{PropertyMapping | templateProperty = division | ontologyProperty = sharingOut }}
     {{PropertyMapping | templateProperty = autorité | ontologyProperty = authority }}
      {{PropertyMapping | templateProperty = nom division | ontologyProperty = name }}
    {{PropertyMapping | templateProperty = mandat autorité | ontologyProperty = authorityMandate }}
    }}  
    {{PropertyMapping | templateProperty = maire | ontologyProperty = mayor }}
     {{IntermediateNodeMapping
     {{PropertyMapping | templateProperty = article maire | ontologyProperty = mayorArticle }}
    | nodeClass = Place
    {{PropertyMapping | templateProperty = mandat maire | ontologyProperty = mayorMandate }}
    | correspondingProperty = takePlace
    | mappings =
      {{PropertyMapping | templateProperty = division | ontologyProperty = sharingOut }}
      {{PropertyMapping | templateProperty = nom division | ontologyProperty = name }}
    }}  
     {{IntermediateNodeMapping
    | nodeClass = PoliticalFunction
    | correspondingProperty = politicalLeader
    | mappings =
      {{PropertyMapping | templateProperty = autorité | ontologyProperty = authority }}
      {{PropertyMapping | templateProperty = titre autorité | ontologyProperty = title }}
      {{DateIntervalMapping
        | templateProperty         = mandat autorité
        | startDateOntologyProperty = activeYearsStartYear
        | endDateOntologyProperty  = activeYearsEndYear
      }}
    }}
     {{IntermediateNodeMapping
    | nodeClass = PoliticalFunction
    | correspondingProperty = politicalLeader
    | mappings =
      {{PropertyMapping | templateProperty = maire | ontologyProperty = mayor }}
      {{DateIntervalMapping
        | templateProperty         = mandat maire
        | startDateOntologyProperty = activeYearsStartYear
        | endDateOntologyProperty  = activeYearsEndYear
      }}
    }}  
     {{PropertyMapping | templateProperty = cp | ontologyProperty = postalCode }}
     {{PropertyMapping | templateProperty = cp | ontologyProperty = postalCode }}
     {{PropertyMapping | templateProperty = gentilé | ontologyProperty = peopleName }}
     {{PropertyMapping | templateProperty = gentilé | ontologyProperty = peopleName }}
     {{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal | unit = people }}  
     {{IntermediateNodeMapping
    {{PropertyMapping | templateProperty = année_pop | ontologyProperty = populationYear }}  
        | nodeClass = Demographics
        | correspondingProperty = demographics
        | mappings =
          {{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal }}  
          {{PropertyMapping | templateProperty = année_pop | ontologyProperty = year }}
        }}
     {{GeocoordinatesMapping | latitude = latitude  | longitude = longitude }}
     {{GeocoordinatesMapping | latitude = latitude  | longitude = longitude }}
     {{PropertyMapping | templateProperty = type coord | ontologyProperty = typeCoordinate }}
     {{PropertyMapping | templateProperty = type coord | ontologyProperty = typeCoordinate }}
     {{PropertyMapping | templateProperty = altitude | ontologyProperty = elevation }}
     {{IntermediateNodeMapping
     {{PropertyMapping | templateProperty = superficie | ontologyProperty = area }}
    | nodeClass = Altitude
    | correspondingProperty = altitude
    | mappings =
      {{PropertyMapping | templateProperty = altitude | ontologyProperty = value }}
    }}
     {{IntermediateNodeMapping
    | nodeClass = Area
    | correspondingProperty = wholeArea
    | mappings =
      {{PropertyMapping | templateProperty = superficie | ontologyProperty = value }}
    }}
     {{ PropertyMapping | templateProperty = sites touristiques | ontologyProperty = touristicSite }}
     {{ PropertyMapping | templateProperty = sites touristiques | ontologyProperty = touristicSite }}
    {{ PropertyMapping | templateProperty = noms divers | ontologyProperty = otherName }}
    {{ PropertyMapping | templateProperty = divers | ontologyProperty = different }}
     {{ PropertyMapping | templateProperty = carte | ontologyProperty = map }}
     {{ PropertyMapping | templateProperty = carte | ontologyProperty = map }}
     {{PropertyMapping | templateProperty = statut | ontologyProperty = status }}
     {{PropertyMapping | templateProperty = statut | ontologyProperty = status }}
     {{PropertyMapping | templateProperty = position | ontologyProperty = position }}
     {{PropertyMapping | templateProperty = position | ontologyProperty = position }}
     {{PropertyMapping | templateProperty = url | ontologyProperty = foaf:homepage }}
     {{PropertyMapping | templateProperty = url | ontologyProperty = foaf:homepage }}
    {{PropertyMapping | templateProperty = modèle | ontologyProperty = model }}
}}
}}

Revision as of 15:54, 16 July 2013

This is the mapping for the Wikipedia template Infobox Ville2. 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 City

Mappings




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




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




Property Mapping (help)
template property pays
ontology property country


Intermediate Node Mapping (help)
node class Place
corresponding property takePlace




Property Mapping (help)
template property division
ontology property sharingOut




Property Mapping (help)
template property nom division
ontology property name


Intermediate Node Mapping (help)
node class Place
corresponding property takePlace




Property Mapping (help)
template property division
ontology property sharingOut




Property Mapping (help)
template property nom division
ontology property name


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




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




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


Date Interval Mapping (help)
template property mandat autorité
start date ontology property activeYearsStartYear
end date ontology property activeYearsEndYear


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 cp
ontology property postalCode




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


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
Geocoordinates Mapping (help)
latitude template property latitude
longitude template property longitude




Property Mapping (help)
template property type coord
ontology property typeCoordinate


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




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




Property Mapping (help)
template property carte
ontology property map




Property Mapping (help)
template property statut
ontology property status




Property Mapping (help)
template property position
ontology property position




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