Re: parse error in fuseki UI when typing a query

2018-11-28 Thread Andy Seaborne
The /MyDataset/ is slightly magic. Fuseki inspects the request and determines if it is a query or an update. It is a query if: 1/ The URL query string of the request URI has ?query= in it. (GET or HTML form) 2/ The content type is application/sparql-query (POST) and an update if: 3/ The URL

Re: parse error in fuseki UI when typing a query

2018-11-28 Thread Vincent Ventresque
Thanks Andy. I don't understand : 'update' queries work in UI most of the time (and when I re-write this 'delete' query, it works... Of course I have to give http://localhost:3030/MyDataset or http://localhost:3030/MyDataset/update as endpoint url (above dialog box), not http://localhost:3030

Re: parse error in fuseki UI when typing a query

2018-11-28 Thread Vincent Ventresque
Thanks Andy. I don't understand : 'update' queries work in UI most of the time (and when I re-write this 'delete' query, it works... Of course I have to give http://localhost:3030/MyDataset or http://localhost:3030/MyDataset/update as endpoint url (above dialog box), not http://localhost:3030

Re: parse error in fuseki UI when typing a query

2018-11-28 Thread Andy Seaborne
Vincent, It's a parse because DELETE is SPARQL Update and the query editor is for query. In SPARQL, they are different languages. There is some way (IIRC) to use the UI with update but I can't remember how - maybe someone else can answer that part. Andy On 28/11/2018 11:28, Vincent Ven

parse error in fuseki UI when typing a query

2018-11-28 Thread Vincent Ventresque
Hello, Sometimes I have a '400 Parse error' when typing a query in Fuseki UI. -- Here, the query string 'delete {?s ?p ?o } where {?s ?p ?o }' doesn't work at first. N.B.: I hadn't pasted the string from other software, everything had been typed in the query dialog box. -- If I change the strin