Mapping en:Infobox Greek Dimos: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(disclaimer template paramater: page name encoded)
(removed unnecessary template property mappings, corrected mappings)
Line 4: Line 4:
| mapToClass = Area
| mapToClass = Area
| mappings =
| mappings =
{{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_metro | ontologyProperty = populationMetro }}
{{PropertyMapping | templateProperty = area_metro | ontologyProperty = areaMetro | unit = squareKilometre }}
{{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 53:
{{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 69: Line 95:
{{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 111: Line 136:
{{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 }}
-->
}}
}}

Revision as of 15:52, 18 March 2010

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.

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 Area

Mappings




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_metro
ontology property populationMetro


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


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