Re: RDF Connection

2022-05-17 Thread Erich Bremer
https://github.com/apache/jena/issues/1318 On Mon, May 16, 2022 at 3:59 PM Erich Bremer wrote: > Will do. - Erich > > On Mon, May 16, 2022 at 3:43 PM Andy Seaborne wrote: > >> Hi - could you raise an issue for this please. >> >> There's a backlog at th emoment so don't want to loose it. >> >>

Re: RDF Connection

2022-05-16 Thread Erich Bremer
Will do. - Erich On Mon, May 16, 2022 at 3:43 PM Andy Seaborne wrote: > Hi - could you raise an issue for this please. > > There's a backlog at th emoment so don't want to loose it. > > Andy > > PS the difference is that there are newlines in the > con.query(Query) form and not in the

Re: RDF Connection

2022-05-16 Thread Andy Seaborne
Hi - could you raise an issue for this please. There's a backlog at th emoment so don't want to loose it. Andy PS the difference is that there are newlines in the con.query(Query) form and not in the con.query(String) form - add a \nb and I expect it will also break. On 16/05/2022

Re: RDF Connection

2022-05-16 Thread Erich Bremer
I changed QueryExecution qe = con.query(query); to QueryExecution qe = con.query("select ?s where {?s ?p ?o} limit 10"); and it works. A bug in the former method? - Erich On Mon, May 16, 2022 at 12:31 PM Erich Bremer wrote: > Thanks Andy, this is a huge help. > using this code: > > Query

Re: RDF Connection

2022-05-16 Thread Erich Bremer
Thanks Andy, this is a huge help. using this code: Query query = QueryFactory.create("select ?s where {?s ?p ?o} limit 10"); AuthEnv.get().registerUsernamePassword(new URI(" https://myserver.edu/sparql-auth;), Settings.user, Settings.password); HttpClient client = HttpClient.newBuilder()

Re: RDF Connection

2022-05-16 Thread Andy Seaborne
On 16/05/2022 16:11, Erich Bremer wrote: It seems in Jena 4.3.X forward HttpClient in RDFConnectionRemoteBuilder was changed from org.apache.http.client.HttpClient to java.net.http.HttpClient. The latter doesn't appear to support Digest Authentication. Is there support for Digest

RDF Connection

2022-05-16 Thread Erich Bremer
It seems in Jena 4.3.X forward HttpClient in RDFConnectionRemoteBuilder was changed from org.apache.http.client.HttpClient to java.net.http.HttpClient. The latter doesn't appear to support Digest Authentication. Is there support for Digest authentication in 4.3.X forward? I was able to do it

Re: Remote Transactions using RDF Connection

2020-05-28 Thread Andy Seaborne
ngle-writer (MRSW locking) which is atomic but not allowing TDBstyle multiple readers and a writer at the same time (MR+SW). What it does not provide is one transaction across multiple requests which is what the RDF Connection documentation is referring to. (something to do sometime, but

Remote Transactions using RDF Connection

2020-05-28 Thread Siddharth Trikha
I have TDB databse which we are thinking of hosting on a Apache Fuseki Server. So my application in Java would connect to the Fuseki server and write code to execute SPARQL queries on the TDB database like: