Skip to content

Support JSON-LD for SPARQL constructs #654

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

Closed
RickMoynihan opened this issue Feb 21, 2023 · 0 comments
Closed

Support JSON-LD for SPARQL constructs #654

RickMoynihan opened this issue Feb 21, 2023 · 0 comments

Comments

@RickMoynihan
Copy link
Member

RickMoynihan commented Feb 21, 2023

We currently only support application/rdf+json for constructs which is now effectively discouraged in favour of JSON-LD:

The syntax defined in this document is an alternative to the one recommended in JSON-LD [JSON-LD]. It should not be used unless there is a specific reason to do so. Use of JSON-LD is recommended.

It should be trivial to add support for JSON-LD as the libraries are already included in drafter

RickMoynihan added a commit that referenced this issue Feb 21, 2023
Note: The JSON-LD will not be prettified JSON-LD, it will necessarily
be expanded JSON-LD.
RickMoynihan added a commit that referenced this issue Mar 2, 2023
Closes #654. Support JSON-LD on SPARQL endpoints and RDF API routes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant