Mapping en:Infobox Japan station: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
(Changing the mapping to RailwayStation as the template page states "info about Japanese train stations".) |
(Adding a constant mapping for the country property.) |
||
Line 2: | Line 2: | ||
| mapToClass = RailwayStation | | mapToClass = RailwayStation | ||
| mappings = | | mappings = | ||
{{ConstantMapping | ontologyProperty = country | value = Japan }} | |||
{{PropertyMapping | templateProperty = entirenamerom | ontologyProperty = foaf:name }} | {{PropertyMapping | templateProperty = entirenamerom | ontologyProperty = foaf:name }} | ||
{{PropertyMapping | templateProperty = namerom | ontologyProperty = foaf:name }} | {{PropertyMapping | templateProperty = namerom | ontologyProperty = foaf:name }} |
Revision as of 16:19, 24 December 2012
This is the mapping for the Wikipedia template Infobox Japan 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 | RailwayStation |
Mappings
Constant Mapping (help) | |
---|---|
ontology property | country |
value | Japan |
Property Mapping (help) | |
---|---|
template property | entirenamerom |
ontology property | foaf:name |
Property Mapping (help) | |
---|---|
template property | namerom |
ontology property | foaf:name |
Property Mapping (help) | |
---|---|
template property | name |
ontology property | foaf:name |
language | ja |
Property Mapping (help) | |
---|---|
template property | image |
ontology property | picture |
Property Mapping (help) | |
---|---|
template property | pref |
ontology property | location |
Property Mapping (help) | |
---|---|
template property | city |
ontology property | location |
Property Mapping (help) | |
---|---|
template property | ward |
ontology property | location |
Property Mapping (help) | |
---|---|
template property | town |
ontology property | location |
Property Mapping (help) | |
---|---|
template property | village |
ontology property | location |
Property Mapping (help) | |
---|---|
template property | district |
ontology property | location |
Property Mapping (help) | |
---|---|
template property | address |
ontology property | address |
Property Mapping (help) | |
---|---|
template property | jaloc |
ontology property | address |
language | ja |
Property Mapping (help) | |
---|---|
template property | postal |
ontology property | postalCode |
Property Mapping (help) | |
---|---|
template property | open |
ontology property | openingDate |
Property Mapping (help) | |
---|---|
template property | open |
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 | oldname |
ontology property | formerName |
Property Mapping (help) | |
---|---|
template property | oldname2 |
ontology property | formerName |
Property Mapping (help) | |
---|---|
template property | operator |
ontology property | operatedBy |
Property Mapping (help) | |
---|---|
template property | operator2 |
ontology property | operatedBy |
Property Mapping (help) | |
---|---|
template property | line |
ontology property | servingRailwayLine |
Property Mapping (help) | |
---|---|
template property | stats |
ontology property | passengersPerDay |
Property Mapping (help) | |
---|---|
template property | statsy |
ontology property | passengersPerYear |