- From: ☮ elf Pavlik ☮ <perpetual-tripper@wwelves.org>
- Date: Thu, 29 Aug 2013 15:28:57 +0000
- To: activity-streams <activity-streams@googlegroups.com>
- Cc: W3C Web Schemas Task Force <public-vocabs@w3.org>
Excerpts from James M Snell's message of 2013-07-26 21:05:07 +0000:
> Also, some examples of how the schema.org Action model works in
> conjunction with the proposed AS 2.0 syntax...
>
> {
> "objectType": "http://schema.org/WinAction",
> "verb": "win",
> "actor": "acct:joe@example.org",
> "object": "urn:example:games:tag",
> "startTime": "2013-07-26T12:12:12Z",
> "@context": {
> "objectType": "@type",
> "actor": "http://schema.org/agent",
> "object": "http://schema.org/object",
> "startTime": "http://schema.org/startTime"
> }
> }
>
>
> {
> "objectType": "http://schema.org/ChooseAction",
> "verb": "choose",
> "actor": "acct:joe@example.org",
> "object": "urn:example:options:1",
> "options": [
> "urn:example:options:1",
> "urn:example:options:2",
> "urn:example:options:3"
> ]
> "@context": {
> "objectType": "@type",
> "actor": "http://schema.org/agent",
> "object": "http://schema.org/object",
> "options": "http://schema.org/option"
> }
> }
>
>
> {
> "objectType": "http://schema.org/WatchAction",
> "verb": "watch",
> "actor": "acct:joe@example.org",
> "object": {
> "objectType": {
> "id": "http://schema.org/Movie",
> "alias": "video"
> }
> "displayName": "Die Hard"
> },
> "@context": {
> "objectType": "@type",
> "id": "@id",
> "actor": "http://schema.org/agent",
> "object": "http://schema.org/object",
> "options": "http://schema.org/option"
> }
> }
>
> In each of these cases, the JSON-LD context can be completely ignored
> by anyone who only wants the basic Activity Streams stuff... If the
> schema.org model is important to you, however, the @context defines
> the mapping.
>
> For those of you who have been asking about the use case for the
> proposed JSON-LD alignment... this is a major one.
we work ATM on open source, distributed app with geo maps and notions of argumented reality
we want to express actions/activities on certain POIs, commenting, taking photo etc.
in AS *target* seams possibly useful for that case: http://tools.ietf.org/html/draft-snell-activitystreams-02#section-3.5
i must admit that we still chew on how AS *target* maps to schema.org/Action ?
Received on Thursday, 29 August 2013 15:29:25 UTC