- From: ☮ elf Pavlik ☮ <perpetual-tripper@wwelves.org>
- Date: Tue, 14 Oct 2014 16:04:12 +0200
- To: Sam Goto <goto@google.com>
- CC: "public-vocabs@w3.org Vocabs" <public-vocabs@w3.org>, danbri@google.com
On 10/13/2014 06:53 PM, ☮ elf Pavlik ☮ wrote:
> On 10/13/2014 06:19 PM, Sam Goto wrote:
>>
>>
>> On Mon, Oct 13, 2014 at 9:07 AM, ☮ elf Pavlik ☮
>> <perpetual-tripper@wwelves.org <mailto:perpetual-tripper@wwelves.org>>
>> wrote:
>>
>> Hi,
>>
>> Based on discussions in Social WG around ActivityStreams2.0 I would like
>> to ask for help with clarifying something about schema.org
>> <http://schema.org> Action
>> subtree design. In particular how to recognize subtypes of schema:Action
>> defined outside of schema.org <http://schema.org> .
>>
>>
>> Would the basic schema.org extension mechanism
>> <http://schema.org/docs/extension.html> suffice here?
>>
>> That is, something like http://schema.org/InteractAction/HugAction work?
>
> I remember hearing about this Extension Mechanism based on / as 'old'
> and not strongly encouraged (maybe just rumors?). Do you know of real
> world examples where someone uses it?
>
> To my understanding this approach violates URI Opacity[1] and doesn't
> allow dereferencing terms 'extended' in such way.
>
> Looking at examples like http://bibliograph.net they extend schema.org
> types in their own namespace. I recommend recent slidedeck[2] by Richard
> Wallis
> eg. bgn:Thesis, http://bibliograph.net/Thesis
>
> [1] http://www.w3.org/TR/webarch/#uri-opacity
> [2] http://www.slideshare.net/rjw/extending-schemaorg
>
I think assigning multiple types which include parent type from
schema.org could give similar result without mentioned issues related to
/ extension mechanism.
{
"@context": ["http://schema.org", { "ex": "http://example.net/#" }]
"@type": ["Action", "ex:HugAction"],
"actionStatus": "CompletedActionStatus",
"agent" : {
"@type": "Person",
"name": "Alice"
},
"object" : {
"@type": "Person",
"name": "Bob"
},
"startTime" : "2014-03-01"
}
Received on Tuesday, 14 October 2014 14:06:27 UTC