Mapping en:Infobox Greek Dimos: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(disclaimer)
No edit summary
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{DisclaimerMapping}}
{{TemplateMapping
{{TemplateMapping
| mapToClass = Area
| mapToClass = AdministrativeRegion
| mappings =
| mappings =
{{ConstantMapping | ontologyProperty = country | value = Greece }}
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = name_local | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = elevation_max | ontologyProperty = maximumElevation | unit = metre }}
{{PropertyMapping | templateProperty = elevation_min | ontologyProperty = minimumElevation | unit = metre }}
{{PropertyMapping | templateProperty = elevation_cen | ontologyProperty = elevation | unit = metre }}
{{PropertyMapping | templateProperty = population | ontologyProperty = populationTotal }}
{{PropertyMapping | templateProperty = population_metro | ontologyProperty = populationMetro }}
{{PropertyMapping | templateProperty = area | ontologyProperty = areaTotal | unit = Area }}
{{PropertyMapping | templateProperty = area_metro | ontologyProperty = areaMetro | unit = squareKilometre }}
{{PropertyMapping | templateProperty = mayor | ontologyProperty = mayor }}
{{PropertyMapping | templateProperty = postal_code | ontologyProperty = postalCode }}
{{PropertyMapping | templateProperty = area_code | ontologyProperty = areaCode }}
{{PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}
{{GeocoordinatesMapping | latitudeDegrees = lat_deg | latitudeMinutes = lat_min | longitudeDegrees = long_deg  | longitudeMinutes = long_min }}
<!--
|periph            = <!-- Name of Periphery where city located -->
|prefec            = <!-- Name of Prefecture where city located -->
|municipality      = <!-- Name of the Municipality the city resides in (City and Municipality are not the same under the Greek System -->
|districts          = <!-- Number of districts of the city -->
|mayor              = <!-- Mayor of the city -->
|party              = <!-- Political party of the mayor -->
|since              = <!-- Year the mayor was elected into office. No need to add the phrase '''since''', it is already built into the infobox -->
|population_as_of  = <!-- Year of population data -->
|population        = <!-- City population (NO COMMAS!) -->
|area              = <!-- Area of City (NO COMMAS!) -->
|population_metro  = <!-- Metropolitan population (This can double as Urban area if city has no Metro Area) (NO COMMAS!) -->
|area_metro        = <!-- Metropolitan area in square kilometers (NO COMMAS!) -->
|population_village = <!-- Village population (NO COMMAS!) IF NECESSARY -->
|area_village      = <!-- Village area in square kilometers (NO COMMAS!) IF NECESSARY -->
|pop_municipality  = <!-- Municipality population (This can double as Urban area if city has no Metro Area) (NO COMMAS!) IF NECESSARY -->
|area_municipality  = <!-- Municipality area in square kilometers (NO COMMAS!) IF NECESSARY -->
|postal_code        = <!-- Postal code -->
|area_code          = <!-- Dialing (telephone) code -->
|licence            = <!-- License plate code -->
|website            = <!-- City Website -->
-->
<!--
{{PropertyMapping | templateProperty = twin1 | ontologyProperty = twinCity }}
{{PropertyMapping | templateProperty = twin1 | ontologyProperty = twinCity }}
{{PropertyMapping | templateProperty = twin2 | ontologyProperty = twinCity }}
{{PropertyMapping | templateProperty = twin2 | ontologyProperty = twinCity }}
Line 19: Line 61:
{{PropertyMapping | templateProperty = departments | ontologyProperty = department }}
{{PropertyMapping | templateProperty = departments | ontologyProperty = department }}
{{PropertyMapping | templateProperty = mps | ontologyProperty = memberOfParliament }}
{{PropertyMapping | templateProperty = mps | ontologyProperty = memberOfParliament }}
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = official_name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = other_name | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = native_name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = native_name | ontologyProperty = nativeName }}
{{PropertyMapping | templateProperty = settlement_type | ontologyProperty = type }}
{{PropertyMapping | templateProperty = settlement_type | ontologyProperty = type }}
{{PropertyMapping | templateProperty = nickname | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = nickname | ontologyProperty = otherName }}
{{PropertyMapping | templateProperty = nickname | ontologyProperty = nickname }}
{{PropertyMapping | templateProperty = motto | ontologyProperty = motto }}
{{PropertyMapping | templateProperty = motto | ontologyProperty = motto }}
{{PropertyMapping | templateProperty = leader_title | ontologyProperty = leaderTitle }}
{{PropertyMapping | templateProperty = leader_title | ontologyProperty = leaderTitle }}
Line 47: Line 81:
{{PropertyMapping | templateProperty = established_title3 | ontologyProperty = establishedTitle }}
{{PropertyMapping | templateProperty = established_title3 | ontologyProperty = establishedTitle }}
{{PropertyMapping | templateProperty = established_date3 | ontologyProperty = foundingDate }}
{{PropertyMapping | templateProperty = established_date3 | ontologyProperty = foundingDate }}
{{PropertyMapping | templateProperty = founder | ontologyProperty = foundingPerson }}
{{PropertyMapping | templateProperty = founder | ontologyProperty = founder }}
{{PropertyMapping | templateProperty = area_total_km2 | ontologyProperty = areaTotal | unit = squareKilometre }}
{{PropertyMapping | templateProperty = area_total_km2 | ontologyProperty = areaTotal | unit = squareKilometre }}
{{PropertyMapping | templateProperty = area_land_km2 | ontologyProperty = areaLand | unit = squareKilometre }}
{{PropertyMapping | templateProperty = area_land_km2 | ontologyProperty = areaLand | unit = squareKilometre }}
Line 69: Line 103:
{{PropertyMapping | templateProperty = population_density_km2 | ontologyProperty = populationDensity | unit = inhabitantsPerSquareKilometre }}
{{PropertyMapping | templateProperty = population_density_km2 | ontologyProperty = populationDensity | unit = inhabitantsPerSquareKilometre }}
{{PropertyMapping | templateProperty = population_density_sq_mi | ontologyProperty = populationDensity | unit = inhabitantsPerSquareMile }}
{{PropertyMapping | templateProperty = population_density_sq_mi | ontologyProperty = populationDensity | unit = inhabitantsPerSquareMile }}
{{PropertyMapping | templateProperty = population_metro | ontologyProperty = populationMetro }}
{{PropertyMapping | templateProperty = population_density_metro_km2 | ontologyProperty = populationMetroDensity | unit = inhabitantsPerSquareKilometre }}
{{PropertyMapping | templateProperty = population_density_metro_km2 | ontologyProperty = populationMetroDensity | unit = inhabitantsPerSquareKilometre }}
{{PropertyMapping | templateProperty = population_density_metro_sq_mi | ontologyProperty = populationMetroDensity | unit = inhabitantsPerSquareMile }}
{{PropertyMapping | templateProperty = population_density_metro_sq_mi | ontologyProperty = populationMetroDensity | unit = inhabitantsPerSquareMile }}
Line 82: Line 115:
{{PropertyMapping | templateProperty = population_density_blank2_sq_mi | ontologyProperty = populationDensity | unit = inhabitantsPerSquareMile }}
{{PropertyMapping | templateProperty = population_density_blank2_sq_mi | ontologyProperty = populationDensity | unit = inhabitantsPerSquareMile }}
{{PropertyMapping | templateProperty = population_demonym | ontologyProperty = demonym }}
{{PropertyMapping | templateProperty = population_demonym | ontologyProperty = demonym }}
{{PropertyMapping | templateProperty = postal_code | ontologyProperty = postalCode }}
{{PropertyMapping | templateProperty = area_code | ontologyProperty = areaCode }}
{{PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}
{{PropertyMapping | templateProperty = county | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = county | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = founded year | ontologyProperty = foundingYear }}
{{PropertyMapping | templateProperty = founded year | ontologyProperty = foundingYear }}
Line 111: Line 141:
{{PropertyMapping | templateProperty = area_km2 | ontologyProperty = areaTotal | unit = squareKilometre }}
{{PropertyMapping | templateProperty = area_km2 | ontologyProperty = areaTotal | unit = squareKilometre }}
{{PropertyMapping | templateProperty = density_km2 | ontologyProperty = populationDensity | unit = inhabitantsPerSquareKilometre }}
{{PropertyMapping | templateProperty = density_km2 | ontologyProperty = populationDensity | unit = inhabitantsPerSquareKilometre }}
{{GeocoordinatesMapping | latitudeDegrees = latd  | latitudeMinutes = latm  | latitudeSeconds = lats  | latitudeDirection = latNS  | longitudeDegrees = longd  | longitudeMinutes = longm  | longitudeSeconds = longs  | longitudeDirection = longEW }}
-->
}}
}}

Latest revision as of 17:18, 5 August 2015

This is the mapping for the Wikipedia template Infobox Greek Dimos. 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 AdministrativeRegion

Mappings

Constant Mapping (help)
ontology property country
value Greece




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




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


Property Mapping (help)
template property elevation_max
ontology property maximumElevation
unitmetre


Property Mapping (help)
template property elevation_min
ontology property minimumElevation
unitmetre


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





Property Mapping (help)
template property population
ontology property populationTotal




Property Mapping (help)
template property population_metro
ontology property populationMetro



Property Mapping (help)
template property area
ontology property areaTotal
unitArea


Property Mapping (help)
template property area_metro
ontology property areaMetro
unitsquareKilometre





Property Mapping (help)
template property mayor
ontology property mayor




Property Mapping (help)
template property postal_code
ontology property postalCode




Property Mapping (help)
template property area_code
ontology property areaCode




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


Geocoordinates Mapping (help)
longitude degrees template property long_deg
longitude minutes template property long_min
latitude degrees template property lat_deg
latitude minutes template property lat_min