removed comment
authorGuus Schreiber <guus.schreiber@vu.nl>
Fri, 21 Feb 2014 12:59:43 +0100
changeset 1996 08bff902cb8b
parent 1995 184a2b3d15a2
child 1997 ffb7d416f355
removed comment
rdf-primer/index.html
--- a/rdf-primer/index.html	Fri Feb 21 12:57:13 2014 +0100
+++ b/rdf-primer/index.html	Fri Feb 21 12:59:43 2014 +0100
@@ -1408,181 +1408,6 @@
 
 </section>
 
-<!--
-<section id="appendix-other-syntaxes" class="appendix">
-
-<h2>Additional JSON-LD Examoples</h2>
-   
-<p>This appendix lists
-some more JSON-LD examples. </p>
-
-
-
-<!--
-<section id="appendix-jsonld">
-
-<h3>JSON-LD</h3>
-
-       <p>In this section we describe several
-      alternative serializations for JSON-LD, adding to the example
-      in the <a href="#section-json-ld">JSON-LD section</a> above.</p>
-
-      <p>In the following example we encode the 
-      RDF graph depicted in <a href="#fig4">Fig.&nbsp;4</a>, explicitly
-      encoding IRIs, literal values and datatypes:</p>
-
-      <pre class="example" id="json-ld-example-single">
-<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
-     the document, including FOAF, Dublin Core etc. For example <code>schema:birthDate</code>
-     in this document will be expanded to <code>http://schema.org/birthDate</code>. 
-     We also define a base IRI for that document
-     on line 8, which will be used to resolve all relative IRIs.</p>
-
-     <p>Each object in a JSON-LD document correspond to an RDF resource and 
-     can be associated with its IRI by using an <code>@id</code>
-     attribute, as in lines 11, 18, 21, 23 and 26 in this example.</p>
-
-     <p>Literals with datatypes can be expressed through the <code>@value</code> and <code>@type</code>
-     attributes, as in lines 14 and 15.</p>
-
-     <p>JSON-LD can also be used for RDF datasets, through the use of the <code>@graph</code> keyword. 
-    The example below encodes the
-    RDF dataset depicted in <a href="#fig5">Fig.&nbsp;5</a></p>
-
-      <pre class="example" id="json-ld-example-multiple">
-<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
-      distinct graphs, identified using <code>@id</code> attributes
-      on lines 10 and 35. The content of these graphs is given in
-      lines 11 to 26 and lines 36 to 47. The extra provenance and rights
-      information is given on lines 27 to 32.</p>
-
-
-<p>The <code>@context</code> of a JSON-LD document can be factored out
-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" 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/",
-<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
-<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
-    specification [[JSON-LD]]. </p>
-</section>
--->
-   
 
   </body>
 </html>