I always mix those, using select solved the problem. Thanks!
On 31/05/2019 13:26, Lorenz B. wrote:
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:
Lorenz,
I was about to reply the same. But I think */* in the Accept header
should match the RDF graph media types? Even if
application/sparql-results+json does not.
On Fri, May 31, 2019 at 12:26 PM Lorenz B.
wrote:
>
> Hello Mikael,
>
> JSON Format is for SELECT and ASK.
>
> CONSTRUCT creates
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, */*"
>
Here is the exact query
curl -H "Accept: application/sparql-results+json, */*"
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
Is there a way to correct this? I'm not able to change the header in client.
Using Jena Fuseki 11
Br,
--
Lingsoft - 30 years of Leading Language Management
www.lingsoft.fi
Speech Applications - Language Management - Translation - Reader's and Writer's
Tools - Text Tools - E-books and