rightsstatements / rights-app

Web application to serve the rightsstatements.org vocabulary
http://rightsstatements.org/vocab/1.0/
European Union Public License 1.1
1 stars 3 forks source link

What to serve for a GET on a /data URI without Accept header? #32

Closed acka47 closed 8 years ago

acka47 commented 8 years ago

Currently making a GET on a /data URI gives a 406, see https://github.com/rightsstatements/rights-app/pull/30#issuecomment-161512407. As far as I know, the behaviour for this situation isn't specified in the white paper. @literarymachine suggests serving JSON-LD as default and is pushing this change to the dev server.

Would this be OK with the working group?

no-reply commented 8 years ago

Defaulting to either JSON-LD or Turtle is good. Factors that might differentiate between the two:

Unless one of those seems to favor Turtle heavily, :+1: to JSON-LD.

literarymachine commented 8 years ago

Is the full context included in JSON-LD responses? The default response should fully encode the graph without need for a second request or cache of the context.

Yes, the full @context is included.

Is there a notable size difference in the serializations?

Currently 22K ttl vs. 26K json for the full vocab.

Assuming this is OK, will leave as is (see https://github.com/rightsstatements/rights-app/pull/30#issuecomment-162533720).

no-reply commented 8 years ago

Sounds good. Closing this. @anarchivist or @aisaac (or anyone else) can reopen if this isn't a satisfactory conclusion.

anarchivist commented 8 years ago

:+1: This sounds good to me as well.