Mapping en:Infobox GB station: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(corrected GeocoordinatesMapping)
No edit summary
 
(24 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{DisclaimerMapping|{{PAGENAMEE}}}}
{{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 = name | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = platforms | ontologyProperty = railwayPlatforms }}
{{PropertyMapping | templateProperty = type | ontologyProperty = type }}
{{PropertyMapping | templateProperty = image | ontologyProperty = picture }}
{{PropertyMapping | templateProperty = address | ontologyProperty = address }}
{{PropertyMapping | templateProperty = owner | ontologyProperty = owner }}
{{PropertyMapping | templateProperty = depth | ontologyProperty = depth }}
{{PropertyMapping | templateProperty = code | ontologyProperty = agencyStationCode }}
{{PropertyMapping | templateProperty = opened | ontologyProperty = openingDate }}
{{PropertyMapping | templateProperty = gridref | ontologyProperty = gridReference }}
{{PropertyMapping | templateProperty = closed | ontologyProperty = closingDate }}
{{PropertyMapping | templateProperty = start | ontologyProperty = openingDate }}
{{PropertyMapping | templateProperty = rebuilt | ontologyProperty = rebuildingDate }}
{{PropertyMapping | templateProperty = start | ontologyProperty = openingYear }}
{{PropertyMapping | templateProperty = owned | ontologyProperty = owner }}
{{PropertyMapping | templateProperty = starting | ontologyProperty = openingDate }}
{{PropertyMapping | templateProperty = owned | ontologyProperty = owningOrganisation }}
{{PropertyMapping | templateProperty = starting | ontologyProperty = openingYear }}
{{PropertyMapping | templateProperty = passengers | ontologyProperty = visitorsTotal }}
{{GeocoordinatesMapping | latitude = latitude | longitude = longitude }}
{{PropertyMapping | templateProperty = pass_year | ontologyProperty = visitorsPerYear }}
        {{GeocoordinatesMapping | latitude = latitude | longitude = longitude }}
<!-- {{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
factor1000000


Property Mapping (help)
template property usage1011
ontology property passengersPerYear
factor1000000




Property Mapping (help)
template property lowusage0910
ontology property passengersPerYear




Property Mapping (help)
template property lowusage1011
ontology property passengersPerYear