Mapping fr:Infobox Ville de Serbie: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(cp -> postalCode)
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TemplateMapping
{{TemplateMapping  
| mapToClass = Settlement
| mapToClass = City
| mappings =
| mappings =  
          {{ConstantMapping | ontologyProperty = country | value = Serbia }}
        {{ConstantMapping | ontologyProperty = country | value = Serbie }}  
{{PropertyMapping | templateProperty = division | ontologyProperty = location }}
        {{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name | language = fr }}
{{PropertyMapping | templateProperty = division2 | ontologyProperty = location }}
        {{PropertyMapping | templateProperty = nom_cyrillique | ontologyProperty = foaf:name | language = sr-Cyrl }}
{{PropertyMapping | templateProperty = division3 | ontologyProperty = location }}
        {{PropertyMapping | templateProperty = autres noms | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = division4 | ontologyProperty = location }}
        {{PropertyMapping | templateProperty = statut | ontologyProperty = status }}
 
        {{PropertyMapping | templateProperty = blason | ontologyProperty = blazon }}
{{IntermediateNodeMapping | nodeClass = Place | correspondingProperty = division | mappings =  
        {{PropertyMapping | templateProperty = drapeau | ontologyProperty = flag }}
    {{PropertyMapping | ontologyProperty = regionType | templateProperty = nom de division }}
        {{PropertyMapping | templateProperty = légende | ontologyProperty = thumbnailCaption }}
    {{PropertyMapping | ontologyProperty = rdfs:label | templateProperty = division }}
        {{PropertyMapping | templateProperty = division | ontologyProperty = isPartOf }}
  }}
        {{PropertyMapping | templateProperty = division2 | ontologyProperty = isPartOf }}
{{IntermediateNodeMapping | nodeClass = Place | correspondingProperty = division | mappings =  
        {{PropertyMapping | templateProperty = division3 | ontologyProperty = isPartOf }}
    {{PropertyMapping | ontologyProperty = regionType | templateProperty = nom de division2 }}
        {{PropertyMapping | templateProperty = division4 | ontologyProperty = isPartOf }}
    {{PropertyMapping | ontologyProperty = rdfs:label | templateProperty = division2 }}
        {{IntermediateNodeMapping
  }}
        | nodeClass = PoliticalFunction
{{IntermediateNodeMapping | nodeClass = Place | correspondingProperty = division | mappings =  
        | correspondingProperty = politicalLeader
    {{PropertyMapping | ontologyProperty = regionType | templateProperty = nom de division3 }}
        | mappings =
    {{PropertyMapping | ontologyProperty = rdfs:label | templateProperty = division3 }}
          {{PropertyMapping | templateProperty = maire  | ontologyProperty = mayor }}
  }}
          {{DateIntervalMapping
{{IntermediateNodeMapping | nodeClass = Place | correspondingProperty = division | mappings =  
            | templateProperty         = mandat maire
    {{PropertyMapping | ontologyProperty = regionType | templateProperty = nom de division4 }}
            | startDateOntologyProperty = activeYearsStartYear
    {{PropertyMapping | ontologyProperty = rdfs:label | templateProperty = division4 }}
            | endDateOntologyProperty  = activeYearsEndYear
  }}
          }}
 
        }}
{{PropertyMapping | templateProperty = statut | ontologyProperty = status }}
        {{PropertyMapping | templateProperty = cp | ontologyProperty = postalCode }}
{{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal }}
        {{GeocoordinatesMapping | latitude = latitude  | longitude = longitude }}
{{PropertyMapping | templateProperty = altitude | ontologyProperty = height }}
        {{IntermediateNodeMapping
{{PropertyMapping | templateProperty = cp | ontologyProperty = postalCode }}
        | nodeClass = Altitude
 
        | correspondingProperty = altitude
 
        | mappings =
    {{GeocoordinatesMapping | latitude = latitude  | longitude = longitude }}
          {{PropertyMapping | templateProperty = altitude | ontologyProperty = value }}
    {{GeocoordinatesMapping | latitude = lat  | longitude = lon }}
        }}
        {{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 }}
        }}
        {{PropertyMapping | templateProperty = gentilé | ontologyProperty = peopleName }}
        {{PropertyMapping | templateProperty = position | ontologyProperty = position }}
        {{PropertyMapping | templateProperty = légende imageloc | ontologyProperty = localizationThumbnailCaption }}
        {{PropertyMapping | templateProperty = sites touristiques | ontologyProperty = touristicSite }}
        {{PropertyMapping | templateProperty = url | ontologyProperty = foaf:homepage }}  
}}
}}

Latest revision as of 23:53, 14 March 2015

This is the mapping for the Wikipedia template Infobox Ville de Serbie. 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

Constant Mapping (help)
ontology property country
value Serbie



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



Property Mapping (help)
template property nom_cyrillique
ontology property foaf:name
languagesr-Cyrl




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 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
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




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




Property Mapping (help)
template property position
ontology property position




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




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




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