Mapping en:Infobox GB station: Difference between revisions
AnjaJentzsch (talk | contribs) (corrected GeocoordinatesMapping) |
No edit summary |
||
(24 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{ConditionalMapping | ||
{{TemplateMapping | | cases = | ||
| mapToClass = Station | {{Condition | ||
| mappings = | | templateProperty = events | ||
| operator = contains | |||
| value = Opened | |||
| mapping = | |||
{{TemplateMapping | |||
| mapToClass = Station | |||
| mappings = | |||
{{PropertyMapping | templateProperty = years | ontologyProperty = openingYear }} | |||
{{PropertyMapping | templateProperty = years | ontologyProperty = openingDate }} | |||
}} | |||
}} | |||
{{Condition | |||
| templateProperty = events1 | |||
| operator = contains | |||
| value = Opened | |||
| mapping = | |||
{{TemplateMapping | |||
| mapToClass = Station | |||
| mappings = | |||
{{PropertyMapping | templateProperty = years1 | ontologyProperty = openingYear }} | |||
{{PropertyMapping | templateProperty = years1 | ontologyProperty = openingDate }} | |||
}} | |||
}} | |||
{{Condition | |||
| operator = otherwise | |||
| mapping = {{TemplateMapping | mapToClass = Station }} | |||
}} | |||
| defaultMappings = | |||
{{ConstantMapping | ontologyProperty = country | value = United_Kingdom }} | |||
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }} | |||
{{PropertyMapping | templateProperty = manager | ontologyProperty = operator }} | |||
{{PropertyMapping | templateProperty = locale | ontologyProperty = location }} | |||
{{PropertyMapping | templateProperty = borough | ontologyProperty = location }} | |||
{{PropertyMapping | templateProperty = borough | ontologyProperty = district }} | |||
{{PropertyMapping | templateProperty = platform | ontologyProperty = railwayPlatforms }} | {{PropertyMapping | templateProperty = platform | ontologyProperty = railwayPlatforms }} | ||
{{PropertyMapping | templateProperty = | {{PropertyMapping | templateProperty = platforms | ontologyProperty = railwayPlatforms }} | ||
{{PropertyMapping | templateProperty = | {{PropertyMapping | templateProperty = image | ontologyProperty = picture }} | ||
{{PropertyMapping | templateProperty = | {{PropertyMapping | templateProperty = owner | ontologyProperty = owner }} | ||
{{PropertyMapping | templateProperty = | {{PropertyMapping | templateProperty = code | ontologyProperty = agencyStationCode }} | ||
{{PropertyMapping | templateProperty = | {{PropertyMapping | templateProperty = gridref | ontologyProperty = gridReference }} | ||
{{PropertyMapping | templateProperty = | {{PropertyMapping | templateProperty = start | ontologyProperty = openingDate }} | ||
{{PropertyMapping | templateProperty = | {{PropertyMapping | templateProperty = start | ontologyProperty = openingYear }} | ||
{{PropertyMapping | templateProperty = | {{PropertyMapping | templateProperty = starting | ontologyProperty = openingDate }} | ||
{{PropertyMapping | templateProperty = | {{PropertyMapping | templateProperty = starting | ontologyProperty = openingYear }} | ||
{{PropertyMapping | templateProperty = | {{GeocoordinatesMapping | latitude = latitude | longitude = longitude }} | ||
{{PropertyMapping | templateProperty = | |||
<!-- {{PropertyMapping | templateProperty = usage0203 | ontologyProperty = ??? }} --> | |||
<!-- {{PropertyMapping | templateProperty = usage0304 | ontologyProperty = ??? }} --> | |||
<!-- {{PropertyMapping | templateProperty = usage0405 | ontologyProperty = ??? }} --> | |||
<!-- {{PropertyMapping | templateProperty = usage0506 | ontologyProperty = ??? }} --> | |||
<!-- {{PropertyMapping | templateProperty = usage0607 | ontologyProperty = ??? }} --> | |||
<!-- {{PropertyMapping | templateProperty = usage0708 | ontologyProperty = ??? }} --> | |||
{{PropertyMapping | templateProperty = usage0910 | ontologyProperty = passengersPerYear | factor = 1000000 }} | |||
{{PropertyMapping | templateProperty = usage1011 | ontologyProperty = passengersPerYear | factor = 1000000 }} | |||
<!-- {{PropertyMapping | templateProperty = lowusage0203 | ontologyProperty = ??? }} --> | |||
<!-- {{PropertyMapping | templateProperty = lowusage0304 | ontologyProperty = ??? }} --> | |||
<!-- {{PropertyMapping | templateProperty = lowusage0405 | ontologyProperty = ??? }} --> | |||
<!-- {{PropertyMapping | templateProperty = lowusage0506 | ontologyProperty = ??? }} --> | |||
<!-- {{PropertyMapping | templateProperty = lowusage0607 | ontologyProperty = ??? }} --> | |||
<!-- {{PropertyMapping | templateProperty = lowusage0708 | ontologyProperty = ??? }} --> | |||
{{PropertyMapping | templateProperty = lowusage0910 | ontologyProperty = passengersPerYear }} | |||
{{PropertyMapping | templateProperty = lowusage1011 | ontologyProperty = passengersPerYear }} | |||
}} | }} |
Latest revision as of 15:34, 1 August 2016
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.
Conditions
Condition (help) | |
---|---|
template property | events |
operator | contains |
value | Opened |
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 Mappings
Property Mapping (help) template property years ontology property openingYear
Property Mapping (help) template property years ontology property openingDate
Condition (help) | |
---|---|
template property | events1 |
operator | contains |
value | Opened |
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 Mappings
Property Mapping (help) template property years1 ontology property openingYear
Property Mapping (help) template property years1 ontology property openingDate
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
Default Mappings
Constant Mapping (help) ontology property country value United_Kingdom
Property Mapping (help) template property name ontology property foaf:name
Property Mapping (help) template property manager ontology property operator
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 usage0910 ontology property passengersPerYear factor 1000000
Property Mapping (help) template property usage1011 ontology property passengersPerYear factor 1000000
Property Mapping (help) template property lowusage0910 ontology property passengersPerYear
Property Mapping (help) template property lowusage1011 ontology property passengersPerYear