W3C home > Mailing lists > Public > public-socialweb@w3.org > September 2014

Re: Activity and Actions Vocabulary, Examples

From: ☮ elf Pavlik ☮ <perpetual-tripper@wwelves.org>
Date: Tue, 30 Sep 2014 18:56:52 +0200
Message-ID: <542AE0D4.4080909@wwelves.org>
To: James M Snell <jasnell@gmail.com>
CC: "public-socialweb@w3.org" <public-socialweb@w3.org>
On 09/30/2014 06:11 PM, James M Snell wrote:
> On Tue, Sep 30, 2014 at 9:03 AM, ☮ elf Pavlik ☮
> <perpetual-tripper@wwelves.org> wrote:
>>     "@type": [
>>       "http://activitystrea.ms/2.0/Link",
>>       "urn:example:objectType:person"
>>     ],
>>     "@id": "http://example.org/profiles/sally",
>>     "displayName": "Sally"
> 
> Given that JSON-LD allows values to have multiple types, yes, this
> would be valid and would be something that implementers would need to
> watch out for.
you can find multiple types in spec
http://www.w3.org/TR/json-ld/#specifying-the-type

and for example in Hydra + schema.org examples
http://www.hydra-cg.com/spec/latest/schema.org/#rsvp-action

I understand why state:

<http://example.org/profiles/sally> a <urn:example:objectType:person>

but don't get a need of making statement as:

<http://example.org/profiles/sally> a <http://activitystrea.ms/2.0/Link>
Received on Tuesday, 30 September 2014 16:59:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:26:12 UTC