You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by bu...@apache.org on 2015/12/07 16:51:22 UTC

svn commit: r974857 - in /websites/staging/jena/trunk/content: ./ documentation/rdf/datasets.html

Author: buildbot
Date: Mon Dec  7 15:51:22 2015
New Revision: 974857

Log:
Staging update by buildbot for jena

Modified:
    websites/staging/jena/trunk/content/   (props changed)
    websites/staging/jena/trunk/content/documentation/rdf/datasets.html

Propchange: websites/staging/jena/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Dec  7 15:51:22 2015
@@ -1 +1 @@
-1718404
+1718411

Modified: websites/staging/jena/trunk/content/documentation/rdf/datasets.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/rdf/datasets.html (original)
+++ websites/staging/jena/trunk/content/documentation/rdf/datasets.html Mon Dec  7 15:51:22 2015
@@ -155,12 +155,14 @@
   visibility: hidden;
 }
 h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
-<p>The in-memory, transactional dataset provides a dataset with full ACID transaction semanticms, including abort. It provides for multiple readers and a writer concurrently
-together with full snapshot isolation of the dataset.  Readers see an unchanging,
-consistent dataset where aggregate operations return stable results.</p>
+<p>The in-memory, transactional dataset provides a dataset with full ACID
+transactext-modetion semanticms, including abort. It provides for multiple
+readers and a writer concurrently together with full snapshot isolation of
+the dataset.  Readers see an unchanging, consistent dataset where aggregate
+operations return stable results.</p>
 <p>First introduced in Jena version 3.0.1 as a beta, then in 3.1.0.</p>
-<p>During the beta phase, please log any issues with [Apache Jena JIRA|https://issues.apache.org/jira/issues/?jql=project%20%3D%20JENA%20ORDER%20BY%20key%20DESC%2C%20priority%20DESC].</p>
-<h2 id="api">API<a class="headerlink" href="#api" title="Permanent link">&para;</a></h2>
+<p>During the beta phase, please log any issues with [Apache Jena JIRA](https://issues.apache.org/jira/issues/?jql=project%20%3D%20JENA%20ORDER%20BY%20key%20DESC%2C%20priority%20DESC0.</p>
+<h3 id="api-use">API use<a class="headerlink" href="#api-use" title="Permanent link">&para;</a></h3>
 <p>A new instance of the class is obtained by a call to <code>DatasetFactory.createTxnMem()</code>:</p>
 <div class="codehilite"><pre><span class="n">Dataset</span> <span class="n">ds</span> <span class="p">=</span> <span class="n">DatasetFactory</span><span class="p">.</span><span class="n">createTxnMem</span><span class="p">()</span> <span class="p">;</span>
 </pre></div>
@@ -187,23 +189,25 @@ consistent dataset where aggregate opera
 </pre></div>
 
 
-<p>If the application does not call <code>commit()</code>, the transaction aborts and the changes are lost. The same happens if the application throws an exception.</p>
-<h2 id="non-transactional-use">Non-transactional use.<a class="headerlink" href="#non-transactional-use" title="Permanent link">&para;</a></h2>
-<p>If used outside of a transaction, the implementation proiveds auto-commit functionality. Each triple or added or deleted is done inside an implicit transaction. This can lead to
-measurable slow down. It is better to do a group of operations inside a single transaction
-explicitly in the application code.</p>
-<h2 id="assembler">Assembler<a class="headerlink" href="#assembler" title="Permanent link">&para;</a></h2>
-<p>The assembler provies for the creation of a dataset and also loading it with data read from URLs (files or from any other URL).</p>
+<p>If the application does not call <code>commit()</code>, the transaction aborts and the
+changes are lost. The same happens if the application throws an exception.</p>
+<h3 id="non-transactional-use">Non-transactional use.<a class="headerlink" href="#non-transactional-use" title="Permanent link">&para;</a></h3>
+<p>If used outside of a transaction, the implementation proiveds auto-commit
+functionality. Each triple or added or deleted is done inside an implicit
+transaction. This can lead to measurable slow down. It is better to do
+related operations inside a single transaction explicitly in the
+application code.</p>
+<h3 id="assembler-use">Assembler Use<a class="headerlink" href="#assembler-use" title="Permanent link">&para;</a></h3>
+<p>The assembler provies for the creation of a dataset and also loading it
+with data read from URLs (files or from any other URL).</p>
 <ul>
-<li>
-<p>Type: <code>ja:MemoryDataset</code></p>
-</li>
-<li>
-<p>Properties:</p>
-</li>
+<li>Type: <code>ja:MemoryDataset</code></li>
+<li>Properties:<ul>
 <li><code>ja:data</code> <i><code>urlForData</code></i></li>
-<li><code>ja:pNamedGraph</code>, for loading a specific graph of the dataset.
-     This uses <code>ja:graphName</code> to specific the name and <code>ja:data</code> to load data.</li>
+<li><code>ja:namedGraph</code>, for loading a specific graph of the dataset.
+    This uses <code>ja:graphName</code> to specific the name and <code>ja:data</code> to load data.</li>
+</ul>
+</li>
 </ul>
 <p>The examples use the following prefixes:</p>
 <div class="codehilite"><pre><span class="p">@</span><span class="n">prefix</span> <span class="n">ja</span><span class="p">:</span>     <span class="o">&lt;</span><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">jena</span><span class="p">.</span><span class="n">hpl</span><span class="p">.</span><span class="n">hp</span><span class="p">.</span><span class="n">com</span><span class="o">/</span>2005<span class="o">/</span>11<span class="o">/</span><span class="n">Assembler</span>#<span class="o">&gt;</span> <span class="p">.</span>
@@ -216,7 +220,7 @@ explicitly in the application code.</p>
 </pre></div>
 
 
-<p>With triples for the default graph, from file "dataFile.ttl", Turtle format.</p>
+<p>With triples for the default graph, from file <code>dataFile.ttl</code>, Turtle format.</p>
 <div class="codehilite"><pre><span class="p">[]</span> <span class="n">rdf</span><span class="p">:</span><span class="n">type</span> <span class="n">ja</span><span class="p">:</span><span class="n">MemoryDataset</span> <span class="p">;</span>
     <span class="n">ja</span><span class="p">:</span><span class="n">data</span> <span class="o">&lt;</span><span class="n">file</span><span class="p">:</span><span class="n">dataFile</span><span class="p">.</span><span class="n">ttl</span><span class="o">&gt;</span> <span class="p">.</span>
 </pre></div>