Adding default graph to other serialisations
authorYves Raimond <yves.raimond@bbc.co.uk>
Fri, 29 Nov 2013 14:45:29 +0000
changeset 1421 e47e9d1a9e6a
parent 1420 54084461639f
child 1422 b668df09bbd1
Adding default graph to other serialisations
rdf-primer/index.html
--- a/rdf-primer/index.html	Fri Nov 29 15:17:18 2013 +0100
+++ b/rdf-primer/index.html	Fri Nov 29 14:45:29 2013 +0000
@@ -813,8 +813,8 @@
 28      }
 29
 30    &lt;http://example.org/bob&gt;
-31        dcterms:publisher &lt;http://example.org&gt;
-32        dcterms:rights &lt;http://creativecommons.org/licenses/by/3.0/&gt;
+31        dcterms:publisher &lt;http://example.org&gt; ;
+32        dcterms:rights &lt;http://creativecommons.org/licenses/by/3.0/&gt; .
       </pre>
 
     <p>This RDF dataset contains two named graphs. Lines 8 and 16 list
@@ -1085,7 +1085,13 @@
             "@type": "xsd:date"
           }
         }
-      ]
+      ],
+      "dcterms:publisher": {
+        "@id": "http://example.org"
+      },
+      "dcterms:rights": {
+        "@id": "http://creativecommons.org/licenses/by/3.0/"
+      }
     },
     {
       "@id": "https://www.wikidata.org/wiki/Special:EntityData/Q12418",
@@ -1144,6 +1150,8 @@
 &lt;http://viaf.org/viaf/24604287/&gt; &lt;http://xmlns.com/foaf/0.1/name&gt; "Leonardo da Vinci" &lt;https://www.wikidata.org/wiki/Special:EntityData/Q12418&gt; .
 &lt;http://www.wikidata.org/entity/Q12418&gt; &lt;http://purl.org/dc/terms/creator&gt; &lt;http://viaf.org/viaf/24604287/&gt; &lt;https://www.wikidata.org/wiki/Special:EntityData/Q12418&gt; .
 &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; .
+&lt;http://example.org/bob&gt; &lt;http://purl.org/dc/terms/publisher&gt; &lt;http://example.org&gt; .
+&lt;http://example.org/bob&gt; &lt;http://purl.org/dc/terms/rights&gt; &lt;http://creativecommons.org/licenses/by/3.0/&gt; .
       </pre>
 
     </section>