Mapping en:Infobox station: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(disclaimer template paramater: page name encoded)
(website)
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{DisclaimerMapping|{{PAGENAMEE}}}}


{{TemplateMapping
{{ TemplateMapping | mapToClass = Station | mappings =
| mapToClass = Station
    {{ PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
| mappings =
    {{ PropertyMapping | templateProperty = type | ontologyProperty = type }}
{{PropertyMapping | templateProperty = platform | ontologyProperty = platform }}
    <!-- unessential {{ PropertyMapping | templateProperty = style | ontologyProperty = ??? }} -->
{{PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
 
{{PropertyMapping | templateProperty = type | ontologyProperty = type }}
    {{ PropertyMapping | templateProperty = image | ontologyProperty = picture }}
{{PropertyMapping | templateProperty = address | ontologyProperty = address }}
    {{ PropertyMapping | templateProperty = address | ontologyProperty = address }}
{{GeocoordinatesMapping | coordinates = coordinates }}
    {{ GeocoordinatesMapping | coordinates = coordinates }}
{{PropertyMapping | templateProperty = depth | ontologyProperty = depth | unit = Length }}
    {{ PropertyMapping | templateProperty = line | ontologyProperty = servingRailwayLine }}
{{PropertyMapping | templateProperty = opened | ontologyProperty = openingDate }}
    {{ PropertyMapping | templateProperty = other | ontologyProperty = otherServingLines }}
{{PropertyMapping | templateProperty = closed | ontologyProperty = closingDate }}
    {{ PropertyMapping | templateProperty = structure | ontologyProperty = stationStructure }}
{{PropertyMapping | templateProperty = rebuilt | ontologyProperty = rebuildingDate }}
    {{ PropertyMapping | templateProperty = platform | ontologyProperty = railwayPlatforms }}
{{PropertyMapping | templateProperty = owned | ontologyProperty = owner }}
    {{ PropertyMapping | templateProperty = depth | ontologyProperty = depth | unit = Length }}
{{PropertyMapping | templateProperty = owned | ontologyProperty = owningOrganisation }}
    {{ PropertyMapping | templateProperty = levels | ontologyProperty = numberOfPlatformLevels }}
{{PropertyMapping | templateProperty = passengers | ontologyProperty = visitorsTotal }}
    {{ PropertyMapping | templateProperty = tracks | ontologyProperty = numberOfTracks }}
{{PropertyMapping | templateProperty = pass_year | ontologyProperty = visitorsPerYear }}
    {{ PropertyMapping | templateProperty = parking | ontologyProperty = parkingInformation }}
}}
    {{ PropertyMapping | templateProperty = bicycle | ontologyProperty = bicycleInformation }}
    {{ PropertyMapping | templateProperty = baggage_check | ontologyProperty = canBaggageChecked }}
    {{ PropertyMapping | templateProperty = opened | ontologyProperty = openingDate }}
    {{ PropertyMapping | templateProperty = opened | ontologyProperty = openingYear }}
    {{ PropertyMapping | templateProperty = closed | ontologyProperty = closingDate }}
    {{ PropertyMapping | templateProperty = closed | ontologyProperty = closingYear }}
    {{ PropertyMapping | templateProperty = rebuilt | ontologyProperty = rebuildingDate }}
    {{ PropertyMapping | templateProperty = rebuilt | ontologyProperty = rebuildingYear }}
    {{ PropertyMapping | templateProperty = electrified | ontologyProperty = yearOfElectrification }}
    {{ PropertyMapping | templateProperty = ADA | ontologyProperty = isHandicappedAccessible }}
    {{ PropertyMapping | templateProperty = code | ontologyProperty = agencyStationCode }}
    {{ PropertyMapping | templateProperty = owned | ontologyProperty = owner }}
    {{ PropertyMapping | templateProperty = owned | ontologyProperty = owningOrganisation }}
    {{ PropertyMapping | templateProperty = zone | ontologyProperty = fareZone }}
    {{ PropertyMapping | templateProperty = smartcardname | ontologyProperty = availableSmartCard }}
    <!-- unessential {{ PropertyMapping | templateProperty = smartcardstatus | ontologyProperty = ??? }} -->
 
    {{ PropertyMapping | templateProperty = former | ontologyProperty = formerName }}
    {{ PropertyMapping | templateProperty = passengers | ontologyProperty = passengersPerYear }}
    {{ PropertyMapping | templateProperty = pass_year | ontologyProperty = visitorStatisticsAsOf }}
    {{ PropertyMapping | templateProperty = pass_percent | ontologyProperty = visitorsPercentageChange }}
    {{ PropertyMapping | templateProperty = pass_system | ontologyProperty = passengersUsedSystem }}
    {{ PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}
    <!-- needs mapping language extension {{ PropertyMapping | templateProperty = services | ontologyProperty = ??? }} -->
}}

Latest revision as of 15:31, 6 September 2021

This is the mapping for the Wikipedia template Infobox 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 name
ontology property foaf:name




Property Mapping (help)
template property type
ontology property type





Property Mapping (help)
template property image
ontology property picture




Property Mapping (help)
template property address
ontology property address
Geocoordinates Mapping (help)
coordinates template property coordinates




Property Mapping (help)
template property line
ontology property servingRailwayLine




Property Mapping (help)
template property other
ontology property otherServingLines




Property Mapping (help)
template property structure
ontology property stationStructure




Property Mapping (help)
template property platform
ontology property railwayPlatforms


Property Mapping (help)
template property depth
ontology property depth
unitLength




Property Mapping (help)
template property levels
ontology property numberOfPlatformLevels




Property Mapping (help)
template property tracks
ontology property numberOfTracks




Property Mapping (help)
template property parking
ontology property parkingInformation




Property Mapping (help)
template property bicycle
ontology property bicycleInformation




Property Mapping (help)
template property baggage_check
ontology property canBaggageChecked




Property Mapping (help)
template property opened
ontology property openingDate




Property Mapping (help)
template property opened
ontology property openingYear




Property Mapping (help)
template property closed
ontology property closingDate




Property Mapping (help)
template property closed
ontology property closingYear




Property Mapping (help)
template property rebuilt
ontology property rebuildingDate




Property Mapping (help)
template property rebuilt
ontology property rebuildingYear




Property Mapping (help)
template property electrified
ontology property yearOfElectrification




Property Mapping (help)
template property ADA
ontology property isHandicappedAccessible




Property Mapping (help)
template property code
ontology property agencyStationCode




Property Mapping (help)
template property owned
ontology property owner




Property Mapping (help)
template property owned
ontology property owningOrganisation




Property Mapping (help)
template property zone
ontology property fareZone




Property Mapping (help)
template property smartcardname
ontology property availableSmartCard





Property Mapping (help)
template property former
ontology property formerName




Property Mapping (help)
template property passengers
ontology property passengersPerYear




Property Mapping (help)
template property pass_year
ontology property visitorStatisticsAsOf




Property Mapping (help)
template property pass_percent
ontology property visitorsPercentageChange




Property Mapping (help)
template property pass_system
ontology property passengersUsedSystem




Property Mapping (help)
template property website
ontology property foaf:homepage