The WDQS LDF service can return data in different formats for the same URL, depending on the client’s Accept header. However, its responses are cacheable and the Vary response header doesn’t include the Accept request header, so responses for different formats may be mixed up.
Original description:
Steps to Reproduce:
Make a request to https://query.wikidata.org/bigdata/ldf?subject=&predicate=http%3A%2F%2Fwww.wikidata.org%2Fprop%2Fdirect%2FP3417&page=2 with headers {"Accept": "application/ld+json"}
Actual Results:
Html is returned
Expected Results:
JSON returned
Note:
https://query.wikidata.org/bigdata/ldf?subject=&predicate=http://www.wikidata.org/prop/direct/P3417 and Make a request to https://query.wikidata.org/bigdata/ldf?subject=&predicate=http%3A%2F%2Fwww.wikidata.org%2Fprop%2Fdirect%2FP3417&page=3 work correctly.
Thanks!