Mapping en:Infobox GB station: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
No edit summary
Line 3: Line 3:
| cases =
| cases =
{{Condition
{{Condition
| templateProperty = events
| templateProperty = name
| operator        = isSet
| mapping          =
{{TemplateMapping | mapToClass = Station}}
        }}
{{Condition
| templateProperty = events1
| operator        = contains
| operator        = contains
| value            = Opened
| value            = Opened
| mapping          =
| mapping          =
{{TemplateMapping | mapToClass = Station}}
        {{PropertyMapping | templateProperty = years | ontologyProperty = openingYear }}
{{PropertyMapping | templateProperty = years | ontologyProperty = openingYear }}
        }}
}}
{{Condition
{{Condition
| templateProperty = events1
| templateProperty = events1
Line 15: Line 20:
| value            = Opened
| value            = Opened
| mapping          =
| mapping          =
{{TemplateMapping | mapToClass = Station}}
{{PropertyMapping | templateProperty = years1 | ontologyProperty = openingYear }}
{{PropertyMapping | templateProperty = years1 | ontologyProperty = openingYear }}
}}
{{Condition
| operator = otherwise
| mapping = {{TemplateMapping | mapToClass = Station }}
}}
}}

Revision as of 15:08, 1 June 2011

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 name
operator isSet

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)
template property events1
operator contains
value Opened




Property Mapping (help)
template property years
ontology property openingYear
Condition (help)
template property events1
operator contains
value Opened




Property Mapping (help)
template property years1
ontology property openingYear

Default Mappings




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 passengersPerYear