Mapping fr:Infobox Ville2: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
No edit summary
Line 11: Line 11:
       {{PropertyMapping | templateProperty = division | ontologyProperty = sharingOut }}
       {{PropertyMapping | templateProperty = division | ontologyProperty = sharingOut }}
       {{PropertyMapping | templateProperty = nom division | ontologyProperty = name }}
       {{PropertyMapping | templateProperty = nom division | ontologyProperty = name }}
     }}  
    }}
    {{IntermediateNodeMapping
    | nodeClass = Place
    | correspondingProperty = takePlace
    | mappings =
      {{PropertyMapping | templateProperty = division2 | ontologyProperty = sharingOut }}
      {{PropertyMapping | templateProperty = nom division2 | ontologyProperty = name }}
     }}
     {{IntermediateNodeMapping
     {{IntermediateNodeMapping
     | nodeClass = Place
     | nodeClass = Place
     | correspondingProperty = takePlace
     | correspondingProperty = takePlace
     | mappings =
     | mappings =
       {{PropertyMapping | templateProperty = division | ontologyProperty = sharingOut }}
       {{PropertyMapping | templateProperty = division3 | ontologyProperty = sharingOut }}
       {{PropertyMapping | templateProperty = nom division | ontologyProperty = name }}
       {{PropertyMapping | templateProperty = nom division3 | ontologyProperty = name }}
     }}  
    }}
    {{IntermediateNodeMapping
    | nodeClass = Place
    | correspondingProperty = takePlace
    | mappings =
      {{PropertyMapping | templateProperty = division4 | ontologyProperty = sharingOut }}
      {{PropertyMapping | templateProperty = nom division4 | ontologyProperty = name }}
    }}
    {{IntermediateNodeMapping
    | nodeClass = Place
    | correspondingProperty = takePlace
    | mappings =
      {{PropertyMapping | templateProperty = division5 | ontologyProperty = sharingOut }}
      {{PropertyMapping | templateProperty = nom division5 | ontologyProperty = name }}
    }}
    {{IntermediateNodeMapping
    | nodeClass = Place
    | correspondingProperty = takePlace
    | mappings =
      {{PropertyMapping | templateProperty = division6 | ontologyProperty = sharingOut }}
      {{PropertyMapping | templateProperty = nom division6 | ontologyProperty = name }}
     }}
     {{IntermediateNodeMapping
     {{IntermediateNodeMapping
     | nodeClass = PoliticalFunction
     | nodeClass = PoliticalFunction
Line 27: Line 55:
       {{DateIntervalMapping
       {{DateIntervalMapping
         | templateProperty          = mandat autorité
         | templateProperty          = mandat autorité
        | startDateOntologyProperty = activeYearsStartYear
        | endDateOntologyProperty  = activeYearsEndYear
      }}
    }}
    {{IntermediateNodeMapping
    | nodeClass = PoliticalFunction
    | correspondingProperty = politicalLeader
    | mappings =
      {{PropertyMapping | templateProperty = autorité2  | ontologyProperty = authority }}
      {{PropertyMapping | templateProperty = titre autorité2 | ontologyProperty = title }}
      {{DateIntervalMapping
        | templateProperty          = mandat autorité2
        | startDateOntologyProperty = activeYearsStartYear
        | endDateOntologyProperty  = activeYearsEndYear
      }}
    }}
    {{IntermediateNodeMapping
    | nodeClass = PoliticalFunction
    | correspondingProperty = politicalLeader
    | mappings =
      {{PropertyMapping | templateProperty = autorité3  | ontologyProperty = authority }}
      {{PropertyMapping | templateProperty = titre autorité3 | ontologyProperty = title }}
      {{DateIntervalMapping
        | templateProperty          = mandat autorité3
        | startDateOntologyProperty = activeYearsStartYear
        | endDateOntologyProperty  = activeYearsEndYear
      }}
    }}
    {{IntermediateNodeMapping
    | nodeClass = PoliticalFunction
    | correspondingProperty = politicalLeader
    | mappings =
      {{PropertyMapping | templateProperty = autorité4  | ontologyProperty = authority }}
      {{PropertyMapping | templateProperty = titre autorité4 | ontologyProperty = title }}
      {{DateIntervalMapping
        | templateProperty          = mandat autorité4
         | startDateOntologyProperty = activeYearsStartYear
         | startDateOntologyProperty = activeYearsStartYear
         | endDateOntologyProperty  = activeYearsEndYear
         | endDateOntologyProperty  = activeYearsEndYear
Line 41: Line 105:
         | endDateOntologyProperty  = activeYearsEndYear
         | endDateOntologyProperty  = activeYearsEndYear
       }}
       }}
     }}  
    }}
    {{IntermediateNodeMapping
    | nodeClass = PoliticalFunction
    | correspondingProperty = politicalLeader
    | mappings =
      {{PropertyMapping | templateProperty = préfet | ontologyProperty = prefect }}
      {{DateIntervalMapping
        | templateProperty          = mandat préfet
        | startDateOntologyProperty = activeYearsStartYear
        | endDateOntologyProperty  = activeYearsEndYear
      }}
    }}
    {{IntermediateNodeMapping
    | nodeClass = PoliticalFunction
    | correspondingProperty = politicalLeader
    | mappings =
      {{PropertyMapping | templateProperty = gouverneur | ontologyProperty = governor }}
      {{DateIntervalMapping
        | templateProperty          = mandat gouverneur
        | startDateOntologyProperty = activeYearsStartYear
        | endDateOntologyProperty  = activeYearsEndYear
      }}
     }}
     {{PropertyMapping | templateProperty = cp | ontologyProperty = postalCode }}
     {{PropertyMapping | templateProperty = cp | ontologyProperty = postalCode }}
     {{PropertyMapping | templateProperty = gentilé | ontologyProperty = peopleName }}
     {{PropertyMapping | templateProperty = gentilé | ontologyProperty = peopleName }}
     {{IntermediateNodeMapping
     {{IntermediateNodeMapping
        | nodeClass = Demographics
    | nodeClass = Demographics
        | correspondingProperty = demographics
    | correspondingProperty = demographics
        | mappings =
    | mappings =
          {{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal }}  
      {{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal }}  
          {{PropertyMapping | templateProperty = année_pop | ontologyProperty = year }}  
      {{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 }}
Line 58: Line 144:
     | mappings =
     | mappings =
       {{PropertyMapping | templateProperty = altitude | ontologyProperty = value }}  
       {{PropertyMapping | templateProperty = altitude | ontologyProperty = value }}  
      {{PropertyMapping | templateProperty = alt mini | ontologyProperty = min }}
      {{PropertyMapping | templateProperty = alt maxi | ontologyProperty = max }}
     }}
     }}
     {{IntermediateNodeMapping
     {{IntermediateNodeMapping
    | nodeClass = Area
        | nodeClass = Agglomeration
    | correspondingProperty = wholeArea
        | correspondingProperty = agglomeration
    | mappings =
        | mappings =
      {{PropertyMapping | templateProperty = superficie | ontologyProperty = value }}  
          {{IntermediateNodeMapping
    }}
          | nodeClass = Area
          | correspondingProperty = wholeArea
          | mappings =
              {{PropertyMapping | templateProperty = superficie agglomération | ontologyProperty = value }}  
          }}
        }}
     {{ PropertyMapping | templateProperty = sites touristiques | ontologyProperty = touristicSite }}
     {{ PropertyMapping | templateProperty = sites touristiques | ontologyProperty = touristicSite }}
     {{ PropertyMapping | templateProperty = carte | ontologyProperty = map }}
     {{ PropertyMapping | templateProperty = carte | ontologyProperty = map }}

Revision as of 12:19, 17 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 division2
ontology property sharingOut




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


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




Property Mapping (help)
template property division3
ontology property sharingOut




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


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




Property Mapping (help)
template property division4
ontology property sharingOut




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


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




Property Mapping (help)
template property division5
ontology property sharingOut




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


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




Property Mapping (help)
template property division6
ontology property sharingOut




Property Mapping (help)
template property nom division6
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 autorité2
ontology property authority




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


Date Interval Mapping (help)
template property mandat autorité2
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 autorité3
ontology property authority




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


Date Interval Mapping (help)
template property mandat autorité3
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 autorité4
ontology property authority




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


Date Interval Mapping (help)
template property mandat autorité4
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


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




Property Mapping (help)
template property préfet
ontology property prefect


Date Interval Mapping (help)
template property mandat préfet
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 gouverneur
ontology property governor


Date Interval Mapping (help)
template property mandat gouverneur
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




Property Mapping (help)
template property alt mini
ontology property min




Property Mapping (help)
template property alt maxi
ontology property max


Intermediate Node Mapping (help)
node class Agglomeration
corresponding property agglomeration
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 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