Mapping de:Coordinate: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
No edit summary
(removed mappings to rdfs:label)
 
(7 intermediate revisions by 3 users not shown)
Line 6: Line 6:
     | operator = contains
     | operator = contains
     | value = mountain
     | value = mountain
     | mapping = {{TemplateMapping
     | mapping = {{TemplateMapping | header = 0
                 | mapToClass = Mountain
                 | mapToClass = Mountain
                 }}
                 }}
Line 15: Line 15:
     | operator = contains
     | operator = contains
     | value = country
     | value = country
     | mapping = {{TemplateMapping
     | mapping = {{TemplateMapping | header = 0
                 | mapToClass = Country
                 | mapToClass = Country
                | correspondingClass = Country
                 }}
                 }}
  }}
  }}
Line 25: Line 24:
     | operator = contains
     | operator = contains
     | value = landmark
     | value = landmark
     | mapping = {{TemplateMapping
     | mapping = {{TemplateMapping | header = 0
                 | mapToClass = Place
                 | mapToClass = Place
                 }}
                 }}
Line 31: Line 30:
  {{Condition
  {{Condition
     | operator = otherwise
     | operator = otherwise
     | mapping = {{TemplateMapping
     | mapping = {{TemplateMapping | header = 0
                 | mapToClass = Place
                 | mapToClass = Place
                 }}
                 }}
Line 38: Line 37:
| defaultMappings =  
| defaultMappings =  
  {{ GeocoordinatesMapping | latitude =  NS | longitude = EW }}
  {{ 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