Hello Mikael, JSON Format is for SELECT and ASK.
CONSTRUCT creates an RDF graph, the crrect format would be JSON-LD here. > > Here is the exact query > > curl -H "Accept: application/sparql-results+json, */*" > https://localhost/fuseki/ds?query=%20%20%20%20construct%20%7B%3Fs%20%3Fp%20%3Fo%7D%20WHERE%0A%7B%0A%20%20%20%20GRAPH%20%3Chttps%3A%2F%2Fresource.lingsoft.fi%2Fyle_test%2F%3E%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%3Fs%20%3Fp%20%3Fo%0A%20%20%20%20%7D%0A%7D%0A%20%20%20 > > So sparql is > > construct {?s ?p ?o} WHERE { GRAPH > <https://resource.lingsoft.fi/yle_test/> { ?s ?p ?o } } > > So maybe it's related to construct? > > > > On 30/05/2019 19:23, Andy Seaborne wrote: >> I get JSON. >> >> >> curl -d query='SELECT * {}' \ >> --header 'Accept: application/sparql-results+json, */*' \ >> http://localhost:3030/ds >> ==> >> { >> "head": { >> "vars": [ ] >> } , >> "results": { >> "bindings": [ >> { >> >> } >> ] >> } >> } >> >> >> >> >> On 30/05/2019 16:18, Mikael Pesonen wrote: >>> >>> Is there a way to correct this? I'm not able to change the header in >>> client. >>> >>> Using Jena Fuseki 11 >>> >>> Br, >>> > -- Lorenz Bühmann AKSW group, University of Leipzig Group: http://aksw.org - semantic web research center