Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging travel with as:Activity (Activity Streams 2.0) #26

Open
elf-pavlik opened this issue Nov 2, 2014 · 8 comments
Open

Logging travel with as:Activity (Activity Streams 2.0) #26

elf-pavlik opened this issue Nov 2, 2014 · 8 comments

Comments

@elf-pavlik
Copy link

I plan to publish all the records of my public transport usage online. I see use of Activity Streams 2.0 as an interesting option. When I get a chance I will take a look at generating appropriate activities based on LinkedGTFS data. Possibly also reusing http://schema.org/TravelAction

As outcome I would like to publish something similar to http://aaronparecki.com/metrics but also provide Linked Data Fragments interface

@pietercolpaert
Copy link
Member

Interesting! I think the stoptimes ontology will be more interesting. I will do a new commit on Monday or Tuesday and let you know why exactly :)

@elf-pavlik
Copy link
Author

@pietercolpaert I will also need to eventually handle Offer/Demand like http://www.blablacar.com/trip-frankfurt-am-main-brussel-45132196 and log them as well. But maybe starting with public transit gives us simpler case to begin with 🐌

@pietercolpaert
Copy link
Member

Hi @elf-pavlik - I've pushed this: https://github.com/OpenTransport/vocabulary/blob/master/stoptimes/spec.md

This will help you to give a URI to a vehicle's stop

@elf-pavlik
Copy link
Author

cool! maybe it would make sense to add paragraph how it differs from gtfs:StopTime?
on first read i understood that gtfs:StopTime describes recurring event and st:StopTime describes particular one of those occurrences...

@pietercolpaert
Copy link
Member

Indeed! Good idea

@elf-pavlik
Copy link
Author

@pietercolpaert do you have suggestion on how to describe a single trip on a bus as passenger (later I will also need to describe driving shift as driver). This could later somehow tie to http://schema.org/BusTrip and for example show related gtfs:FareClass and used tio:Ticket #16

@pietercolpaert
Copy link
Member

Interesting experimental example: https://github.com/valueflows/process/blob/master/examples/bus-trip-paris-lille.jsonld

I've discussed this with @danbri at ISWC2015 and it seems like schema:BusTrip is the way to go (although I think a higher level "Trip" class would come in handy). The Linked Connections and Linked GTFS vocabulary currently don't contain any ways to describe personal journeys though and it's not in their ambition. I think these 2 vocabularies need to focus on their core goals first :)

I'm still thinking about how to model possible relations with schema.org and tio.

@elf-pavlik
Copy link
Author

Thanks @pietercolpaert

Interesting experimental example: https://github.com/valueflows/process/blob/master/examples/bus-trip-paris-lille.jsonld

You can also find some illustrated diagrams (for now made by hand) here:
valueflows/process#4 (comment)

In general it will also relate to as:Activity (as:Travel) and schema:Action (schema:TravelAction) and also aim at addressing my questions about Offer/Demand for them in: schemaorg/schemaorg#134 (comment)

I will keep sharing new findings here as they emerge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants