Mapping lv:Apdzīvotas vietas infokaste: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(Created page with '{{TemplateMapping | mapToClass = Settlement | mappings = {{ PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }} {{ PropertyMapping | templatePro...')
 
No edit summary
 
Line 7: Line 7:
     {{ PropertyMapping | templateProperty = motto | ontologyProperty = motto }}
     {{ PropertyMapping | templateProperty = motto | ontologyProperty = motto }}
     {{ PropertyMapping | templateProperty = settlement_type | ontologyProperty = type }}    <!-- must map it with ConditionalMapping, too -->
     {{ PropertyMapping | templateProperty = settlement_type | ontologyProperty = type }}    <!-- must map it with ConditionalMapping, too -->
    {{ PropertyMapping | templateProperty = established_date | ontologyProperty = foundingDate }}
    {{ PropertyMapping | templateProperty = established_date1 | ontologyProperty = foundingDate }}
    {{ PropertyMapping | templateProperty = established_date2 | ontologyProperty = foundingDate }}
    {{ PropertyMapping | templateProperty = government_type | ontologyProperty = governmentType }}
    {{ PropertyMapping | templateProperty = leader_title | ontologyProperty = leaderTitle }}
    {{ PropertyMapping | templateProperty = leader_name | ontologyProperty = leaderName }}
    {{ PropertyMapping | templateProperty = area_magnitude | ontologyProperty = area | unit = squareMetre }}
    {{ PropertyMapping | templateProperty = area_total_km2 | ontologyProperty = areaTotal | unit = squareKilometre }}
    {{ PropertyMapping | templateProperty = area_total_sq_mi | ontologyProperty = areaTotal | unit = squareMile }}
  {{ PropertyMapping | templateProperty = area_land_km2 | ontologyProperty = areaLand | unit = squareKilometre }}
  {{ PropertyMapping | templateProperty = area_land_sq_mi | ontologyProperty = areaLand | unit = squareMile }}
    {{ PropertyMapping | templateProperty = area_water_km2 | ontologyProperty = areaWater | unit = squareKilometre }}
    {{ PropertyMapping | templateProperty = area_water_sq_mi | ontologyProperty = areaWater | unit = squareMile }}
    {{ PropertyMapping | templateProperty = area_urban_km2 | ontologyProperty = areaUrban | unit = squareKilometre }}
    {{ PropertyMapping | templateProperty = area_urban_sq_mi | ontologyProperty = areaUrban | unit = squareMile }}
    {{ PropertyMapping | templateProperty = area_metro_km2 | ontologyProperty = areaMetro | unit = squareKilometre }}
    {{ PropertyMapping | templateProperty = area_metro_sq_mi | ontologyProperty = areaMetro | unit = squareMile }}
    {{ PropertyMapping | templateProperty = population_as_of | ontologyProperty = populationAsOf }}
    {{ PropertyMapping | templateProperty = population_total | ontologyProperty = populationTotal }}
    {{ PropertyMapping | templateProperty = population_metro | ontologyProperty = populationMetro }}
    {{ PropertyMapping | templateProperty = population_urban | ontologyProperty = populationUrban }}
    {{ PropertyMapping | templateProperty = population_density_km2 | ontologyProperty = populationDensity | unit = inhabitantsPerSquareKilometre }}
    {{ PropertyMapping | templateProperty = population_density_sq_mi | ontologyProperty = populationDensity | unit = inhabitantsPerSquareMile }}
    {{ PropertyMapping | templateProperty = elevation_m | ontologyProperty = elevation | unit = metre }}
    {{ PropertyMapping | templateProperty = elevation_ft | ontologyProperty = elevation | unit = foot }}
    {{ PropertyMapping | templateProperty = postal_code | ontologyProperty = postalCode }}
    {{ PropertyMapping | templateProperty = timezone | ontologyProperty = timeZone }}
    {{ PropertyMapping | templateProperty = utc_offset | ontologyProperty = utcOffset }}
    {{ PropertyMapping | templateProperty = timezone_DST | ontologyProperty = timeZone }}
    {{ PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}


     {{ GeocoordinatesMapping | latitudeDegrees = latd | latitudeMinutes = latm | latitudeSeconds = lats | latitudeDirection = latNS | longitudeDegrees = longd | longitudeMinutes = longm | longitudeSeconds = longs | longitudeDirection = longEW }} }}
     {{ GeocoordinatesMapping | latitudeDegrees = latd | latitudeMinutes = latm | latitudeSeconds = lats | latitudeDirection = latNS | longitudeDegrees = longd | longitudeMinutes = longm | longitudeSeconds = longs | longitudeDirection = longEW }} }}

Latest revision as of 16:38, 2 November 2015

This is the mapping for the Wikipedia template Apdzīvotas vietas infokaste. 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 Settlement

Mappings




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




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




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




Property Mapping (help)
template property motto
ontology property motto




Property Mapping (help)
template property settlement_type
ontology property type





Property Mapping (help)
template property established_date
ontology property foundingDate




Property Mapping (help)
template property established_date1
ontology property foundingDate




Property Mapping (help)
template property established_date2
ontology property foundingDate





Property Mapping (help)
template property government_type
ontology property governmentType




Property Mapping (help)
template property leader_title
ontology property leaderTitle




Property Mapping (help)
template property leader_name
ontology property leaderName



Property Mapping (help)
template property area_magnitude
ontology property area
unitsquareMetre


Property Mapping (help)
template property area_total_km2
ontology property areaTotal
unitsquareKilometre


Property Mapping (help)
template property area_total_sq_mi
ontology property areaTotal
unitsquareMile


Property Mapping (help)
template property area_land_km2
ontology property areaLand
unitsquareKilometre


Property Mapping (help)
template property area_land_sq_mi
ontology property areaLand
unitsquareMile


Property Mapping (help)
template property area_water_km2
ontology property areaWater
unitsquareKilometre


Property Mapping (help)
template property area_water_sq_mi
ontology property areaWater
unitsquareMile


Property Mapping (help)
template property area_urban_km2
ontology property areaUrban
unitsquareKilometre


Property Mapping (help)
template property area_urban_sq_mi
ontology property areaUrban
unitsquareMile


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


Property Mapping (help)
template property area_metro_sq_mi
ontology property areaMetro
unitsquareMile





Property Mapping (help)
template property population_as_of
ontology property populationAsOf




Property Mapping (help)
template property population_total
ontology property populationTotal




Property Mapping (help)
template property population_metro
ontology property populationMetro




Property Mapping (help)
template property population_urban
ontology property populationUrban


Property Mapping (help)
template property population_density_km2
ontology property populationDensity
unitinhabitantsPerSquareKilometre


Property Mapping (help)
template property population_density_sq_mi
ontology property populationDensity
unitinhabitantsPerSquareMile



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


Property Mapping (help)
template property elevation_ft
ontology property elevation
unitfoot





Property Mapping (help)
template property postal_code
ontology property postalCode




Property Mapping (help)
template property timezone
ontology property timeZone




Property Mapping (help)
template property utc_offset
ontology property utcOffset




Property Mapping (help)
template property timezone_DST
ontology property timeZone





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


Geocoordinates Mapping (help)
longitude degrees template property longd
longitude minutes template property longm
longitude seconds template property longs
longitude direction template property longEW
latitude degrees template property latd
latitude minutes template property latm
latitude seconds template property lats
latitude direction template property latNS


}}