Mapping en:Infobox GB station: Difference between revisions
From DBpedia Mappings
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ConditionalMapping | {{ConditionalMapping | ||
{{Condition | {{Condition | ||
| templateProperty = events | | templateProperty = events | ||
| operator = contains | | operator = contains | ||
| value = Opened | | value = Opened | ||
| mapping = {{PropertyMapping | templateProperty = years | ontologyProperty = openingYear }} | | mapping = | ||
{{PropertyMapping | templateProperty = years | ontologyProperty = openingYear }} | |||
{{TemplateMapping | mapToClass = Station }} | |||
}} | |||
{{Condition | |||
| operator = otherwise | |||
| mapping = {{TemplateMapping | mapToClass = Station }} | |||
}} | }} | ||
| defaultMappings = | | defaultMappings = | ||
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }} | {{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }} |
Revision as of 14:47, 28 April 2011
{{ConditionalMapping
Condition (help) | |
---|---|
template property | events |
operator | contains |
value | Opened |
Property Mapping (help) template property years ontology property openingYear This is the mapping for the Wikipedia template Infobox GB station. 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 Station
Condition (help) | |
---|---|
otherwise |
This is the mapping for the Wikipedia template Infobox GB station. 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 Station
| defaultMappings =
Property Mapping (help) | |
---|---|
template property | name |
ontology property | foaf:name |
Property Mapping (help) | |
---|---|
template property | manager |
ontology property | operatedBy |
Property Mapping (help) | |
---|---|
template property | locale |
ontology property | location |
Property Mapping (help) | |
---|---|
template property | borough |
ontology property | location |
Property Mapping (help) | |
---|---|
template property | borough |
ontology property | district |
Property Mapping (help) | |
---|---|
template property | platform |
ontology property | railwayPlatforms |
Property Mapping (help) | |
---|---|
template property | platforms |
ontology property | railwayPlatforms |
Property Mapping (help) | |
---|---|
template property | image |
ontology property | picture |
Property Mapping (help) | |
---|---|
template property | owner |
ontology property | owner |
Property Mapping (help) | |
---|---|
template property | code |
ontology property | agencyStationCode |
Property Mapping (help) | |
---|---|
template property | gridref |
ontology property | gridReference |
Property Mapping (help) | |
---|---|
template property | start |
ontology property | openingDate |
Property Mapping (help) | |
---|---|
template property | start |
ontology property | openingYear |
Property Mapping (help) | |
---|---|
template property | starting |
ontology property | openingDate |
Property Mapping (help) | |
---|---|
template property | starting |
ontology property | openingYear |
Geocoordinates Mapping (help) | |
---|---|
latitude template property | latitude |
longitude template property | longitude |
Property Mapping (help) | |
---|---|
template property | lowusage1011 |
ontology property | visitorsPerYear |
}}