Mapping it:Divisione amministrativa: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
(changed 'Divisione amministrativa' class mapping, according to http://it.wikipedia.org/wiki/Template:Divisione_amministrativa)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TemplateMapping
{{TemplateMapping
| mapToClass = AdministrativeRegion
| mapToClass = PopulatedPlace
| mappings =
| mappings =
{{PropertyMapping | templateProperty = Nome | ontologyProperty = foaf:name }}
<!-- Missing mappings: Didascalia, Voce bandiera, Voce stemma, Note stato, Grado amministrativo, Tipo, Sottodivisioni, Divisioni confinanti, Codice statistico, Codice catastale, Zona sismica, Grado giorno, Diffusività, Festivo, PIL procapite PPA, Raggruppamento, Didascalia mappa, Incipit -->
{{PropertyMapping | templateProperty = Nome ufficiale | ontologyProperty = foaf:name }}
        {{PropertyMapping | templateProperty = Nome | ontologyProperty = foaf:name }}
         {{PropertyMapping | templateProperty = Panorama | ontologyProperty = picture }}
        {{PropertyMapping | templateProperty = Nome ufficiale | ontologyProperty = foaf:name }}
         {{PropertyMapping | templateProperty = didascalia | ontologyProperty = dc:description }}
 
         {{PropertyMapping | templateProperty = bandiera | ontologyProperty = flag }}
<!-- items below are images. No granularity in the ontology, so use generic property for all -->
{{PropertyMapping | templateProperty = anno | ontologyProperty = populationAsOf }}
         {{PropertyMapping | templateProperty = Panorama | ontologyProperty = foaf:depiction }}
{{PropertyMapping | templateProperty = abitanti | ontologyProperty = populationTotal }}
        {{PropertyMapping | templateProperty = Bandiera | ontologyProperty = foaf:depiction }}
         {{PropertyMapping | templateProperty = motto | ontologyProperty = motto }}
         {{PropertyMapping | templateProperty = Stemma | ontologyProperty = foaf:depiction }}
         {{PropertyMapping | templateProperty = fusoOrario | ontologyProperty = timeZone }}
 
         {{PropertyMapping | templateProperty = amministratoreLocale | ontologyProperty = mayor }}
         {{PropertyMapping | templateProperty = Stato | ontologyProperty = locationCountry }}
         {{PropertyMapping | templateProperty = altitudine | ontologyProperty = elevation | unit = metre }}
        {{PropertyMapping | templateProperty = Divisione amm grado 1 | ontologyProperty = administrativeDistrict }}
{{PropertyMapping | templateProperty = elevation_max_m | ontologyProperty = maximumElevation | unit = metre }}
        {{PropertyMapping | templateProperty = Stemma divisione amm grado 1 | ontologyProperty = foaf:depiction }}
{{PropertyMapping | templateProperty = elevation_min_m | ontologyProperty = minimumElevation | unit = metre }}
        {{PropertyMapping | templateProperty = Divisione amm grado 2 | ontologyProperty = administrativeDistrict }}
         {{PropertyMapping | templateProperty = superficie | ontologyProperty = area | unit = squareKilometre }}
        {{PropertyMapping | templateProperty = Stemma divisione amm grado 2 | ontologyProperty = foaf:depiction }}
         {{PropertyMapping | templateProperty = abitanti | ontologyProperty = populationTotal }}
        {{PropertyMapping | templateProperty = Divisione amm grado 3 | ontologyProperty = administrativeDistrict }}
         {{PropertyMapping | templateProperty = Data istituzione | ontologyProperty = creationYear }}
        {{PropertyMapping | templateProperty = Stemma divisione amm grado 3 | ontologyProperty = foaf:depiction }}
         {{PropertyMapping | templateProperty = anno | ontologyProperty = populationAsOf }}
        {{PropertyMapping | templateProperty = Divisione amm grado 4 | ontologyProperty = administrativeDistrict }}
         {{PropertyMapping | templateProperty = cap | ontologyProperty = postalCode }}
        {{PropertyMapping | templateProperty = Stemma divisione amm grado 4 | ontologyProperty = foaf:depiction }}
         {{PropertyMapping | templateProperty = sito | ontologyProperty = foaf:homepage }}
        {{PropertyMapping | templateProperty = Capoluogo | ontologyProperty = capital }}
        {{PropertyMapping | templateProperty = Amministratore locale | ontologyProperty = leaderName }}
        {{PropertyMapping | templateProperty = Partito | ontologyProperty = leaderParty }}
        {{PropertyMapping | templateProperty = Data elezione | ontologyProperty = electionDate }}
        {{PropertyMapping | templateProperty = Amministratore locale 2 | ontologyProperty = leaderName }}
        {{PropertyMapping | templateProperty = Partito 2 | ontologyProperty = leaderParty }}
        {{PropertyMapping | templateProperty = Data elezione 2 | ontologyProperty = electionDate }}
         {{PropertyMapping | templateProperty = Lingue ufficiali | ontologyProperty = officialLanguage }}
         {{PropertyMapping | templateProperty = Data istituzione | ontologyProperty = foundingDate }}
         {{PropertyMapping | templateProperty = Data soppressione | ontologyProperty = dissolutionDate }}
         {{PropertyMapping | templateProperty = Data soppressione | ontologyProperty = dissolutionDate }}
<!-- Geographic data -->
        {{GeocoordinatesMapping | latitude = Latitudine decimale | longitude = Longitudine decimale  | latitudeDegrees = Latitudine gradi | latitudeMinutes = Latitudine minuti | latitudeSeconds = Latitudine secondi  | longitudeDegrees = Longitudine gradi  | longitudeMinutes = Longitudine minuti  | longitudeSeconds = Longitudine secondi  | longitudeDirection = Longitudine EW | latitudeDirection = Latitudine NS }}
        {{PropertyMapping | templateProperty = Altitudine | ontologyProperty = elevation | unit = metre }}
        {{PropertyMapping | templateProperty = Superficie | ontologyProperty = area | unit = squareKilometre }}
         {{PropertyMapping | templateProperty = Acque interne | ontologyProperty = areaWater | unit = squareKilometre }}
         {{PropertyMapping | templateProperty = Abitanti | ontologyProperty = populationTotal }}
         {{PropertyMapping | templateProperty = Aggiornamento abitanti | ontologyProperty = populationAsOf }}
         {{PropertyMapping | templateProperty = Lingue | ontologyProperty = language }}
         {{PropertyMapping | templateProperty = Codice postale | ontologyProperty = postalCode }}
         {{PropertyMapping | templateProperty = Prefisso | ontologyProperty = areaCode }}
        {{PropertyMapping | templateProperty = Fuso orario | ontologyProperty = timeZone }}
        {{PropertyMapping | templateProperty = Codice ISO | ontologyProperty = isoCodeRegion }}
        {{PropertyMapping | templateProperty = Targa | ontologyProperty = vehicleCode }}
        {{PropertyMapping | templateProperty = Nome abitanti | ontologyProperty = demonym }}
        {{PropertyMapping | templateProperty = Patrono | ontologyProperty = saint }}
        {{PropertyMapping | templateProperty = PIL | ontologyProperty = grossDomesticProduct }}
        {{PropertyMapping | templateProperty = PIL procapite | ontologyProperty = perCapitaIncome }}
        {{PropertyMapping | templateProperty = Parlamentari | ontologyProperty = numberOfStateDeputies }}
        {{PropertyMapping | templateProperty = Inno | ontologyProperty = anthem }}
        {{PropertyMapping | templateProperty = Soprannome | ontologyProperty = foaf:nick }}
        {{PropertyMapping | templateProperty = Motto | ontologyProperty = motto }}
        {{PropertyMapping | templateProperty = Immagine localizzazione | ontologyProperty = map }}
        {{PropertyMapping | templateProperty = Mappa | ontologyProperty = map }}
        {{PropertyMapping | templateProperty = Sito | ontologyProperty = foaf:homepage }}
        {{PropertyMapping | templateProperty = Categoria | ontologyProperty = category }}
}}
}}

