[Open-transport] JSON-LD Support for Public Transport

Keller Stefan sfkeller at hsr.ch
Wed Jun 10 17:01:28 UTC 2015

Pieter, Hannes, all

On Tue, Jun 9, 2015 at 1:49 PM, Pieter Colpaert <pieter.colpaert at okfn.org> wrote:
> I'm a big fan of json-ld (really: it is rdf, so no need to make the distinction... It's just yet another serialisation ;) )

That’s flattering for JSON-LD but not correct. JSON-LD is "compatible with RDF, but that’s about it. You could convert JSON-LD to and from RDF and get something useful, but JSON-LD had a more sane data model (...) you could use JSON-LD using a simple library and standard JSON tooling."

That was a quote from the insightful blog post by one of the creators of JSON-LD about "JSON-LD and Why I Hate the Semantic Web", http://manu.sporny.org/2014/json-ld-origins-2/ .

I personally don’t hate RDF. It’s simply not the right tool for the semantic web (i.e. for web developers/search engines/data miners and other useful things software and database technologies already achieved). Often ontologies rather are schemas, thesaurs or vocabularies. And – most importantly: RDF is a “shitty data model” – sorry for that other quote from the blog post mentioned ☺.

Cheers, Stefan

Von: Hannes Gassert [mailto:hannes at gassert.ch]
Gesendet: Mittwoch, 10. Juni 2015 07:28
An: Pieter Colpaert
Cc: open-transport; transport-wg at opendata.ch
Betreff: Re: [Open-transport] JSON-LD Support for Public Transport


I was of course expecting your reply, thanks! :)

Do you know of any initiative to bake linked public transport data in any widely used product? And significant linked data publishers in this field, apart from perhaps http://transport.data.gov.uk/? It sounds like the future, but how close is it to the present, from your p.o.v?


On Tue, Jun 9, 2015 at 1:49 PM, Pieter Colpaert <pieter.colpaert at okfn.org<mailto:pieter.colpaert at okfn.org>> wrote:

Hi Hannes,

I'm a big fan of json-ld (really: it is rdf, so no need to make the distinction... It's just yet another serialisation ;) ) and have done some projects already. Schema.org is great for search engines, but is limited for algorithmic use or is limited when expressing the semantics of something.

This email is from my phone, but have a look on our github.com/opentransport<http://github.com/opentransport> , where you'll see the vocabulary, linked-gtfs and stoptimes. Contains work in progress. Linked gtfs can already be used.

Feel free to contact me through Skype for more info :)


Op di 9 jun. 2015 10:16 schreef Hannes Gassert <hannes at opendata.ch<mailto:hannes at opendata.ch>>:
Dear Open Transport Data experts,

Google understands "linked data" trip information in JSON-LD[1], in Gmail, Google Now and probably other places — but for flights only[2].

As JSON-LD seems to deliver on the original promise of the semantic web ("my email program understands I have a flight to take, and can tell my calendar, yay!"), has pretty serious supporters from Healthdata.gov to Microsoft and is much, much easier to understand for common web folks than RDF, it does look interesting for sure. But now let's say we take a train ride and want to map that to JSON-LD. We could either try to use the schema for flights, just replacing airports with train stations. Might actually work, but only barely.

Or we could petition the relevant players to support public transport schemata. Which do in fact exist, for JSON-LD, at schema.org<http://schema.org>[3].

Did anybody ever try to do that? Anyone having real-life JSON-LD-for-Transport experience? Or doing research on this?

I'm very interested in hearing your stories and input on this, I'm convinced deeper integration of better tools can make a huge difference for public transport!

Looking forward to hearing from you,

[1] See http://manu.sporny.org/2014/json-ld-origins-2/ for an entertaining, opinionated intro, or e.g https://youtu.be/vioCbTo3C-4
[2] See https://developers.google.com/gmail/markup/reference/flight-reservation
[3] See https://schema.org/TrainTrip, https://schema.org/BusTrip, etc.

Opendata.ch - Enabling Open Data in Switzerland
Hannes Gassert // Founding Board Member
+41 78 663 11 09<tel:%2B41%2078%20663%2011%2009> // hannes.gassert at opendata.ch<mailto:hannes.gassert at opendata.ch>
open-transport mailing list
open-transport at lists.okfn.org<mailto:open-transport at lists.okfn.org>
Unsubscribe: https://lists.okfn.org/mailman/options/open-transport

Hannes Gassert  |  http://gassert.ch  |  +41 78 663 11 09
Sie erhalten diese Nachricht, weil Sie in Google Groups E-Mails von der Gruppe "Opendata.ch Transport Working Group" abonniert haben.
Wenn Sie sich von dieser Gruppe abmelden und keine E-Mails mehr von dieser Gruppe erhalten möchten, senden Sie eine E-Mail an transport-wg+unsubscribe at opendata.ch<mailto:transport-wg+unsubscribe at opendata.ch>.
Wenn Sie in dieser Gruppe einen Beitrag posten möchten, senden Sie eine E-Mail an transport-wg at opendata.ch<mailto:transport-wg at opendata.ch>.
Wenn Sie diese Diskussion im Web verfolgen möchten, rufen Sie https://groups.google.com/a/opendata.ch/d/msgid/transport-wg/CAK8cbO5k3YWEhcAVUU9Zz2RhcJttAdBhfimdciuHUQhCG8HdTQ%40mail.gmail.com<https://groups.google.com/a/opendata.ch/d/msgid/transport-wg/CAK8cbO5k3YWEhcAVUU9Zz2RhcJttAdBhfimdciuHUQhCG8HdTQ%40mail.gmail.com?utm_medium=email&utm_source=footer> auf.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/open-transport/attachments/20150610/8d639c3a/attachment-0001.html>

More information about the open-transport mailing list