w3c-social / social-vocab

Experiment with maintaining a living vocabulary
Creative Commons Zero v1.0 Universal
15 stars 3 forks source link

Activity Streams and Event Ontology #9

Open elf-pavlik opened 9 years ago

elf-pavlik commented 9 years ago

In https://github.com/w3c-social/social-vocab/issues/6#issuecomment-97943678 @johnbreslin shared link to presentation which includes slide of Event Ontology. We could compare it to ActivityStreams 2.0 and maybe at some point work on mapping them. Event Ontology @moustaki would you consider collaborating on this?

BTW Both event:Event and as:Activity seem to me like N-ary relation with no distinguished participant N-ary Relation @fosterlynn how do you compare it to your current modeling of events in OVN?

fosterlynn commented 9 years ago

@elf-pavlik Re. how event:Event or as:Activity is compared with events in OVN - They are completely different things. In OVN, it is really EconomicEvent, which is a change in an EconomicResource, for example creation, consumption, use, transfer of rights or ownership. No danger of overlap here I think, we in OVN should be careful of using the "event" shorthand term.

fosterlynn commented 9 years ago

@elf-pavlik Actually, your Purchase example has relevance in OVN, although we might be getting pretty far from social issues. :smile: So here is a brief explanation, and I'd be happy to get into it more if people want to pursue this direction.

The OVN ontology (in development, want to normalize with others) comes from a domain ontology called REA (for Resources Events Agents). Really EconomicResource EconomicEvent EconomicAgent. A couple pictures here: https://github.com/openvocab/ovn. Some more explanation and pictures here: https://github.com/valnet/valuenetwork/wiki/Core. (NOT required reading! :smile: )

Briefly, we have Process and Exchange, subclasses of something (we are calling the something EconomicInteraction for now). Processes and Exchanges contain or refer to EconomicEvents, which are the lowest level economic building block. So for us, your Purchase is an Exchange (perhaps a subclass of?), and @johnbreslin 's Events (like meetings, concerts, etc.) are probably our Processes, although that might be too limited for what all goes on in an event.

Your Purchase would be an Exchange with an EconomicEvent for delivering the book (an EconomicResource) from books.example.com to John (EconomicAgents) and an EconomicEvent for John delivering the $15 (another EconomicResource) to books.example.com.

elf-pavlik commented 9 years ago

Thank you @fosterlynn I'll take a closer look at http://en.wikipedia.org/wiki/Resources,_events,_agents_(accounting_model)

Please note in ActivityPump draft emphasis on distinction between ContentObjects, Activities and Actors, http://w3c-social.github.io/activitypump/#obj Also in ActivityStreams 2.0 you find as:Object, as:Activity and as:Actor Of course you work with more specific domain than Social Web in general, but we may find out that we can still share major part of the modeling :smile: Maybe also cases of platforms like http://www.guerrillatranslation.org can provide some very common ground?

moustaki commented 9 years ago

Sure @elf-pavlik I'd be happy to help. I'll take a look at the activity stream vocab - from a quick initial read it looks like the mapping should be pretty trivial, as they use the same kind of underlying abstraction.

fosterlynn commented 9 years ago

@elf-pavlik wrote: I'll take a closer look at http://en.wikipedia.org/wiki/Resources,_events,_agents_(accounting_model)

This is fine but just the beginning of REA. @bhaugen with McCarthy (the inventor of REA) expanded this to a model that crosses company boundaries with ease, thus dealt with supply chains, and now economic networks. Here is an explanation: https://e43e416e64e1016a4350abe344e386c94b619380.googledrive.com/host/0BxlqOeaPnXHfSmxpd3ZXRVVMNkE/BeyondTheEnterprise.html

@elf-pavlik wrote: Of course you work with more specific domain than Social Web in general, but we may find out that we can still share major part of the modeling.

I hope so! And I think so! :smile: Just tell me to stop with the economic stuff if it gets too out of scope!

@elf-pavlik wrote: Maybe also cases of platforms like http://www.guerrillatranslation.org can provide some very common ground?

We have been talking with them for a while, and their plan is to start using NRP sometime this year. We do have some things built in based on their requirements, for example workflow style processes (vs more manufacturing style processes).

And I'll study your links too...

elf-pavlik commented 9 years ago

@moustaki awesome :dancers: also if you notice some features provided by The Event Ontology, missing in Activity Streams 2.0 Vocabulary please bring it to our attention. I just started a file for that mapping, please feel very welcomed to fork and PR :smile: https://github.com/w3c-social/social-vocab/blob/master/mappings/as-event.ttl Thanks!

fosterlynn commented 9 years ago

Reading the Activity Stream doc - I think OVN will have an overlap here where it would be great to be involved in some way. And we're happy to follow the AS lead. My partner @bhaugen put together a conceptual doc awhile ago, value streams based on the activity stream idea - https://github.com/valnet/valuenetwork/wiki/Value-Streams. We have the base data, and some notifications, but haven't implemented the streams.

elf-pavlik commented 9 years ago

I've just found BIO vocab which in very interesting way relates to activities like Travel (with Departure and Arrival)

vocab-bio