You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2016/12/23 17:53:52 UTC
svn commit: r1775864 -
/jena/site/trunk/content/documentation/notes/rdfconnection.md
Author: andy
Date: Fri Dec 23 17:53:52 2016
New Revision: 1775864
URL: http://svn.apache.org/viewvc?rev=1775864&view=rev
Log:
Format fixes for rdfconnection.md
Modified:
jena/site/trunk/content/documentation/notes/rdfconnection.md
Modified: jena/site/trunk/content/documentation/notes/rdfconnection.md
URL: http://svn.apache.org/viewvc/jena/site/trunk/content/documentation/notes/rdfconnection.md?rev=1775864&r1=1775863&r2=1775864&view=diff
==============================================================================
--- jena/site/trunk/content/documentation/notes/rdfconnection.md (original)
+++ jena/site/trunk/content/documentation/notes/rdfconnection.md Fri Dec 23 17:53:52 2016
@@ -113,6 +113,7 @@ The operations are to fetch a graph, set
add more RDF data into a graph, and delete a graph from a dataset.
For example: load two files:
+
try ( RDFConnection conn = RDFConnectionFactory.connect(...) ) {
conn.load("data1.ttl") ;
conn.load("data2.nt") ;
@@ -121,8 +122,9 @@ For example: load two files:
The file extension is used to determine the syntax.
There is also a set of scripts to help do these operations from the command
-line with <a href="http://jena.apache.org/documentation/fuseki2/soh.html"
->SOH</a>. It is possible to write curl scripts as well. The SPARQL Graph
+line with
+<a href="http://jena.apache.org/documentation/fuseki2/soh.html">SOH</a>.
+It is possible to write curl scripts as well. The SPARQL Graph
Store Protocol provides a standardised way to manage the data in a dataset.
In addition, `RDFConnection` provides an extension to give the same style
@@ -146,7 +148,9 @@ This provides a form of checking for lar
* None – the models and datasets are passed back with no additional wrappers
and they can be updated with the changes being made the underlying dataset.
-The default for a local `RDFConnection` is "none".
+The default for a local `RDFConnection` is "none". When used with TDB,
+accessing returned models must be done with <a href="../txn">transactions</a>
+in this mode.
## Query Usage