- From: Sam Goto <goto@google.com>
- Date: Tue, 14 Oct 2014 09:48:37 -0700
- To: ☮ elf Pavlik ☮ <perpetual-tripper@wwelves.org>
- Cc: "public-vocabs@w3.org Vocabs" <public-vocabs@w3.org>, Dan Brickley <danbri@google.com>
- Message-ID: <CAMtUnc60sxh4ZsJ7ESZpxtjg2qh6vpLsthkXXycjhN8QqsHxGw@mail.gmail.com>
On Tue, Oct 14, 2014 at 7:04 AM, ☮ elf Pavlik ☮ <
perpetual-tripper@wwelves.org> wrote:
> 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"],
>
Yep, that could work too.
> "actionStatus": "CompletedActionStatus",
> "agent" : {
> "@type": "Person",
> "name": "Alice"
> },
> "object" : {
> "@type": "Person",
> "name": "Bob"
> },
> "startTime" : "2014-03-01"
> }
>
>
Received on Tuesday, 14 October 2014 16:49:05 UTC