Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Required RDF serializations for Solid #45

Closed
acoburn opened this issue Sep 19, 2019 · 3 comments
Closed

Required RDF serializations for Solid #45

acoburn opened this issue Sep 19, 2019 · 3 comments

Comments

@acoburn
Copy link
Member

acoburn commented Sep 19, 2019

The LDP specification requires read support for both text/turtle and application/ld+json. For servers that allow write operations, support for those two formats are also required.

Does Solid impose any additional requirements about the support of other RDF serializations for read and/or write operations?

@csarven
Copy link
Member

csarven commented Oct 14, 2019

If PUT becomes a requirement (pending #39 , #40 ) or at least at the same level as LDP's POST ie. optional with some requirements for supporting servers, I'd suggest that the same RDF serializations are supported ie. Turtle, JSON-LD.

Clients intending to create an LDP-RS using a payload in other than Turtle and JSON-LD MUST fulfill https://www.w3.org/TR/ldp/#ldpc-post-createrdf for POST as well as PUT (pending agreement on support).

Servers supporting Turtle, JSON-LD and optionally other RDF serializations for LDP-RS SHOULD provide different RDF serializations based on client's proactive negotiation. For example, if a server allows the creation of an LDP-RS in text/html (including RDFa), it SHOULD respond to GET with Accept: text/turtle requests with 200.

@csarven
Copy link
Member

csarven commented Aug 9, 2020

Noting here that the WebID unofficial draft has MUST for Turtle, allows content-negotiation for other RDF serializations, and has MAY for RDFa. In that regard, the RDFa for WebID raises a slightly stronger recommendation than JSON-LD for WebID. This should also be taken into account in Authentication for both servers and clients.

Also noting here a general status update: the current spec does not require notion of LDP-RS but instead uses the notion of RDF document as in https://www.w3.org/TR/rdf11-concepts/#dfn-rdf-document which includes Turtle, RDFa, JSON-LD, TriG as concrete syntaxes. Will clarify these bits in upcoming PR.

@csarven
Copy link
Member

csarven commented Oct 18, 2020

Resolved by #196

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

3 participants