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 2014/11/26 10:50:17 UTC

svn commit: r930548 - in /websites/staging/jena/trunk/content: ./ tutorials/sparql_datasets.html

Author: buildbot
Date: Wed Nov 26 09:50:17 2014
New Revision: 930548

Log:
Staging update by buildbot for jena

Modified:
    websites/staging/jena/trunk/content/   (props changed)
    websites/staging/jena/trunk/content/tutorials/sparql_datasets.html

Propchange: websites/staging/jena/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Nov 26 09:50:17 2014
@@ -1 +1 @@
-1640699
+1641782

Modified: websites/staging/jena/trunk/content/tutorials/sparql_datasets.html
==============================================================================
--- websites/staging/jena/trunk/content/tutorials/sparql_datasets.html (original)
+++ websites/staging/jena/trunk/content/tutorials/sparql_datasets.html Wed Nov 26 09:50:17 2014
@@ -150,13 +150,14 @@
 is queried by a SPARQL query. It consists of a default graph, and a
 number of named graphs.</p>
 <h2 id="querying-datasets">Querying datasets</h2>
-<p class=".. pattern ... ">The graph matching operation
+<p>The graph matching operation
 (<a href="sparql_basic_patterns.html">basic patterns</a>,
 <a href="sparql_optionals.html"><code>OPTIONAL</code>s</a>, and <a href="sparql_union.html"><code>UNION</code>s</a>) work on
 one RDF graph.  This starts out being the default graph of the
-dataset but it can be changed by the <code>GRAPH</code> keyword.
-    GRAPH uri</p>
-<div class="codehilite"><pre><span class="n">GRAPH</span> <span class="n">var</span> <span class="p">{</span> <span class="p">...</span> <span class="n">pattern</span> <span class="p">...</span> <span class="p">}</span>
+dataset but it can be changed by the <code>GRAPH</code> keyword.</p>
+<div class="codehilite"><pre><span class="n">GRAPH</span> <span class="n">uri</span> <span class="p">{</span> <span class="p">...</span> <span class="n">pattern</span> <span class="p">...</span> <span class="p">}</span>
+
+<span class="n">GRAPH</span> <span class="n">var</span> <span class="p">{</span> <span class="p">...</span> <span class="n">pattern</span> <span class="p">...</span> <span class="p">}</span>
 </pre></div>
 
 
@@ -170,7 +171,7 @@ the specific named graph is tried.</p>
 <h3 id="example-data">Example Data</h3>
 <p>An RDF dataset can take a variety of forms.  Two common setups are
 to have the default graph being the union (the RDF merge) of all
-the named graphs and to have the default graph be an inventory of
+the named graphs or to have the default graph be an inventory of
 the named graphs (where they came from, when they were read etc). 
 There are no limitations - one graph can be included twice under
 different names, or some graphs may share triples with others.</p>
@@ -203,7 +204,7 @@ occur for an RDF aggregator of book deta
 
 <p>That is, we have two small graphs describing some books, and we
 have a default graph which records when these graphs were last
-read</p>
+read.</p>
 <p>Queries can be run with the command line application (this would be
 all one line):</p>
 <div class="codehilite"><pre><span class="n">java</span> <span class="o">-</span><span class="n">cp</span> <span class="p">...</span> <span class="n">arq</span><span class="p">.</span><span class="n">sparql</span>
@@ -329,7 +330,7 @@ object is built or it can be described i
 the details are on the command line, a temporary dataset is created
 but an application can create datasets and then use them in many
 queries.</p>
-<p>When described in the query, <code>FROM &lt;i&gt;url&lt;/i&gt;</code> is used to identify
+<p>When described in the query, <code>FROM &lt;</code><em><code>url</code></em><code>&gt;</code> is used to identify
 the contents to be in the default graph. There can be more than one
 <code>FROM</code> clause and the default graph is result of reading each file
 into the default graph. It is the RDF merge of the individual
@@ -339,7 +340,7 @@ or more URLs in <code>FROM</code> clause
 from, not the name of the graph. As several FROM clauses can be
 given, the data can be read in from several places but none of them
 become the graph name.</p>
-<p><code>FROM NAMED &lt;i&gt;url&lt;/i&gt;</code> is used to identify a named graph. The
+<p><code>FROM NAMED &lt;</code><em><code>url</code></em><code>&gt;</code> is used to identify a named graph. The
 graph is given the name <em>url</em> and the data is read from that
 location. Multiple <code>FROM NAMED</code> clauses cause multiple graphs to be
 added to the dataset.</p>