comments Markus
authorGuus Schreiber <guus.schreiber@vu.nl>
Wed, 19 Feb 2014 23:12:07 +0100
changeset 1970 1e5f13b5f439
parent 1969 f5ce1e472b4e
child 1971 61ed9c61db62
comments Markus
rdf-primer/index.html
--- a/rdf-primer/index.html	Wed Feb 19 17:58:04 2014 +0100
+++ b/rdf-primer/index.html	Wed Feb 19 23:12:07 2014 +0100
@@ -110,6 +110,7 @@
       figure { text-align: center; }
       img.graph { width: 60%; }
       table td, table th { border: 1px solid #ddd; padding: 0.2em 0.5em; }
+      .linenum {color: grey}
     </style>
   </head>
 
@@ -256,9 +257,9 @@
     three elements they are called <strong>triples</strong>.
     </p>
     
-    <p>Here are examples of RDF triples:</p> 
+    <p>Here are examples of RDF triples (informally expressed in pseudocode):</p> 
 
-    <pre class="example" id="example-1">
+    <pre class="example" title="Example 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;. 
@@ -266,10 +267,6 @@
       &lt;the Mona Lisa&gt; &lt;was created by&gt; &lt;Leonardo da Vinci&gt;.
       &lt;the video 'La Joconde à Washington'&gt; &lt;is about&gt; &lt;the Mona Lisa&gt;
     </pre>
-
-    <p class="note">The example above does not constitute actual RDF
-    syntax; it is just intended to provide an informal
-    view of the notion of RDF triples. </p>
     
     <p>The same resource is often referenced in multiple triples. In the example above, 
     Bob is the subject of four triples, and the Mona Lisa is the subject of 
@@ -328,12 +325,7 @@
 
     <p>As mentioned, IRIs are used to identify resources such as documents,
     people, physical objects, and abstract concepts.  
-    For example, the IRI for the "Mona Lisa" painting in
-    <a href="http://www.wikidata.org/">Wikidata</a> is:</p>
-
-      <div class="example"><a href="http://www.wikidata.org/entity/Q12418">http://www.wikidata.org/entity/Q12418</a></div>
-
-      <p>The IRI for Leonardo da Vinci in <a
+    For example, the IRI for Leonardo da Vinci in <a
       href="http://dbpedia.org">DBpedia</a> is:</p>
 
       <div class="example"><a href="http://dbpedia.org/resource/Leonardo_da_Vinci">http://dbpedia.org/resource/Leonardo_da_Vinci</a></div>
@@ -373,7 +365,8 @@
       tag</i>. For example, "Léonard de Vinci" could 
       be associated with the "fr" language tag and "李奥纳多·达·文西"
       with the "zh" language tag.</p> 
-      
+
+     <!--
      <p class="note">The 2004 version of RDF contained the notion of a
      "plain literal" with no datatype. This feature has been removed, as the
      distinction between "plain" literals and literals with datatype
@@ -383,7 +376,8 @@
      datatype. The special datatype
      <code>rdf:langString</code> is assigned to language-tagged
      literals.</p> 
-
+     -->
+    
      <p>Literals may only appear in the <strong>object position</strong> of a triple.</p>
 
      <p>The RDF Concepts document provides a (non-exhaustive)
@@ -399,7 +393,7 @@
 
       <p>IRIs and literals together provide the basic material for
       writing down RDF statements. In addition, it is sometimes handy
-      to be able to talk about resources without bothering to use an
+      to be able to talk about resources without bothering to use a global
       identifier.  For example, we might want to state that the Mona
       Lisa painting has in its background an unidentified tree which
       we know to be a cypress tree. Resources without identifiers such as the 
@@ -415,8 +409,6 @@
       to denote resources without explicitly naming them with an
       IRI.</p>
 
-      <p class="issue">Fine-tune diagram</p>
-
     <figure id="fig2">
       <img class="graph" src="example-blank-node.jpg" 
                 alt="Blank node example: cypress tree">
@@ -432,7 +424,7 @@
       <h3>Multiple graphs</h3>
 
       <p>RDF provides a mechanism to group RDF statements in multiple
-      graphs and associate each graph with an IRI . Multiple graphs are a recent extension of the RDF
+      graphs and associate graphs with an IRI . Multiple graphs are a recent extension of the RDF
       data model. In practice, RDF tool builders and data managers
       needed a mechanism to talk about subsets of a collection of
       triples. Multiple graphs were first introduced in the RDF query
@@ -446,12 +438,12 @@
       at most one unnamed ("default") graph. </p><p> 
 
       <p>For example, the
-      statements in the <a href="#section-triple">first example</a>
+      statements in the <a href="#example1">Example&nbsp;1</a>
       could be grouped in two named
       graphs. A first graph could be provided by a social networking
       site and identified by <code>http://example.org/bob</code>:</p> 
 
-      <pre class="example">
+      <pre class="example" title="First graph in the sample dataset">
         &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;.
@@ -466,7 +458,7 @@
       and identified by
       <code>https://www.wikidata.org/wiki/Special:EntityData/Q12418</code>:</p> 
 
-      <pre class="example">
+      <pre class="example" title="Second graph in the sample dataset">
         &lt;Leonardo da Vinci&gt; &lt;is the creator of&gt; &lt;the Mona Lisa&gt;.
         &lt;The video 'La Joconde à Washington'&gt; &lt;is about&gt; &lt;the Mona Lisa&gt;
       </pre>
@@ -476,7 +468,7 @@
       as subject. The triples associate publisher and license information with
       this graph IRI: </p>
 
-      <pre class="example">
+      <pre class="example" title="Unnamed graph in the sample dataset">
         &lt;http://example.org/bob&gt; &lt;is published by&gt; &lt;http://example.org&gt;.
         &lt;http://example.org/bob&gt; &lt;has license&gt; &lt;http://creativecommons.org/licenses/by/3.0/&gt;.
       </pre>
@@ -599,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" id="rdfs-example">
+  <pre class="example" title="RDF Schema example" 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;
@@ -609,7 +601,7 @@
 
 <p>Note that, while <code>&lt;is a friend of&gt;</code> is a 
 property typically used as the predicate of a triple (as it was in 
-<a href="#example-1">Example 1</a>), properties like this are themselves resources that can be 
+<a href="#example1">Example&nbsp;1</a>), properties like this are themselves resources that can be 
 described by triples or provide values in the descriptions of other 
 resources. In this example, <code>&lt;is a friend of&gt;</code> is the subject of triples 
 that assign type, domain, and range values to it, and it's the object of 
