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

Error when passing application/ld+json in accept header #54

Open
rubensworks opened this issue May 7, 2019 · 1 comment
Open

Error when passing application/ld+json in accept header #54

rubensworks opened this issue May 7, 2019 · 1 comment

Comments

@rubensworks
Copy link
Member

I discovered this on the Wikidata TPF endpoint:

Accept header containing application/ld+json:

$ curl -H 'Accept: application/trig;q=1.0,application/ld+json;q=0.9,application/n-quads;q=0.7,text/turtle;q=0.6,application/rdf+xml;q=0.5' https://query.wikidata.org/bigdata/ldf

-> Returns 500

Accept header containing application/json:

$ curl -H 'Accept: application/trig;q=1.0,application/json;q=0.9,application/n-quads;q=0.7,text/turtle;q=0.6,application/rdf+xml;q=0.5' https://query.wikidata.org/bigdata/ldf

-> Returns 200 as Turtle.

The problem occurs when querying Wikidata with Comunica, but it does not occur when querying with Client.js, as the latter does not accept JSON-LD serializations.

May be related to #47

This is a blocker for comunica/jQuery-Widget.js#25

@mielvds
Copy link
Contributor

mielvds commented May 7, 2019

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

2 participants