Merge branch 'master' of github.com:json-ld/json-ld.org
authorDave Longley <dlongley@digitalbazaar.com>
Sat, 06 Aug 2011 15:04:21 -0400
changeset 123 541dafc36ddc
parent 120 5eb393f0dc80 (current diff)
parent 122 be959ad4f9f9 (diff)
child 124 d73c7ffc9a9a
Merge branch 'master' of github.com:json-ld/json-ld.org
spec/latest/index.html
--- a/spec/latest/index.html	Sat Aug 06 15:04:09 2011 -0400
+++ b/spec/latest/index.html	Sat Aug 06 15:04:21 2011 -0400
@@ -343,6 +343,10 @@
   Examples may contain references to existing vocabularies and use abbreviations in CURIEs and source code. The following is a list of all vocabularies and their abbreviations, as used in this document:
 </p>
 <ul>
+  <li>The <a href="http://purl.org/dc/terms/">Dublin Core</a>
+  vocabulary (abbreviation: <code>dc</code>, e.g., <code>dc:title</code>)</li>
+  <li>The <a href="http://xmlns.com/foaf/0.1/">Friend of a Friend</a>
+  vocabulary (abbreviation: <code>foaf</code>, e.g., <code>foaf:knows</code>)</li>
   <li>The <a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#">RDF</a>
   vocabulary (abbreviation: <code>rdf</code>, e.g., <code>rdf:type</code>)</li>
   <li>The <a href="http://www.w3.org/2001/XMLSchema#">XSD</a>
@@ -751,7 +755,8 @@
 <!--
 {****
   "@context": 
-  { 
+  {
+    ...
     "@coerce": 
     {
       "@iri": "foaf:homepage"
@@ -893,7 +898,8 @@
 <!--
 {****
   "@context": 
-  { 
+  {
+    "dc":  "http://purl.org/dc/terms/",
     "xsd": "http://www.w3.org/2001/XMLSchema#"
     "@coerce": 
     {
@@ -1171,6 +1177,10 @@
 <pre class="example" data-transform="updateExample">
 <!--
 {
+   "@coerce": {
+    "dc":  "http://purl.org/dc/terms/",
+    "ex":  "http://example.org/"
+   },
    "@subject": 
    [{
       "@subject": "http://example.org/library",
@@ -1236,7 +1246,7 @@
    "@context": 
    {
       "ex": "http://example.org/vocab#",
-      "dc": "http://purl.org/dc/elements/1.1/"
+      "dc":  "http://purl.org/dc/terms/",
    }
    "@subject": "http://example.org/library",
    "@type": "ex:Library",
@@ -2558,6 +2568,9 @@
 <pre class="example" data-transform="updateExample">
 <!--
 {
+  "@coerce": {
+    "foaf": "http://xmlns.com/foaf/0.1/"
+  },
   "@subject": 
   [
     {
@@ -2580,11 +2593,11 @@
 [
   {
     "@subject": "http://example.org/people#john",
-    "@type": "foaf:Person"
+    "@type": "http://xmlns.com/foaf/0.1/Person"
   },
   {
     "@subject": "http://example.org/people#jane",
-    "@type": "foaf:Person"
+    "@type": "http://xmlns.com/foaf/0.1/Person"
   }
 ]
 -->
@@ -2743,26 +2756,29 @@
 
 <pre class="example" data-transform="updateExample">
 <!--
-[
- {
-   "@subject": "_:bnode1",
-   "@type": "foaf:Person",
-   "foaf:homepage": "http://example.com/bob/",
-   "foaf:name": "Bob"
- },
- {
-   "@subject": "_:bnode2",
-   "@type": "foaf:Person",
-   "foaf:homepage": "http://example.com/eve/",
-   "foaf:name": "Eve"
- },
- {
-   "@subject": "_:bnode3",
-   "@type": "foaf:Person",
-   "foaf:homepage": "http://example.com/manu/",
-   "foaf:name": "Manu"
- }
-]
+{
+  "@context": { "foaf": "http://xmlns.com/foaf/0.1/"},
+  "@subject": [
+   {
+     "@subject": "_:bnode1",
+     "@type": "foaf:Person",
+     "foaf:homepage": "http://example.com/bob/",
+     "foaf:name": "Bob"
+   },
+   {
+     "@subject": "_:bnode2",
+     "@type": "foaf:Person",
+     "foaf:homepage": "http://example.com/eve/",
+     "foaf:name": "Eve"
+   },
+   {
+     "@subject": "_:bnode3",
+     "@type": "foaf:Person",
+     "foaf:homepage": "http://example.com/manu/",
+     "foaf:name": "Manu"
+   }
+  ]
+}
 -->
 </pre>