Fixed multiple expanded literals example to be clearer. Closes #33.
authorManu Sporny <msporny@digitalbazaar.com>
Tue, 29 Nov 2011 01:06:54 -0500
changeset 285 ff92e369cc2a
parent 284 c30e54711834
child 286 8e5b8fc736e4
Fixed multiple expanded literals example to be clearer. Closes #33.
spec/latest/json-ld-syntax/index.html
--- a/spec/latest/json-ld-syntax/index.html	Tue Nov 29 00:54:22 2011 -0500
+++ b/spec/latest/json-ld-syntax/index.html	Tue Nov 29 01:06:54 2011 -0500
@@ -1134,30 +1134,21 @@
 </section>
 
 <section>
-<h2>Multiple Typed Literals for a Single Property</h2>
+<h2>Multiple Literals for a Single Property</h2>
 
-<p>Multiple <tref>typed literal</tref>s may also be expressed using the expanded
+<p>Multiple <tref>literal</tref>s may also be expressed using the expanded
 form for objects:</p>
 
 <pre class="example" data-transform="updateExample">
 <!--
 {
-...
   "@subject": "http://example.org/articles/8",
-  "modified": ****
+  "dc:title":
   [
-    {
-      "@literal": "2010-05-29T14:17:39+02:00",
-      "@datatype": "dateTime"
-    },
-    {
-      "@literal": "2010-05-30T09:21:28-04:00",
-      "@datatype": "dateTime"
-    }
-  ]****
-...
-}
--->
+    {"@literal": "Das Kapital", "@language": "de"},
+    {"@literal": "Capital", "@language": "en"}
+  ]
+}-->
 </pre>
 
 <p>The markup shown above would generate the following triples:</p>
@@ -1165,11 +1156,11 @@
 <pre class="example" data-transform="updateExample">
 <!--
 <http://example.org/articles/8>
-   <http://purl.org/dc/terms/modified>
-      "2010-05-29T14:17:39+02:00"^^http://www.w3.org/2001/XMLSchema#dateTime .
+   <http://purl.org/dc/terms/title>
+      "Das Kapital"@de .
 <http://example.org/articles/8>
-   <http://purl.org/dc/terms/modified>
-      "2010-05-30T09:21:28-04:00"^^http://www.w3.org/2001/XMLSchema#dateTime .
+   <http://purl.org/dc/terms/title>
+      "Capital"@en .
 -->
 </pre>