Re: JSON-LD context URI

All,

Also not as chair*, the opinion I quickly expressed on the call this
morning in more detail:

1.  We must create a new context URI.  I'm not sure if this needs to be
done before FPWD or not?

Right now, we have placeholder text in the context appendix:
        "... and can be referenced as http://www.w3.org/xxx/yyy."
 We also do not anywhere actually give the @context key in any of the
JSON-LD examples, including the "complete" example in appendix C.
Even if we hadn't changed anything in the model or vocabulary, the decision
to use more developer friendly keys in the JSON serialization would require
a new context document.

2.  It would be beneficial to NOT create a new namespace URI and instead
continue to use the /ns/oa# URI.  The community group baked this notion in
from the beginning, such as not having a version or date in the URI on the
very sensible recommendation of Dan Brickley and his experience with FOAF,
amongst others.

3.  The discussion previously that resulted in the ontology being included
in the context document was around the rule that /ns/ must only be used for
ontology specifications.   Thus the workaround was to include both context
and ontology in the same document.  As JSON-LD is increasingly popular, I'm
sure that the issue as to context URIs could be solved in the general case
as a recommended best practice.

Is this something that the chairs+staff should raise more broadly within
the W3C?  And to what extent do we need to solve it for FPWD or soon
thereafter?

4.   Paolo and I, as community group chairs, should also confirm this
approach with the CG that clearly has a stake in what happens at the
namespace and context URIs.  I personally would be very surprised if
there's any pushback, but it would be both polite and encourage continued
engagement to do so.


Rob

* Please assume this for everything I say, unless I specifically say "As
chair, ..." :)


On Wed, Dec 3, 2014 at 8:12 AM, Ivan Herman <ivan@w3.org> wrote:

>
> > On 03 Dec 2014, at 16:57 , Frederick Hirsch <w3c@fjhirsch.com> wrote:
> >
> > Ivan
> >
> > Thanks for noting this.
> >
> > It seems to me (personally not as chair) that the right thing to do is
> the following
> >
> > 1. Keep oa as 'http://www.w3.org/ns/oa for the Web Annotation Data
> Model we are producing, as in the FPWD
> >
> > 2. Update the landing page appropriately
> >
> > 3. Add a clear warning to the Community Group  Open Annotation Data
> Model ‘community draft’ that there is an update underway in the Web
> Annotation WG, with a pointer to our new draft and home page
> >
> > It seems better to focus on the new work with the same URL as
> implementations are changing along with the specification.
> >
> > JSON-LD is new work so we don’t have a backward compatibility issue,
> right?
>
> Actually, there is a oa.jsonld file right now which is the @context AND
> the full vocabulary. In other words, it is a JSON-LD serialization of the
> full vocabulary. And what we need is a separate file for the @context only
> on, probably, a separate URI.
>
> Ivan
>
> >
> > regards, Frederick
> >
> > Frederick Hirsch, Nokia
> > Co-Chair W3C Web Annotation WG
> > @fjhirsch
> >
> >
> >
> > On Dec 3, 2014, at 4:37 AM, Ivan Herman <ivan@w3.org> wrote:
> >
> >> Rob,
> >>
> >> one thing I realized, while looking at the FPWD text: the text refers
> to oa as 'http://www.w3.org/ns/oa. At this moment that URI exists and
> refers to the Community Group's output, with the vocabulary set up as an
> HTML+RDFa and other formats like turtle or json-ld.
> >>
> >> If we decide to keep that URI, we should update its landing page. It
> also means that this WG will override the various vocabularies that are
> already there. Do we want to do that? If so, we should check whether a new
> version should be put at those places while publishing the FPWD.
> >>
> >> We should also put up on the site a proper JSON-LD @context file; the
> current document has a phony URI for that purpose, and
> http://www.w3.org/ns/oa.jsonld has the full vocabulary (I am not sure
> whether we want that to be the @context file, it is probably too big for
> that purpose)
> >>
> >> Cheers
> >>
> >> Ivan
> >>
> >>
> >> ----
> >> Ivan Herman, W3C
> >> Digital Publishing Activity Lead
> >> Home: http://www.w3.org/People/Ivan/
> >> mobile: +31-641044153
> >> ORCID ID: http://orcid.org/0000-0003-0782-2704
> >>
> >>
> >>
> >>
> >
> >
>
>
> ----
> Ivan Herman, W3C
> Digital Publishing Activity Lead
> Home: http://www.w3.org/People/Ivan/
> mobile: +31-641044153
> ORCID ID: http://orcid.org/0000-0003-0782-2704
>
>
>
>
>


-- 
Rob Sanderson
Technology Collaboration Facilitator
Digital Library Systems and Services
Stanford, CA 94305

Received on Wednesday, 3 December 2014 22:06:54 UTC