added an example with SPARQL 1.1 service description voc
authorAZ
Mon, 28 Jan 2013 10:33:27 +0100
changeset 591 4aaffc81773f
parent 590 93b224780b7f
child 592 5719c55e71be
added an example with SPARQL 1.1 service description voc
rdf-dataset/index.html
--- a/rdf-dataset/index.html	Mon Jan 28 09:48:16 2013 +0100
+++ b/rdf-dataset/index.html	Mon Jan 28 10:33:27 2013 +0100
@@ -44,7 +44,7 @@
 
           // if there a publicly available Editor's Draft, this is the link
 //
-          edDraftURI:           "http://dvcs.w3.org/hg/rdf/raw-file/default/rdf-datasets/index.html",
+          edDraftURI:           "http://dvcs.w3.org/hg/rdf/raw-file/default/rdf-dataset/index.html",
 
           // if this is a LCWD, uncomment and set the end of its review period
           // lcEnd: "2009-08-05",
@@ -128,7 +128,7 @@
 	<ul>
 		<li>what the named graph IRIs denote;</li>
 		<li>how the triples in the named graph influence the meaning of the dataset.</li>
-	<ul>
+	</ul>
 	
 	<p>Possible choices for the denotation of graph IRIs are:</p>
 	<ul>
@@ -213,13 +213,13 @@
 
 		<h4 class="ex">Examples of entailement and non-entailments</h4>
 		<p>Consider the following dataset:</p>
-		<pre>{ :s :p :o . }
+		<pre class="example">{ :s :p :o . }
 :g1 { :a :b :c }</pre>
 		<p>does not entail:</p>
-		<pre>{ :s :p :o .
+		<pre class="example">{ :s :p :o .
 :a :b :c .}</pre>
 		<p>but entails:</p>
-		<pre>{}  # empty default graph
+		<pre class="example">{}  # empty default graph
 :g2 { :x :y :z }</pre>
 	</section>
 
@@ -314,8 +314,16 @@
 
 	<h3>Using vocabularies</h3>
 	<p>A dataset can be described in RDF using vocabularies like voiD [[VOID]] and the SPARQL service description vocabulary. VoiD is used to describe how a collection of RDF triples is organized in a web site or across web sites, giving information about the size of the datasets, the location of the dump files, the IRI of the query endpoints, and so on. The notion of dataset in voiD is used as a more informal and broader concept than RDF dataset. However, an RDF dataset and the graphs in it can be describe as voiD datasets and the information can be completed with SPARQL service description</p>
-	<p></p>
-	
+	<pre class="example"><script type="text/turtle">@prefix er: <http://www.w3.org/ns/entailment> .
+@prefix sd: <http://www.w3.org/ns/sparql-service-description#> .
+
+[]
+    a sd:Dataset ;
+    sd:defaultEntailmentRegime er:RDF;
+	sd:namedGraph [
+		sd:name "http://example.com/ng1";
+		sd:entailmentRegime er:RDFS
+	] .</pre>
 	
 </section>
 
@@ -326,7 +334,7 @@
 <section class="appendix informative" id="changes">
   <h2>Changes</h2>
   <ul>
-    <li>2013-01-24:  A first version published as an editor's draft.</li>
+    <li>2013-01-28:  Initial editor's draft.</li>
   </ul>
 </section>