example titles
authorGuus Schreiber <guus.schreiber@vu.nl>
Wed, 19 Feb 2014 23:20:14 +0100
changeset 1971 61ed9c61db62
parent 1970 1e5f13b5f439
child 1972 e60ee5ac1baa
example titles
--- a/rdf-primer/index.html	Wed Feb 19 23:12:07 2014 +0100
+++ b/rdf-primer/index.html	Wed Feb 19 23:20:14 2014 +0100
@@ -259,7 +259,7 @@
     <p>Here are examples of RDF triples (informally expressed in pseudocode):</p> 
-    <pre class="example" title="Example triples (informal)" id="example1">
+    <pre class="example" title="Sample triples (informal)" id="example1">
       &lt;Bob&gt; &lt;is a&gt; &lt;person&gt;.
       &lt;Bob&gt; &lt;is a friend of&gt; &lt;Alice&gt;.
       &lt;Bob&gt; &lt;is born on&gt; &lt;the 4th of July 1990&gt;. 
@@ -591,7 +591,7 @@
 <p>With the help of RDF Schema one can build a model of RDF data. A
 simple informal example:</p>
-  <pre class="example" title="RDF Schema example" id="rdfs-example">
+  <pre class="example" title="RDF Schema triples" id="rdfs-example">
   &lt;Person&gt; &lt;<strong>type</strong>&gt; &lt;Class&gt;
   &lt;is a friend of&gt; &lt;<strong>type</strong>&gt; &lt;Property&gt;
   &lt;is a friend of&gt; &lt;<strong>domain</strong>&gt; &lt;Person&gt;
@@ -687,7 +687,7 @@
 href="#fig1">Fig.&nbsp;1</a> can be represented in N-Triples in the
 following way:</p> 
-<pre class="example" title="N-Triples example" id="n-triples-example">
+<pre class="example" title="N-Triples" id="n-triples-example">
 <span class="linenum">01</span>    &lt;http://example.org/bob#me&gt; &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&gt; &lt;http://xmlns.com/foaf/0.1/Person&gt; .
 <span class="linenum">02</span>    &lt;http://example.org/bob#me&gt; &lt;http://xmlns.com/foaf/0.1/knows&gt; &lt;http://example.org/alice#me&gt; .
 <span class="linenum">03</span>    &lt;http://example.org/bob#me&gt; &lt;http://schema.org/birthDate&gt; "1990-07-04"^^&lt;http://www.w3.org/2001/XMLSchema#date&gt; .
@@ -747,7 +747,7 @@
 <a href="#fig4">Fig.&nbsp;4</a> can be
 represented in Turtle as follows:</p>
-<pre class="example" title="Turtle example" id="turtle-example">
+<pre class="example" title="Turtle" id="turtle-example">
 <span class="linenum">01</span>    BASE   &lt;http://example.org/&gt;
 <span class="linenum">02</span>    PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
 <span class="linenum">03</span>    PREFIX xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt;
@@ -800,7 +800,7 @@
 <p>Below is syntactic variants for writing down blank nodes, using the
 earlier cypress tree example:</p>  
-<pre class="example" title="Blank node example">
+<pre class="example" title="Blank node">
   PREFIX lio: &lt;http://purl.org/net/lio#&gt; 
   &lt;http://dbpedia.org/resource/Mona_Lisa&gt; lio:shows _:x .
@@ -816,7 +816,7 @@
 <p>Turtle also has an alternative notation for blank nodes, which
 does not require the use of the syntax like <code>_:x</code>: </p> 
-<pre class="example" title="Blank node example (alternative notation)">
+<pre class="example" title="Blank nodes (alternative notation)">
     @prefix foaf: <http://xmlns.com/foaf/0.1/> .
    # Some resource (blank node) is interested in some other resource
@@ -851,7 +851,7 @@
 <p>The <a href="#section-multiple-graphs">multiple-graphs version of our example</a>
 can be specified in TriG as follows:</p>
-<pre class="example" title="TriG example" id="trig-example">
+<pre class="example" title="TriG" id="trig-example">
 <span class="linenum">01</span>    BASE   &lt;http://example.org/&gt; 
 <span class="linenum">02</span>    PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt; 
 <span class="linenum">03</span>    PREFIX xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt; 
@@ -915,7 +915,7 @@
 the graph IRI of the triple described on that line.  Here is the
 N-Quads version of the TriG example above:</p>
-<pre class="example" id="n-quads-example">
+<pre class="example" title="N-Quads" id="n-quads-example">
 <span class="linenum">01</span>    &lt;http://example.org/bob#me&gt; &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&gt; &lt;http://xmlns.com/foaf/0.1/Person&gt; &lt;http://example.org/bob&gt; .
 <span class="linenum">02</span>    &lt;http://example.org/bob#me&gt; &lt;http://xmlns.com/foaf/0.1/knows&gt; &lt;http://example.org/alice#me&gt; &lt;http://example.org/bob&gt; .
 <span class="linenum">03</span>    &lt;http://example.org/bob#me&gt; &lt;http://schema.org/birthDate&gt; "1990-07-04"^^&lt;http://www.w3.org/2001/XMLSchema#date&gt; &lt;http://example.org/bob&gt; .
@@ -957,7 +957,7 @@
       <p>The following JSON-LD example encodes the graph of <a
-      <pre class="example" title="JSON-LD example">
+      <pre class="example" title="JSON-LD">
 <span class="linenum">01</span>    {
 <span class="linenum">02</span>      "@context": "example-context.json",
 <span class="linenum">03</span>      "uri": "bob#me",
@@ -1010,7 +1010,7 @@
 <p>The HTML example below encodes the
 RDF graph depicted in <a href="#fig4">Fig.&nbsp;4</a>:</p>
-<pre class="example" title="RDFa example" id="rdfa-example">
+<pre class="example" title="RDFa" id="rdfa-example">
 <span class="linenum">01</span>  &lt;body prefix="foaf: http://xmlns.com/foaf/0.1/
 <span class="linenum">02</span>                   schema: http://schema.org/
 <span class="linenum">03</span>                   dcterms: http://purl.org/dc/terms/"&gt;
@@ -1093,7 +1093,7 @@
 <p>The RDF/XML example below encodes the 
 RDF graph depicted in <a href="#fig4">Fig.&nbsp;4</a>:</p>
-<pre class="example" title="RDF/XML example" id="rdf-xml-example">
+<pre class="example" title="RDF/XML" id="rdf-xml-example">
 <span class="linenum">01</span>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
 <span class="linenum">02</span>    &lt;rdf:RDF
 <span class="linenum">03</span>             xmlns:dcterms="http://purl.org/dc/terms/"
@@ -1296,7 +1296,7 @@
     Vinci. With the help of <code>owl:sameAs</code> we can record this
-    <pre class="example" title="Example link between datasets">
+    <pre class="example" title="Link between datasets">
         owl:sameAs &lt;http://viaf.org/viaf/24604287/&gt; .
@@ -1486,7 +1486,7 @@
 and referred to by its IRI. The following is the context used in the example
 in the <a href="#section-json-ld">JSON-LD section</a> above.</p>
-<pre class="example">
+<pre class="example" title="JSON-LD context">
 <span class="linenum">01</span>    {
 <span class="linenum">02</span>      "@context": {
 <span class="linenum">03</span>        "foaf": "http://xmlns.com/foaf/0.1/",