Latest revision as of 11:45, 5 November 2012

This is the mapping for the Wikipedia template Divisione amministrativa. 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 PopulatedPlace

Mappings




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




Property Mapping (help)
template property Nome ufficiale
ontology property foaf:name





Property Mapping (help)
template property Panorama
ontology property foaf:depiction




Property Mapping (help)
template property Bandiera
ontology property foaf:depiction




Property Mapping (help)
template property Stemma
ontology property foaf:depiction





Property Mapping (help)
template property Stato
ontology property locationCountry




Property Mapping (help)
template property Divisione amm grado 1
ontology property administrativeDistrict




Property Mapping (help)
template property Stemma divisione amm grado 1
ontology property foaf:depiction




Property Mapping (help)
template property Divisione amm grado 2
ontology property administrativeDistrict




Property Mapping (help)
template property Stemma divisione amm grado 2
ontology property foaf:depiction




Property Mapping (help)
template property Divisione amm grado 3
ontology property administrativeDistrict




Property Mapping (help)
template property Stemma divisione amm grado 3
ontology property foaf:depiction




Property Mapping (help)
template property Divisione amm grado 4
ontology property administrativeDistrict




Property Mapping (help)
template property Stemma divisione amm grado 4
ontology property foaf:depiction




Property Mapping (help)
template property Capoluogo
ontology property capital




