OpenTransport / vocabulary

A vocabulary to describe transport systems
36 stars 9 forks source link

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

Open elf-pavlik opened 9 years ago

elf-pavlik commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

@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 :snail:

pietercolpaert commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

Indeed! Good idea

elf-pavlik commented 8 years ago

@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 https://github.com/OpenTransport/vocabulary/issues/16

pietercolpaert commented 8 years ago

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 commented 8 years ago

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: https://github.com/valueflows/process/pull/4#issuecomment-148833664

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: https://github.com/schemaorg/schemaorg/issues/134#issuecomment-93369527

I will keep sharing new findings here as they emerge!