Mapping en:Infobox bus company: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
(Created page with '{{TemplateMapping | mapToClass = BusCompany | mappings = <!-- {{ PropertyMapping | templateProperty = service_type | ontologyProperty = }} --> <!-- {{ PropertyMapping | templa...') |
(merged from Infobox bus transit and updated) |
||
Line 1: | Line 1: | ||
<!-- Hard to distinguish between oganisation and public transpot system, therefore properties from both domains are used. --> | |||
{{TemplateMapping | |||
| mapToClass = BusCompany | |||
| mappings = | |||
{{ PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }} | {{ PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }} | ||
{{ PropertyMapping | templateProperty = logo | ontologyProperty = foaf:logo }} | |||
{{ PropertyMapping | templateProperty = company_slogan | ontologyProperty = slogan }} | |||
{{ PropertyMapping | templateProperty = parent | ontologyProperty = parentCompany }} | |||
{{ PropertyMapping | templateProperty = founded | ontologyProperty = foundingYear }} | |||
{{ PropertyMapping | templateProperty = commenced | ontologyProperty = startDate }} | |||
{{ PropertyMapping | templateProperty = ceased | ontologyProperty = endDate }} | |||
{{ PropertyMapping | templateProperty = defunct | ontologyProperty = dissolutionYear }} | |||
<!-- defunct is wrongly mapped to dissolutionYear, yet this property is erroniously used by editors pointing out years / dates insted of yes/no -> needs complex mapping!!! --> | |||
{{ PropertyMapping | templateProperty = headquarters | ontologyProperty = headquarter }} | |||
{{ PropertyMapping | templateProperty = locale | ontologyProperty = location }} | |||
{{ PropertyMapping | templateProperty = service_area | ontologyProperty = regionServed }} | |||
{{ PropertyMapping | templateProperty = service_type | ontologyProperty = service }} | |||
{{ PropertyMapping | templateProperty = alliance | ontologyProperty = isPartOf }} | |||
{{ PropertyMapping | templateProperty = routes | ontologyProperty = numberOfLines }} | |||
{{ PropertyMapping | templateProperty = destinations | ontologyProperty = destination }} | |||
{{ PropertyMapping | templateProperty = stops | ontologyProperty = importantStation }} | |||
{{ PropertyMapping | templateProperty = stations | ontologyProperty = importantStation }} | |||
{{ PropertyMapping | templateProperty = hubs | ontologyProperty = importantStation }} | |||
{{ PropertyMapping | templateProperty = lounge | ontologyProperty = importantStation }} | |||
{{ PropertyMapping | templateProperty = depots | ontologyProperty = importantStation }} | |||
{{ PropertyMapping | templateProperty = fleet | ontologyProperty = vehiclesInFleet }} | |||
{{ PropertyMapping | templateProperty = ridership | ontologyProperty = passengersPerDay }} | |||
{{ PropertyMapping | templateProperty = annual ridership | ontologyProperty = passengersPerYear }} | |||
{{ PropertyMapping | templateProperty = annual_ridership | ontologyProperty = passengersPerYear }} | |||
{{ PropertyMapping | templateProperty = fuel_type | ontologyProperty = fuelType }} | |||
{{ PropertyMapping | templateProperty = operator | ontologyProperty = operator }} | |||
{{ PropertyMapping | templateProperty = ceo | ontologyProperty = ceo }} | |||
{{ PropertyMapping | templateProperty = leader | ontologyProperty = ceo }} | |||
{{ PropertyMapping | templateProperty = leader_type | ontologyProperty = leaderFunction }} | |||
{{ PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }} | {{ PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }} | ||
}} | }} |
Latest revision as of 11:21, 8 October 2017
This is the mapping for the Wikipedia template Infobox bus company. 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 | BusCompany |
Mappings
Property Mapping (help) | |
---|---|
template property | name |
ontology property | foaf:name |
Property Mapping (help) | |
---|---|
template property | logo |
ontology property | foaf:logo |
Property Mapping (help) | |
---|---|
template property | company_slogan |
ontology property | slogan |
Property Mapping (help) | |
---|---|
template property | parent |
ontology property | parentCompany |
Property Mapping (help) | |
---|---|
template property | founded |
ontology property | foundingYear |
Property Mapping (help) | |
---|---|
template property | commenced |
ontology property | startDate |
Property Mapping (help) | |
---|---|
template property | ceased |
ontology property | endDate |
Property Mapping (help) | |
---|---|
template property | defunct |
ontology property | dissolutionYear |
Property Mapping (help) | |
---|---|
template property | headquarters |
ontology property | headquarter |
Property Mapping (help) | |
---|---|
template property | locale |
ontology property | location |
Property Mapping (help) | |
---|---|
template property | service_area |
ontology property | regionServed |
Property Mapping (help) | |
---|---|
template property | service_type |
ontology property | service |
Property Mapping (help) | |
---|---|
template property | alliance |
ontology property | isPartOf |
Property Mapping (help) | |
---|---|
template property | routes |
ontology property | numberOfLines |
Property Mapping (help) | |
---|---|
template property | destinations |
ontology property | destination |
Property Mapping (help) | |
---|---|
template property | stops |
ontology property | importantStation |
Property Mapping (help) | |
---|---|
template property | stations |
ontology property | importantStation |
Property Mapping (help) | |
---|---|
template property | hubs |
ontology property | importantStation |
Property Mapping (help) | |
---|---|
template property | lounge |
ontology property | importantStation |
Property Mapping (help) | |
---|---|
template property | depots |
ontology property | importantStation |
Property Mapping (help) | |
---|---|
template property | fleet |
ontology property | vehiclesInFleet |
Property Mapping (help) | |
---|---|
template property | ridership |
ontology property | passengersPerDay |
Property Mapping (help) | |
---|---|
template property | annual ridership |
ontology property | passengersPerYear |
Property Mapping (help) | |
---|---|
template property | annual_ridership |
ontology property | passengersPerYear |
Property Mapping (help) | |
---|---|
template property | fuel_type |
ontology property | fuelType |
Property Mapping (help) | |
---|---|
template property | operator |
ontology property | operator |
Property Mapping (help) | |
---|---|
template property | ceo |
ontology property | ceo |
Property Mapping (help) | |
---|---|
template property | leader |
ontology property | ceo |
Property Mapping (help) | |
---|---|
template property | leader_type |
ontology property | leaderFunction |
Property Mapping (help) | |
---|---|
template property | website |
ontology property | foaf:homepage |