endpoint_URL to get a json response to an HTTP request


I want to execute a query via HTTP, but I need that stardog returned the response in a json format. Is it posible?

If so, which URL I have to use? (Currently I'm using: "", where EVCP is the DB created in stardog.)

I've tryied to use "" and "", but neither of them worked.


Hi and welcome!

If you have control of the HTTP headers being sent, you can simply include Accept: application/sparql-results+json and you'll get the query results in a JSON format. If you do not, Stardog Studio allows you to run a query and then export the results out to a JSON file.

Thanks Stephen for your answer!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.