Added another RDF test for @coerce @list.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Sat, 06 Aug 2011 16:37:17 -0700
changeset 134 9d95f3a3a75a
parent 133 fdf1af9ea013
child 135 b8ef51a2ab60
Added another RDF test for @coerce @list.
test-suite/tests/rdf-0025.jsonld
test-suite/tests/rdf-0025.sparql
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0025.jsonld	Sat Aug 06 16:37:17 2011 -0700
@@ -0,0 +1,10 @@
+{
+  "@context": {
+    "foaf": "http://xmlns.com/foaf/0.1/",
+    "@coerce": {
+      "@list": "foaf:knows"
+    }
+  },
+  "@subject": "http://greggkellogg.net/foaf#me",
+  "foaf:knows": ["Manu Sporny"]
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0025.sparql	Sat Aug 06 16:37:17 2011 -0700
@@ -0,0 +1,5 @@
+PREFIX foaf: <http://xmlns.com/foaf/0.1/>
+
+ASK WHERE {
+  <http://greggkellogg.net/foaf#me> foaf:knows ("Manu Sporny") .
+}