Mapping de:Coordinate: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
No edit summary |
(removed mappings to rdfs:label) |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ConditionalMapping | {{ConditionalMapping | ||
| cases = | | cases = | ||
{{Condition | {{Condition | ||
Line 7: | Line 6: | ||
| operator = contains | | operator = contains | ||
| value = mountain | | value = mountain | ||
| mapping = {{TemplateMapping | | mapping = {{TemplateMapping | header = 0 | ||
| mapToClass = Mountain | | mapToClass = Mountain | ||
}} | }} | ||
Line 16: | Line 15: | ||
| operator = contains | | operator = contains | ||
| value = country | | value = country | ||
| mapping = {{TemplateMapping | | mapping = {{TemplateMapping | header = 0 | ||
| mapToClass = Country | | mapToClass = 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 | ||
}} | }} | ||
}} | }} | ||
| | |||
| 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