Mapping de:Coordinate: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
No edit summary
(removed mappings to rdfs:label)
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{TemplateMapping
{{ConditionalMapping
| mapToClass = Location
| cases =
| mappings =  
 
  {{ GeocoordinatesMapping | latitude =  ew | longitude = ns }}
{{Condition
    | templateProperty = type
    | operator = contains
    | value = mountain
    | mapping = {{TemplateMapping | header = 0
                | mapToClass = Mountain
                }}
}}
 
{{Condition
    | templateProperty = type
    | operator = contains
    | value = country
    | mapping = {{TemplateMapping | header = 0
                | mapToClass = Country
                }}
}}
 
{{Condition
    | templateProperty = type
    | operator = contains
    | value = landmark
    | mapping = {{TemplateMapping | header = 0
                | mapToClass = Place
                }}
}}
{{Condition
    | operator = otherwise
    | mapping = {{TemplateMapping | header = 0
                | mapToClass = Place
                }}
}}
 
| defaultMappings =  
  {{ GeocoordinatesMapping | latitude =  NS | longitude = EW }}
 
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = type | ontologyProperty = type }}
{{PropertyMapping | templateProperty = region | ontologyProperty = region }}
}}
}}

Latest revision as of 09:46, 8 February 2018

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

Conditions

Condition (help)
template property type
operator contains
value mountain
Template Mapping (help)
map to class Mountain


Condition (help)
template property type
operator contains
value country
Template Mapping (help)
map to class Country


Condition (help)
template property type
operator contains
value landmark
Template Mapping (help)
map to class Place
Condition (help)
otherwise
Template Mapping (help)
map to class Place

Default Mappings

Geocoordinates Mapping (help)
latitude template property NS
longitude template property EW





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




Property Mapping (help)
template property type
ontology property type




Property Mapping (help)
template property region
ontology property region