Issue with TDB file locking

2019-05-31 Thread Amit Kumar
Hi, I'm having issue an issue with using Fuseki as a war file inside jetty. We have a java application which looks for new data and loads it onto fuseki. When it is doing it for the first time, it has to create a new index, so we call the tdb2.tdbloader class directly with appropriate parameters. H

Re: application/sparql-results+json,*/* Accept header returns XML

2019-05-31 Thread Mikael Pesonen
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: application/sparql-result

Re: application/sparql-results+json,*/* Accept header returns XML

2019-05-31 Thread Martynas Jusevičius
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

Re: application/sparql-results+json,*/* Accept header returns XML

2019-05-31 Thread Lorenz B.
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%2

Re: application/sparql-results+json,*/* Accept header returns XML

2019-05-31 Thread Mikael Pesonen
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%