Mapping en:Infobox GB station: Difference between revisions
No edit summary |
No edit summary |
||
(17 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{TemplateMapping | {{ConditionalMapping | ||
| mapToClass = Station | |||
| mappings = | | cases = | ||
{{Condition | |||
| 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 = name | ontologyProperty = foaf:name }} | ||
{{PropertyMapping | templateProperty = manager | ontologyProperty = | {{PropertyMapping | templateProperty = manager | ontologyProperty = operator }} | ||
{{PropertyMapping | templateProperty = locale | ontologyProperty = location }} | {{PropertyMapping | templateProperty = locale | ontologyProperty = location }} | ||
{{PropertyMapping | templateProperty = borough | ontologyProperty = location }} | {{PropertyMapping | templateProperty = borough | ontologyProperty = location }} | ||
Line 25: | Line 58: | ||
<!-- {{PropertyMapping | templateProperty = usage0607 | ontologyProperty = ??? }} --> | <!-- {{PropertyMapping | templateProperty = usage0607 | ontologyProperty = ??? }} --> | ||
<!-- {{PropertyMapping | templateProperty = usage0708 | 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 = lowusage0203 | ontologyProperty = ??? }} --> | ||
<!-- {{PropertyMapping | templateProperty = lowusage0304 | ontologyProperty = ??? }} --> | <!-- {{PropertyMapping | templateProperty = lowusage0304 | ontologyProperty = ??? }} --> | ||
Line 33: | Line 66: | ||
<!-- {{PropertyMapping | templateProperty = lowusage0607 | ontologyProperty = ??? }} --> | <!-- {{PropertyMapping | templateProperty = lowusage0607 | ontologyProperty = ??? }} --> | ||
<!-- {{PropertyMapping | templateProperty = lowusage0708 | ontologyProperty = ??? }} --> | <!-- {{PropertyMapping | templateProperty = lowusage0708 | ontologyProperty = ??? }} --> | ||
{{PropertyMapping | templateProperty = lowusage0910 | ontologyProperty = passengersPerYear }} | |||
{{PropertyMapping | templateProperty = lowusage1011 | ontologyProperty = | {{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