Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

zazuko/ld-didok

Repository files navigation

Swiss Public Transport Linked Data

This repository provides multiple datasets about public transport related information of Switzerland. It is built on data from

Source

The data is taken from the SBB Open Data Portal, more specifically from the DIDOK list. You can get the CSV directly from this link.

RDF Export

This is a first PoC version of an LD-Export. It will hopefully be gradually expanded in the next months. So far only few triples are attached to the station and the namespace is not fixed yet.

The Linked Data version provides a pretty simple mapping of the DIDOK tables. We do not include the name of the community but instead link to the URI of the appropriate municipality in the "Historisiertes Gemeindeverzeichnis", maintained by "Bundesamt für Statistik".

Accessing the data online

Each URI used can be directly dereferenced by HTTP, for example this entry for SBB Cargo. You can request different RDF serializations for each resource, like Turtle, JSON-LD, RDF/XML etc.

If you want to query the data you can use the LINDAS SPARQL endpoint at lindas-data.ch/sparql. You can find the data in the graph https://linked.opendata.swiss/graph/FOT/didok. See this YASGUI query as an example.

Author

The export was created by Adrian Gschwend, adrian.gschwend@zazuko.com or http://twitter.com/linkedktk

License

The RML configuration is provided under The MIT License (MIT). I did not check the exact license of the DIDOK dataset.

The MIT License (MIT)

Copyright (c) 2017 Zazuko GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.