@@ -632,7 +624,7 @@
   providers. The idea is that webmasters can use these terms to mark-up
   Web pages, so that search engines understand what the pages are
   about.</dd>
-
+  
   <dt><a href="http://www.w3.org/2004/02/skos/">SKOS</a></dt>
   <dd>SKOS is a vocabulary for publishing classification schemes
   such as terminologies and thesauri on the Web. SKOS is since 2009 a W3C
@@ -642,9 +634,9 @@
   vocabulary</a>.</dd> 
 </dl>
 
-<p>Vocabularies get their value from reuse: the more vocabulary ITIs
+<p>Vocabularies get their value from reuse: the more vocabulary IRIs
 are reused by others, the more valuable it becomes to use the
-IRIs (the so-called netwrok effect). This means you should prefer
+IRIs (the so-called network effect). This means you should prefer
 re-using someone else's IRI instead of inventing a new one. </p>
 
 <p>For a formal specification of the semantics of the RDF Schema
@@ -664,7 +656,7 @@
     graphs. However, different ways of writing down the same graph lead
     to exactly the same triples, and are thus logically equivalent. </p>
 
-    <p>In this section we briefly introduce, through an annotated example, the following syntaxes:
+    <p>In this section we briefly introduce, through annotated examples, the following syntaxes:
 <ul>
   <li>Turtle family of RDF languages
     (<a href="#section-n-triples">N-Triples</a>,
@@ -691,25 +683,23 @@
 <h4>N-Triples</h4>
 
 <p>N-Triples [[N-TRIPLES]]  provides a simple line-based, plain-text way for serializing RDF
-graphs. Each line represents an RDF triple. The informal graph in <a
+graphs. The informal graph in <a
 href="#fig1">Fig.&nbsp;1</a> can be represented in N-Triples in the
 following way:</p> 
 
-<pre class="example" id="n-triples-example">
-01    &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; .
-02    &lt;http://example.org/bob#me&gt; &lt;http://xmlns.com/foaf/0.1/knows&gt; &lt;http://example.org/alice#me&gt; .
-03    &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; .
-04    &lt;http://example.org/bob#me&gt; &lt;http://xmlns.com/foaf/0.1/topic_interest&gt; &lt;http://www.wikidata.org/entity/Q12418&gt; .
-05    &lt;http://www.wikidata.org/entity/Q12418&gt; &lt;http://purl.org/dc/terms/title&gt; "Mona Lisa" .
-06    &lt;http://www.wikidata.org/entity/Q12418&gt; &lt;http://purl.org/dc/terms/creator&gt; &lt;http://dbpedia.org/resource/Leonardo_da_Vinci&gt; .
-07    &lt;http://data.europeana.eu/item/04802/243FA8618938F4117025F17A8B813C5F9AA4D619&gt; &lt;http://purl.org/dc/terms/subject&gt; &lt;http://www.wikidata.org/entity/Q12418&gt; .
+<pre class="example" title="N-Triples example" 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; .
+<span class="linenum">04</span>    &lt;http://example.org/bob#me&gt; &lt;http://xmlns.com/foaf/0.1/topic_interest&gt; &lt;http://www.wikidata.org/entity/Q12418&gt; .
+<span class="linenum">05</span>    &lt;http://www.wikidata.org/entity/Q12418&gt; &lt;http://purl.org/dc/terms/title&gt; "Mona Lisa" .
+<span class="linenum">06</span>    &lt;http://www.wikidata.org/entity/Q12418&gt; &lt;http://purl.org/dc/terms/creator&gt; &lt;http://dbpedia.org/resource/Leonardo_da_Vinci&gt; .
+<span class="linenum">07</span>    &lt;http://data.europeana.eu/item/04802/243FA8618938F4117025F17A8B813C5F9AA4D619&gt; &lt;http://purl.org/dc/terms/subject&gt; &lt;http://www.wikidata.org/entity/Q12418&gt; .
 </pre>
 
-<p>In N-Triples each line represents a triple. Full IRIs are enclosed in angle brackets
+<p>Each line represents a triple. Full IRIs are enclosed in angle brackets
 (<code>&lt;&gt;</code>). The period at the end of the line signals the
-end of the triple.</p>
-
-<p>In line 3 we see an example of a literal, in this case a date. The
+end of the triple. In line 3 we see an example of a literal, in this case a date. The
 datatype is appended to the literal through a <code>^^</code> delimiter. The date
 representation follows the conventions of the XML Schema datatype
 <a href="http://www.w3.org/TR/xmlschema11-2/#date">date</a>.</p>
@@ -750,33 +740,33 @@
 
 <p>Turtle [[TURTLE]] is an <strong>extension of N-Triples</strong>.
 In addition to the basic N-Triples syntax, Turtle
-introduces a number of syntax shortcuts, such as
-support for namespaces, lists and shorthands for datatyped 
+introduces a number of syntactic shortcuts, such as
+support for namespace prefixes, lists and shorthands for datatyped 
 literals. Turtle provides a trade-off between ease of
 writing, ease of parsing and readability. The graph shown in
 <a href="#fig4">Fig.&nbsp;4</a> can be
 represented in Turtle as follows:</p>
 
-      <pre class="example" id="turtle-example">
-01    BASE   &lt;http://example.org/&gt;
-02    PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
-03    PREFIX xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt;
-04    PREFIX schema: &lt;http://schema.org/&gt;
-05    PREFIX dcterms: &lt;http://purl.org/dc/terms/&gt;
-06    PREFIX wd: &lt;http://www.wikidata.org/entity/&gt;
-07 
-08    &lt;bob#me&gt;
-09        a foaf:Person ;
-10        foaf:knows &lt;alice#me&gt; ;
-11        schema:birthDate "1990-07-04"^^xsd:date ;
-12        foaf:topic_interest wd:Q12418 .
-13
-14    wd:Q12418
-15        dcterms:title "Mona Lisa" ;
-16        dcterms:creator &lt;http://dbpedia.org/resource/Leonardo_da_Vinci&gt; .
-17
-18    &lt;http://data.europeana.eu/item/04802/243FA8618938F4117025F17A8B813C5F9AA4D619&gt;
-19        dcterms:subject wd:Q12418 .
+<pre class="example" title="Turtle example" 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;
+<span class="linenum">04</span>    PREFIX schema: &lt;http://schema.org/&gt;
+<span class="linenum">05</span>    PREFIX dcterms: &lt;http://purl.org/dc/terms/&gt;
+<span class="linenum">06</span>    PREFIX wd: &lt;http://www.wikidata.org/entity/&gt;
+<span class="linenum">07</span> 
+<span class="linenum">08</span>    &lt;bob#me&gt;
+<span class="linenum">09</span>        a foaf:Person ;
+<span class="linenum">10</span>        foaf:knows &lt;alice#me&gt; ;
+<span class="linenum">11</span>        schema:birthDate "1990-07-04"^^xsd:date ;
+<span class="linenum">12</span>        foaf:topic_interest wd:Q12418 .
+<span class="linenum">13</span>   
+<span class="linenum">14</span>    wd:Q12418
+<span class="linenum">15</span>        dcterms:title "Mona Lisa" ;
+<span class="linenum">16</span>        dcterms:creator &lt;http://dbpedia.org/resource/Leonardo_da_Vinci&gt; .
+<span class="linenum">17</span>  
+<span class="linenum">18</span>    &lt;http://data.europeana.eu/item/04802/243FA8618938F4117025F17A8B813C5F9AA4D619&gt;
+<span class="linenum">19</span>        dcterms:subject wd:Q12418 .
 </pre>
 
 <p>The Turtle example is logically equivalent to the <a href="#n-triples-example">N-Triples</a>
@@ -807,10 +797,10 @@
 
 <h5>Representation of blank nodes</h5>
 
-<p>Below is sample Turtle syntax for blank nodes, using the
+<p>Below is syntactic variants for writing down blank nodes, using the
 earlier cypress tree example:</p>  
 
-<pre class="example">
+<pre class="example" title="Blank node example">
   PREFIX lio: &lt;http://purl.org/net/lio#&gt; 
 
   &lt;http://dbpedia.org/resource/Mona_Lisa&gt; lio:shows _:x .
@@ -823,8 +813,25 @@
 <code>Cypress</code> class. The example above provides concrete syntax
 for the informal graph in <a href="#fig2">Fig.&nbsp;2</a>.</p>
 
-<p>This section gives by no means a full account of the Turtle syntax. For
-more details about the syntax of Turtle please consult the Turtle specification [[TURTLE]].</p>
+<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)">
+    @prefix foaf: <http://xmlns.com/foaf/0.1/> .
+
+   # Some resource (blank node) is interested in some other resource
+   # entitled "Mona Lisa" and created by Leonardo da Vinci.
+
+   [] foaf:topic_interest [
+          dcterms:title "Mona Lisa" ;
+          dcterms:creator &lt;http://dbpedia.org/resource/Leonardo_da_Vinci&gt; ] .
+</pre>
+
+<p>Square brackets represent a blank node. Predicate-object pairs within
+the square brackets are interpreted as triples with the blank node as
+subject.
+
+<p>For more details about the syntax of Turtle please consult the Turtle specification [[TURTLE]].</p>
 
 </section>
 
@@ -844,36 +851,36 @@
 <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" id="trig-example">
-01    BASE   &lt;http://example.org/&gt; 
-02    PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt; 
-03    PREFIX xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt; 
-04    PREFIX schema: &lt;http://schema.org/&gt; 
-05    PREFIX dcterms: &lt;http://purl.org/dc/terms/&gt; 
-06    PREFIX wd: &lt;http://www.wikidata.org/entity/&gt; 
-07    
-08    GRAPH &lt;http://example.org/bob&gt;
-09      {
-10        &lt;bob#me&gt;
-11            a foaf:Person ;
-12            foaf:knows &lt;alice#me&gt; ;
-13            schema:birthDate "1990-07-04"^^xsd:date ;
-14            foaf:topic_interest wd:Q12418 .
-15      }
-16
-17    GRAPH &lt;https://www.wikidata.org/wiki/Special:EntityData/Q12418&gt;
-18      {
-19        wd:Q12418
-20            dcterms:title "Mona Lisa" ;
-21            dcterms:creator &lt;http://dbpedia.org/resource/Leonardo_da_Vinci&gt; .
-22    
-23        &lt;http://data.europeana.eu/item/04802/243FA8618938F4117025F17A8B813C5F9AA4D619&gt;
-24           dcterms:subject wd:Q12418 .
-25      }
-26
-27    &lt;http://example.org/bob&gt;
-28        dcterms:publisher &lt;http://example.org&gt; ;
-29        dcterms:rights &lt;http://creativecommons.org/licenses/by/3.0/&gt; .
+<pre class="example" title="TriG example" 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; 
+<span class="linenum">04</span>    PREFIX schema: &lt;http://schema.org/&gt; 
+<span class="linenum">05</span>    PREFIX dcterms: &lt;http://purl.org/dc/terms/&gt; 
+<span class="linenum">06</span>    PREFIX wd: &lt;http://www.wikidata.org/entity/&gt; 
+<span class="linenum">07</span>    
+<span class="linenum">08</span>    GRAPH &lt;http://example.org/bob&gt;
+<span class="linenum">09</span>      {
+<span class="linenum">10</span>        &lt;bob#me&gt;
+<span class="linenum">11</span>            a foaf:Person ;
+<span class="linenum">12</span>            foaf:knows &lt;alice#me&gt; ;
+<span class="linenum">13</span>            schema:birthDate "1990-07-04"^^xsd:date ;
+<span class="linenum">14</span>            foaf:topic_interest wd:Q12418 .
+<span class="linenum">15</span>      }
+<span class="linenum">16</span>  
+<span class="linenum">17</span>    GRAPH &lt;https://www.wikidata.org/wiki/Special:EntityData/Q12418&gt;
+<span class="linenum">18</span>      {
+<span class="linenum">19</span>        wd:Q12418
+<span class="linenum">20</span>            dcterms:title "Mona Lisa" ;
+<span class="linenum">21</span>            dcterms:creator &lt;http://dbpedia.org/resource/Leonardo_da_Vinci&gt; .
+<span class="linenum">22</span>    
+<span class="linenum">23</span>        &lt;http://data.europeana.eu/item/04802/243FA8618938F4117025F17A8B813C5F9AA4D619&gt;
+<span class="linenum">24</span>           dcterms:subject wd:Q12418 .
+<span class="linenum">25</span>      }
+<span class="linenum">26</span>  
+<span class="linenum">27</span>    &lt;http://example.org/bob&gt;
+<span class="linenum">28</span>        dcterms:publisher &lt;http://example.org&gt; ;
+<span class="linenum">29</span>        dcterms:rights &lt;http://creativecommons.org/licenses/by/3.0/&gt; .
       </pre>
 
     <p>This RDF dataset contains two named graphs. Lines 8 and 17 list
@@ -886,7 +893,7 @@
     <p>The syntax of the triples and of the directives at the top conforms to
     the Turtle syntax.</p>
 
-    <p>The two triples specified on lines 30-32 are not part of any
+    <p>The two triples specified on lines 27-29 are not part of any
     named graph. Together they form the unnamed ("default") graph of this RDF
     dataset.</p>
 
@@ -909,15 +916,15 @@
 N-Quads version of the TriG example above:</p>
 
 <pre class="example" id="n-quads-example">
-01    &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; .
-02    &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; .
-03    &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; .
-04    &lt;http://example.org/bob#me&gt; &lt;http://xmlns.com/foaf/0.1/topic_interest&gt; &lt;http://www.wikidata.org/entity/Q12418&gt; &lt;http://example.org/bob&gt; .
-05    &lt;http://www.wikidata.org/entity/Q12418&gt; &lt;http://purl.org/dc/terms/title&gt; "Mona Lisa" &lt;https://www.wikidata.org/wiki/Special:EntityData/Q12418&gt; .
-06    &lt;http://www.wikidata.org/entity/Q12418&gt; &lt;http://purl.org/dc/terms/creator&gt; &lt;http://dbpedia.org/resource/Leonardo_da_Vinci&gt; &lt;https://www.wikidata.org/wiki/Special:EntityData/Q12418&gt; .
-07    &lt;http://data.europeana.eu/item/04802/243FA8618938F4117025F17A8B813C5F9AA4D619&gt; &lt;http://purl.org/dc/terms/subject&gt; &lt;http://www.wikidata.org/entity/Q12418&gt; &lt;https://www.wikidata.org/wiki/Special:EntityData/Q12418&gt; .
-08    &lt;http://example.org/bob&gt; &lt;http://purl.org/dc/terms/publisher&gt; &lt;http://example.org&gt; .
-09    &lt;http://example.org/bob&gt; &lt;http://purl.org/dc/terms/rights&gt; &lt;http://creativecommons.org/licenses/by/3.0/&gt; .
+<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; .
+<span class="linenum">04</span>    &lt;http://example.org/bob#me&gt; &lt;http://xmlns.com/foaf/0.1/topic_interest&gt; &lt;http://www.wikidata.org/entity/Q12418&gt; &lt;http://example.org/bob&gt; .
+<span class="linenum">05</span>    &lt;http://www.wikidata.org/entity/Q12418&gt; &lt;http://purl.org/dc/terms/title&gt; "Mona Lisa" &lt;https://www.wikidata.org/wiki/Special:EntityData/Q12418&gt; .
+<span class="linenum">06</span>    &lt;http://www.wikidata.org/entity/Q12418&gt; &lt;http://purl.org/dc/terms/creator&gt; &lt;http://dbpedia.org/resource/Leonardo_da_Vinci&gt; &lt;https://www.wikidata.org/wiki/Special:EntityData/Q12418&gt; .
+<span class="linenum">07</span>    &lt;http://data.europeana.eu/item/04802/243FA8618938F4117025F17A8B813C5F9AA4D619&gt; &lt;http://purl.org/dc/terms/subject&gt; &lt;http://www.wikidata.org/entity/Q12418&gt; &lt;https://www.wikidata.org/wiki/Special:EntityData/Q12418&gt; .
+<span class="linenum">08</span>    &lt;http://example.org/bob&gt; &lt;http://purl.org/dc/terms/publisher&gt; &lt;http://example.org&gt; .
+<span class="linenum">09</span>    &lt;http://example.org/bob&gt; &lt;http://purl.org/dc/terms/rights&gt; &lt;http://creativecommons.org/licenses/by/3.0/&gt; .
 </pre>
 
 <p>The nine lines in the N-Quads example correspond to the nine 
@@ -950,24 +957,24 @@
       <p>The following JSON-LD example encodes the graph of <a
       href="#fig4">Fig.&nbsp;4</a>:</p>
 
-      <pre class="example">
-01    {
-02      "@context": "example-context.json",
-03      "uri": "bob#me",
-04      "type": "Person",
-05      "born": "1990-07-04",
-06      "friends": ["alice#me"],
-07      "interest": [
-08        {
-09          "uri": "wd:Q12418",
-10          "title": "Mona Lisa",
-11          "subject_of": "http://data.europeana.eu/item/04802/243FA8618938F4117025F17A8B813C5F9AA4D619",
-12          "creator": {
-13            "uri": "http://dbpedia.org/resource/Leonardo_da_Vinci"
-14          }
-15        }
-16      ]
-17    }
+      <pre class="example" title="JSON-LD example">
+<span class="linenum">01</span>    {
+<span class="linenum">02</span>      "@context": "example-context.json",
+<span class="linenum">03</span>      "uri": "bob#me",
+<span class="linenum">04</span>      "type": "Person",
+<span class="linenum">05</span>      "born": "1990-07-04",
+<span class="linenum">06</span>      "friends": ["alice#me"],
+<span class="linenum">07</span>      "interest": [
+<span class="linenum">08</span>        {
+<span class="linenum">09</span>          "uri": "wd:Q12418",
+<span class="linenum">10</span>          "title": "Mona Lisa",
+<span class="linenum">11</span>          "subject_of": "http://data.europeana.eu/item/04802/243FA8618938F4117025F17A8B813C5F9AA4D619",
+<span class="linenum">12</span>          "creator": {
+<span class="linenum">13</span>            "uri": "http://dbpedia.org/resource/Leonardo_da_Vinci"
+<span class="linenum">14</span>          }
+<span class="linenum">15</span>        }
+<span class="linenum">16</span>      ]
+<span class="linenum">17</span>    }
       </pre>
 
       <p>The <code>@context</code> key on line 2
@@ -1003,32 +1010,32 @@
 <p>The HTML example below encodes the
 RDF graph depicted in <a href="#fig4">Fig.&nbsp;4</a>:</p>
   
-<pre class="example" id="rdfa-example">
-01  &lt;body prefix="foaf: http://xmlns.com/foaf/0.1/
-02                   schema: http://schema.org/
-03                   dcterms: http://purl.org/dc/terms/"&gt;
-04    &lt;div resource="http://example.org/bob#me" typeof="foaf:Person"&gt;
-05      &lt;p&gt;
-06        Bob knows &lt;a property="foaf:knows" href="http://example.org/alice#me"&gt;Alice&lt;/a&gt;
-07        and was born on the &lt;time property="schema:birthDate"&gt;1990-07-04&lt;/time&gt;.
-08      &lt;/p&gt;
-09      &lt;p&gt;
-10        Bob is interested in &lt;span property="foaf:topic_interest"
-11        resource="http://www.wikidata.org/entity/"&gt;the Mona Lisa&lt;/span&gt;.
-12      &lt;/p&gt;
-13    &lt;/div&gt;
-14    &lt;div resource="http://www.wikidata.org/entity/"&gt;
-15      &lt;p&gt;
-16        The &lt;span property="dcterms:title"&gt;Mona Lisa&lt;/span&gt; was painted by
-17        &lt;a property="dcterms:creator" href="http://dbpedia.org/resource/Leonardo_da_Vinci"&gt;Leonardo da Vinci&lt;/a&gt;
-18        and is the subject of the video
-19        &lt;a href="http://data.europeana.eu/item/04802/243FA8618938F4117025F17A8B813C5F9AA4D619"&gt;'La Joconde à Washington'&lt;/a&gt;.
-20      &lt;/p&gt;
-21    &lt;/div&gt;
-22    &lt;div resource="http://data.europeana.eu/item/04802/243FA8618938F4117025F17A8B813C5F9AA4D619"&gt;
-23        &lt;link property="dcterms:subject" href="http://www.wikidata.org/entity/Q12418"&gt;
-24    &lt;/div&gt;
-25  &lt;/body&gt;
+<pre class="example" title="RDFa example" 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;
+<span class="linenum">04</span>    &lt;div resource="http://example.org/bob#me" typeof="foaf:Person"&gt;
+<span class="linenum">05</span>      &lt;p&gt;
+<span class="linenum">06</span>        Bob knows &lt;a property="foaf:knows" href="http://example.org/alice#me"&gt;Alice&lt;/a&gt;
+<span class="linenum">07</span>        and was born on the &lt;time property="schema:birthDate"&gt;1990-07-04&lt;/time&gt;.
+<span class="linenum">08</span>      &lt;/p&gt;
+<span class="linenum">09</span>      &lt;p&gt;
+<span class="linenum">10</span>        Bob is interested in &lt;span property="foaf:topic_interest"
+<span class="linenum">11</span>        resource="http://www.wikidata.org/entity/"&gt;the Mona Lisa&lt;/span&gt;.
+<span class="linenum">12</span>      &lt;/p&gt;
+<span class="linenum">13</span>    &lt;/div&gt;
+<span class="linenum">14</span>    &lt;div resource="http://www.wikidata.org/entity/"&gt;
+<span class="linenum">15</span>      &lt;p&gt;
+<span class="linenum">16</span>        The &lt;span property="dcterms:title"&gt;Mona Lisa&lt;/span&gt; was painted by
+<span class="linenum">17</span>        &lt;a property="dcterms:creator" href="http://dbpedia.org/resource/Leonardo_da_Vinci"&gt;Leonardo da Vinci&lt;/a&gt;
+<span class="linenum">18</span>        and is the subject of the video
+<span class="linenum">19</span>        &lt;a href="http://data.europeana.eu/item/04802/243FA8618938F4117025F17A8B813C5F9AA4D619"&gt;'La Joconde à Washington'&lt;/a&gt;.
+<span class="linenum">20</span>      &lt;/p&gt;
+<span class="linenum">21</span>    &lt;/div&gt;
+<span class="linenum">22</span>    &lt;div resource="http://data.europeana.eu/item/04802/243FA8618938F4117025F17A8B813C5F9AA4D619"&gt;
+<span class="linenum">23</span>        &lt;link property="dcterms:subject" href="http://www.wikidata.org/entity/Q12418"&gt;
+<span class="linenum">24</span>    &lt;/div&gt;
+<span class="linenum">25</span>  &lt;/body&gt;
 </pre>
 
 <p class="issue">Textual description of example in progress (does not
@@ -1086,27 +1093,27 @@
 <p>The RDF/XML example below encodes the 
 RDF graph depicted in <a href="#fig4">Fig.&nbsp;4</a>:</p>
 
-<pre class="example" id="rdf-xml-example">
-01    &lt;?xml version="1.0" encoding="utf-8"?&gt;
-02    &lt;rdf:RDF
-03             xmlns:dcterms="http://purl.org/dc/terms/"
-04             xmlns:foaf="http://xmlns.com/foaf/0.1/"
-05             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-06             xmlns:schema="http://schema.org/"&gt;
-07       &lt;rdf:Description rdf:about="http://example.org/bob#me"&gt;
-08          &lt;rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/&gt;
-09          &lt;schema:birthDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date"&gt;1990-07-04&lt;/schema:birthDate&gt;
-10          &lt;foaf:knows rdf:resource="http://example.org/alice#me"/&gt;
-11          &lt;foaf:topic_interest rdf:resource="http://www.wikidata.org/entity/Q12418"/&gt;
-12       &lt;/rdf:Description&gt;
-13       &lt;rdf:Description rdf:about="http://www.wikidata.org/entity/Q12418"&gt;
-14          &lt;dcterms:title&gt;Mona Lisa&lt;/dcterms:title&gt;
-15          &lt;dcterms:creator rdf:resource="http://dbpedia.org/resource/Leonardo_da_Vinci"/&gt;
-16       &lt;/rdf:Description&gt;
-17       &lt;rdf:Description rdf:about="http://data.europeana.eu/item/04802/243FA8618938F4117025F17A8B813C5F9AA4D619"&gt;
-18          &lt;dcterms:subject rdf:resource="http://www.wikidata.org/entity/Q12418"/&gt;
-19       &lt;/rdf:Description&gt;
-20    &lt;/rdf:RDF&gt;
+<pre class="example" title="RDF/XML example" 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/"
+<span class="linenum">04</span>             xmlns:foaf="http://xmlns.com/foaf/0.1/"
+<span class="linenum">05</span>             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+<span class="linenum">06</span>             xmlns:schema="http://schema.org/"&gt;
+<span class="linenum">07</span>       &lt;rdf:Description rdf:about="http://example.org/bob#me"&gt;
+<span class="linenum">08</span>          &lt;rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/&gt;
+<span class="linenum">09</span>          &lt;schema:birthDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date"&gt;1990-07-04&lt;/schema:birthDate&gt;
+<span class="linenum">10</span>          &lt;foaf:knows rdf:resource="http://example.org/alice#me"/&gt;
+<span class="linenum">11</span>          &lt;foaf:topic_interest rdf:resource="http://www.wikidata.org/entity/Q12418"/&gt;
+<span class="linenum">12</span>       &lt;/rdf:Description&gt;
+<span class="linenum">13</span>       &lt;rdf:Description rdf:about="http://www.wikidata.org/entity/Q12418"&gt;
+<span class="linenum">14</span>          &lt;dcterms:title&gt;Mona Lisa&lt;/dcterms:title&gt;
+<span class="linenum">15</span>          &lt;dcterms:creator rdf:resource="http://dbpedia.org/resource/Leonardo_da_Vinci"/&gt;
+<span class="linenum">16</span>       &lt;/rdf:Description&gt;
+<span class="linenum">17</span>       &lt;rdf:Description rdf:about="http://data.europeana.eu/item/04802/243FA8618938F4117025F17A8B813C5F9AA4D619"&gt;
+<span class="linenum">18</span>          &lt;dcterms:subject rdf:resource="http://www.wikidata.org/entity/Q12418"/&gt;
+<span class="linenum">19</span>       &lt;/rdf:Description&gt;
+<span class="linenum">20</span>    &lt;/rdf:RDF&gt;
 </pre>
 
 <p>In RDF/XML RDF triples are specified within an XML element
@@ -1289,7 +1296,7 @@
     Vinci. With the help of <code>owl:sameAs</code> we can record this
     information:</p>
 
-    <pre class="example">
+    <pre class="example" title="Example link between datasets">
     &lt;http://dbpedia.org/resource/Leonardo_da_Vinci&gt;
         owl:sameAs &lt;http://viaf.org/viaf/24604287/&gt; .
     </pre>
@@ -1321,7 +1328,7 @@
     <p>We are grateful for the comments provided by (in
     alphabetical order) Gareth Adams, Thomas Baker, Dan Brickley, Pierre-Antoine
     Champin, Bob DuCharme, Sandro Hawke, Patrick
-    Hayes, Ivan Herman, Antoine Isaac, Markus Lanthaler, and David Wood. </p>
+    Hayes, Ivan Herman, Kingsley Idehen, Antoine Isaac, Markus Lanthaler, and David Wood. </p>
  
 </section>
 
@@ -1359,36 +1366,36 @@
       encoding IRIs, literal values and datatypes:</p>
 
       <pre class="example" id="json-ld-example-single">
-01    {
-02      "@context": {
-03        "foaf": "http://xmlns.com/foaf/0.1/",
-04        "xsd": "http://www.w3.org/2001/XMLSchema#",
-05        "schema": "http://schema.org/",
-06        "dcterms": "http://purl.org/dc/terms/",
-07        "wd": "http://www.wikidata.org/entity/",
-08        "@base": "http://example.org/",
-09        "subject_of": {"@reverse": "dcterms:subject"}
-10      },
-11      "@id": "bob#me",
-12      "@type": "foaf:Person",
-13      "schema:birthDate": {
-14        "@value": "1990-07-04",
-15        "@type": "xsd:date"
-16      },
-17      "foaf:knows": {
-18        "@id": "alice#me"
-19      },
-20      "foaf:topic_interest": {
-21        "@id": "wd:Q12418",
-22        "dcterms:title": "Mona Lisa",
-22        "subject_of": {
-23            "@id": "http://data.europeana.eu/item/04802/243FA8618938F4117025F17A8B813C5F9AA4D619"
-24        },
-25        "dcterms:creator": {
-26          "@id": "http://dbpedia.org/resource/Leonardo_da_Vinci"
-27        }
-28      }
-29    }
+<span class="linenum">01</span>    {
+<span class="linenum">02</span>      "@context": {
+<span class="linenum">03</span>        "foaf": "http://xmlns.com/foaf/0.1/",
+<span class="linenum">04</span>        "xsd": "http://www.w3.org/2001/XMLSchema#",
+<span class="linenum">05</span>        "schema": "http://schema.org/",
+<span class="linenum">06</span>        "dcterms": "http://purl.org/dc/terms/",
+<span class="linenum">07</span>        "wd": "http://www.wikidata.org/entity/",
+<span class="linenum">08</span>        "@base": "http://example.org/",
+<span class="linenum">09</span>        "subject_of": {"@reverse": "dcterms:subject"}
+<span class="linenum">10</span>      },
+<span class="linenum">11</span>      "@id": "bob#me",
+<span class="linenum">12</span>      "@type": "foaf:Person",
+<span class="linenum">13</span>      "schema:birthDate": {
+<span class="linenum">14</span>        "@value": "1990-07-04",
+<span class="linenum">15</span>        "@type": "xsd:date"
+<span class="linenum">16</span>      },
+<span class="linenum">17</span>      "foaf:knows": {
+<span class="linenum">18</span>        "@id": "alice#me"
+<span class="linenum">19</span>      },
+<span class="linenum">20</span>      "foaf:topic_interest": {
+<span class="linenum">21</span>        "@id": "wd:Q12418",
+<span class="linenum">22</span>        "dcterms:title": "Mona Lisa",
+<span class="linenum">22</span>        "subject_of": {
+<span class="linenum">23</span>            "@id": "http://data.europeana.eu/item/04802/243FA8618938F4117025F17A8B813C5F9AA4D619"
+<span class="linenum">24</span>        },
+<span class="linenum">25</span>        "dcterms:creator": {
+<span class="linenum">26</span>          "@id": "http://dbpedia.org/resource/Leonardo_da_Vinci"
+<span class="linenum">27</span>        }
+<span class="linenum">28</span>      }
+<span class="linenum">29</span>    }
       </pre>
 
      <p>On lines 2 to 10 we define various prefixes that are going to be used in the rest of
@@ -1413,56 +1420,56 @@
     RDF dataset depicted in <a href="#fig5">Fig.&nbsp;5</a></p>
 
       <pre class="example" id="json-ld-example-multiple">
-01    {
-02      "@context": {
-03        "foaf": "http://xmlns.com/foaf/0.1/",
-04        "schema": "http://schema.org/",
-05        "xsd": "http://www.w3.org/2001/XMLSchema#",
-06        "dcterms": "http://purl.org/dc/terms/"
-07      },
-08      "@graph": [
-09        {
-10          "@id": "http://example.org/bob",
-11          "@graph": [
-12            {
-13              "@id": "http://example.org/bob#me",
-14              "@type": "foaf:Person",
-15              "foaf:knows": {
-16                "@id": "http://example.org/alice#me"
-17              },
-18              "foaf:topic_interest": {
-19                "@id": "http://www.wikidata.org/entity/Q12418"
-20              },
-21              "schema:birthDate": {
-22                "@value": "1990-07-04",
-23                "@type": "xsd:date"
-24              }
-25            }
-26          ],
-27          "dcterms:publisher": {
-28            "@id": "http://example.org"
-29          },
-30          "dcterms:rights": {
-31            "@id": "http://creativecommons.org/licenses/by/3.0/"
-32          }
-33        },
-34        {
-35          "@id": "https://www.wikidata.org/wiki/Special:EntityData/Q12418",
-36          "@graph": [
-37            {
-38              "@id": "http://data.europeana.eu/item/04802/243FA8618938F4117025F17A8B813C5F9AA4D619",
-39              "dcterms:subject": {
-40                "@id": "http://www.wikidata.org/entity/Q12418",
-41                "dcterms:title": "Mona Lisa",
-42                "dcterms:creator": {
-43                  "@id": "http://dbpedia.org/resource/Leonardo_da_Vinci"
-44                }
-45              }
-46            }
-47          ]
-48        }
-49      ]
-50    }
+<span class="linenum">01</span>    {
+<span class="linenum">02</span>      "@context": {
+<span class="linenum">03</span>        "foaf": "http://xmlns.com/foaf/0.1/",
+<span class="linenum">04</span>        "schema": "http://schema.org/",
+<span class="linenum">05</span>        "xsd": "http://www.w3.org/2001/XMLSchema#",
+<span class="linenum">06</span>        "dcterms": "http://purl.org/dc/terms/"
+<span class="linenum">07</span>      },
+<span class="linenum">08</span>      "@graph": [
+<span class="linenum">09</span>        {
+<span class="linenum">10</span>          "@id": "http://example.org/bob",
+<span class="linenum">11</span>          "@graph": [
+<span class="linenum">12</span>            {
+<span class="linenum">13</span>              "@id": "http://example.org/bob#me",
+<span class="linenum">14</span>              "@type": "foaf:Person",
+<span class="linenum">15</span>              "foaf:knows": {
+<span class="linenum">16</span>                "@id": "http://example.org/alice#me"
+<span class="linenum">17</span>              },
+<span class="linenum">18</span>              "foaf:topic_interest": {
+<span class="linenum">19</span>                "@id": "http://www.wikidata.org/entity/Q12418"
+<span class="linenum">20</span>              },
+<span class="linenum">21</span>              "schema:birthDate": {
+<span class="linenum">22</span>                "@value": "1990-07-04",
+<span class="linenum">23</span>                "@type": "xsd:date"
+<span class="linenum">24</span>              }
+<span class="linenum">25</span>            }
+<span class="linenum">26</span>          ],
+<span class="linenum">27</span>          "dcterms:publisher": {
+<span class="linenum">28</span>            "@id": "http://example.org"
+<span class="linenum">29</span>          },
+<span class="linenum">30</span>          "dcterms:rights": {
+<span class="linenum">31</span>            "@id": "http://creativecommons.org/licenses/by/3.0/"
+<span class="linenum">32</span>          }
+<span class="linenum">33</span>        },
+<span class="linenum">34</span>        {
+<span class="linenum">35</span>          "@id": "https://www.wikidata.org/wiki/Special:EntityData/Q12418",
+<span class="linenum">36</span>          "@graph": [
+<span class="linenum">37</span>            {
+<span class="linenum">38</span>              "@id": "http://data.europeana.eu/item/04802/243FA8618938F4117025F17A8B813C5F9AA4D619",
+<span class="linenum">39</span>              "dcterms:subject": {
+<span class="linenum">40</span>                "@id": "http://www.wikidata.org/entity/Q12418",
+<span class="linenum">41</span>                "dcterms:title": "Mona Lisa",
+<span class="linenum">42</span>                "dcterms:creator": {
+<span class="linenum">43</span>                  "@id": "http://dbpedia.org/resource/Leonardo_da_Vinci"
+<span class="linenum">44</span>                }
+<span class="linenum">45</span>              }
+<span class="linenum">46</span>            }
+<span class="linenum">47</span>          ]
+<span class="linenum">48</span>        }
+<span class="linenum">49</span>      ]
+<span class="linenum">50</span>    }
       </pre>
 
       <p>On line 8 we use the <code>@graph</code> keyword to describe two
@@ -1480,36 +1487,36 @@
 in the <a href="#section-json-ld">JSON-LD section</a> above.</p>
 
 <pre class="example">
-01    {
-02      "@context": {
-03        "foaf": "http://xmlns.com/foaf/0.1/",
-04        "xsd": "http://www.w3.org/2001/XMLSchema#",
-05        "schema": "http://schema.org/",
-06        "dcterms": "http://purl.org/dc/terms/",
-07        "wd": "http://www.wikidata.org/entity/",
-08        "@base": "http://example.org/",
+<span class="linenum">01</span>    {
+<span class="linenum">02</span>      "@context": {
+<span class="linenum">03</span>        "foaf": "http://xmlns.com/foaf/0.1/",
+<span class="linenum">04</span>        "xsd": "http://www.w3.org/2001/XMLSchema#",
+<span class="linenum">05</span>        "schema": "http://schema.org/",
+<span class="linenum">06</span>        "dcterms": "http://purl.org/dc/terms/",
+<span class="linenum">07</span>        "wd": "http://www.wikidata.org/entity/",
+<span class="linenum">08</span>        "@base": "http://example.org/",
 09
-10        "uri": "@id",
-11        "type": "@type",
-12        "Person": "foaf:Person",
-13        "born": {
-14          "@id": "schema:birthDate",
-15          "@type": "xsd:date"
-16        },
-17        "friends": {
-18          "@id": "foaf:knows",
-19          "@type": "@id"
-20        },
-21        "interest": "http://xmlns.com/foaf/0.1/topic_interest",
-22        "subject_of": {
-23          "@reverse": "dcterms:subject",
-24          "@type": "@id"
-25        },
-26        "creator": "dcterms:creator",
-27        "title": "dcterms:title",
-28        "name": "foaf:name"
-29      },
-30    }
+<span class="linenum">10</span>        "uri": "@id",
+<span class="linenum">11</span>        "type": "@type",
+<span class="linenum">12</span>        "Person": "foaf:Person",
+<span class="linenum">13</span>        "born": {
+<span class="linenum">14</span>          "@id": "schema:birthDate",
+<span class="linenum">15</span>          "@type": "xsd:date"
+<span class="linenum">16</span>        },
+<span class="linenum">17</span>        "friends": {
+<span class="linenum">18</span>          "@id": "foaf:knows",
+<span class="linenum">19</span>          "@type": "@id"
+<span class="linenum">20</span>        },
+<span class="linenum">21</span>        "interest": "http://xmlns.com/foaf/0.1/topic_interest",
+<span class="linenum">22</span>        "subject_of": {
+<span class="linenum">23</span>          "@reverse": "dcterms:subject",
+<span class="linenum">24</span>          "@type": "@id"
+<span class="linenum">25</span>        },
+<span class="linenum">26</span>        "creator": "dcterms:creator",
+<span class="linenum">27</span>        "title": "dcterms:title",
+<span class="linenum">28</span>        "name": "foaf:name"
+<span class="linenum">29</span>      },
+<span class="linenum">30</span>    }
 </pre>
 
 <p>For detailed information about JSON-LD please consult the JSON-LD