Property Mapping (help)
template property Amministratore locale
ontology property leaderName




Property Mapping (help)
template property Partito
ontology property leaderParty




Property Mapping (help)
template property Data elezione
ontology property electionDate




Property Mapping (help)
template property Amministratore locale 2
ontology property leaderName




Property Mapping (help)
template property Partito 2
ontology property leaderParty




Property Mapping (help)
template property Data elezione 2
ontology property electionDate




Property Mapping (help)
template property Lingue ufficiali
ontology property officialLanguage




Property Mapping (help)
template property Data istituzione
ontology property foundingDate




Property Mapping (help)
template property Data soppressione
ontology property dissolutionDate




Property Mapping (help)
template property Data soppressione
ontology property dissolutionDate
Geocoordinates Mapping (help)
latitude template property Latitudine decimale
longitude template property Longitudine decimale
longitude degrees template property Longitudine gradi
longitude minutes template property Longitudine minuti
longitude seconds template property Longitudine secondi
longitude direction template property Longitudine EW
latitude degrees template property Latitudine gradi
latitude minutes template property Latitudine minuti
latitude seconds template property Latitudine secondi
latitude direction template property Latitudine NS


Property Mapping (help)
template property Altitudine
ontology property elevation
unitmetre


Property Mapping (help)
template property Superficie
ontology property area
unitsquareKilometre


Property Mapping (help)
template property Acque interne
ontology property areaWater
unitsquareKilometre




Property Mapping (help)
template property Abitanti
ontology property populationTotal




Property Mapping (help)
template property Aggiornamento abitanti
ontology property populationAsOf




Property Mapping (help)
template property Lingue
ontology property language




Property Mapping (help)
template property Codice postale
ontology property postalCode




Property Mapping (help)
template property Prefisso
ontology property areaCode




Property Mapping (help)
template property Fuso orario
ontology property timeZone




Property Mapping (help)
template property Codice ISO
ontology property isoCodeRegion




Property Mapping (help)
template property Targa
ontology property vehicleCode




Property Mapping (help)
template property Nome abitanti
ontology property demonym




Property Mapping (help)
template property Patrono
ontology property saint




Property Mapping (help)
template property PIL
ontology property grossDomesticProduct




Property Mapping (help)
template property PIL procapite
ontology property perCapitaIncome




Property Mapping (help)
template property Parlamentari
ontology property numberOfStateDeputies




Property Mapping (help)
template property Inno
ontology property anthem




Property Mapping (help)
template property Soprannome
ontology property foaf:nick




Property Mapping (help)
template property Motto
ontology property motto




Property Mapping (help)
template property Immagine localizzazione
ontology property map




Property Mapping (help)
template property Mappa
ontology property map




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




Property Mapping (help)
template property Categoria
ontology property category