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:
---------------------------------------------------------------------------------------------------------------------------
RDFConnectionRemoteBuilder builder = RDFConnectionFuseki.create()
.destination("http://sparql.org/sparql");
Query query = QueryFactory.create("SELECT * { BIND('Hello'as ?text) }");
// In this variation, a connection is built each time.
try ( RDFConnectionFuseki conn = (RDFConnectionFuseki)builder.build() )
{
conn.queryResultSet(query, ResultSetFormatter::out);
}
}
----------------------------------------------------------------------------------------------------------------------------
According to Jena Specs : https://jena.apache.org/documentation/rdfconnection/
"Remote Transactions:
SPARQL does not define a remote transaction standard protocol. Each remote
operation should be atomic (all happens or nothing happens) - this is the
responsibility of the remote server.
An RDFConnection will at least provide the client-side locking features. This
means that overlapping operations that change data are naturally handled by the
transaction pattern within a single JVM."
Does this mean that putting my TDB remotely behind a Fuseki server, I cannot
have Transactions support ??
The link above though shows Transactions API.