Made to/from RDF test names, etc. consistent with the others.
--- a/test-suite/context.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ b/test-suite/context.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -12,7 +12,6 @@
"name": "dc:title",
"optimize": {"@id": "test:input", "@type": "@id"},
"purpose": "test:purpose",
- "quads": {"@id": "test:expectedResults", "@type": "@id"},
"sequence": {"@id": "jld:sequence", "@type": "@id", "@container": "@list"}
}
}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/fromRdf-0001-in.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,5 @@
+<http://example.com/Subj1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Type> .
+<http://example.com/Subj1> <http://example.com/prop1> <http://example.com/Obj1> .
+<http://example.com/Subj1> <http://example.com/prop2> "Plain" .
+<http://example.com/Subj1> <http://example.com/prop2> "2012-05-12"^^<http://www.w3.org/2001/XMLSchema#date> .
+<http://example.com/Subj1> <http://example.com/prop2> "English"@en .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/fromRdf-0001-out.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,10 @@
+[{
+ "@id": "http://example.com/Subj1",
+ "@type": ["http://example.com/Type"],
+ "http://example.com/prop1": [{"@id": "http://example.com/Obj1"}],
+ "http://example.com/prop2": [
+ {"@value": "Plain"},
+ {"@value": "2012-05-12", "@type": "http://www.w3.org/2001/XMLSchema#date"},
+ {"@value": "English", "@language": "en"}
+ ]
+}]
\ No newline at end of file
--- a/test-suite/tests/fromRdf-0001.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-[{
- "@id": "http://example.com/Subj1",
- "@type": ["http://example.com/Type"],
- "http://example.com/prop1": [{"@id": "http://example.com/Obj1"}],
- "http://example.com/prop2": [
- {"@value": "Plain"},
- {"@value": "2012-05-12", "@type": "http://www.w3.org/2001/XMLSchema#date"},
- {"@value": "English", "@language": "en"}
- ]
-}]
\ No newline at end of file
--- a/test-suite/tests/fromRdf-0001.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<http://example.com/Subj1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Type> .
-<http://example.com/Subj1> <http://example.com/prop1> <http://example.com/Obj1> .
-<http://example.com/Subj1> <http://example.com/prop2> "Plain" .
-<http://example.com/Subj1> <http://example.com/prop2> "2012-05-12"^^<http://www.w3.org/2001/XMLSchema#date> .
-<http://example.com/Subj1> <http://example.com/prop2> "English"@en .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/fromRdf-0002-in.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,5 @@
+<http://example.com/Subj1> <http://example.com/prop> "true"^^<http://www.w3.org/2001/XMLSchema#boolean> .
+<http://example.com/Subj1> <http://example.com/prop> "false"^^<http://www.w3.org/2001/XMLSchema#boolean> .
+<http://example.com/Subj1> <http://example.com/prop> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://example.com/Subj1> <http://example.com/prop> "1.1"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.com/Subj1> <http://example.com/prop> "1.1E1"^^<http://www.w3.org/2001/XMLSchema#double> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/fromRdf-0002-out.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,10 @@
+[{
+ "@id": "http://example.com/Subj1",
+ "http://example.com/prop": [
+ {"@value": "true", "@type": "http://www.w3.org/2001/XMLSchema#boolean"},
+ {"@value": "false", "@type": "http://www.w3.org/2001/XMLSchema#boolean"},
+ {"@value": "1", "@type": "http://www.w3.org/2001/XMLSchema#integer"},
+ {"@value": "1.1", "@type": "http://www.w3.org/2001/XMLSchema#decimal"},
+ {"@value": "1.1E1", "@type": "http://www.w3.org/2001/XMLSchema#double"}
+ ]
+}]
\ No newline at end of file
--- a/test-suite/tests/fromRdf-0002.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-[{
- "@id": "http://example.com/Subj1",
- "http://example.com/prop": [
- {"@value": "true", "@type": "http://www.w3.org/2001/XMLSchema#boolean"},
- {"@value": "false", "@type": "http://www.w3.org/2001/XMLSchema#boolean"},
- {"@value": "1", "@type": "http://www.w3.org/2001/XMLSchema#integer"},
- {"@value": "1.1", "@type": "http://www.w3.org/2001/XMLSchema#decimal"},
- {"@value": "1.1E1", "@type": "http://www.w3.org/2001/XMLSchema#double"}
- ]
-}]
\ No newline at end of file
--- a/test-suite/tests/fromRdf-0002.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<http://example.com/Subj1> <http://example.com/prop> "true"^^<http://www.w3.org/2001/XMLSchema#boolean> .
-<http://example.com/Subj1> <http://example.com/prop> "false"^^<http://www.w3.org/2001/XMLSchema#boolean> .
-<http://example.com/Subj1> <http://example.com/prop> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://example.com/Subj1> <http://example.com/prop> "1.1"^^<http://www.w3.org/2001/XMLSchema#decimal> .
-<http://example.com/Subj1> <http://example.com/prop> "1.1E1"^^<http://www.w3.org/2001/XMLSchema#double> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/fromRdf-0003-in.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,6 @@
+<http://example.com/Subj1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Type> .
+_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/SubType> .
+<http://example.com/Subj1> <http://example.com/ref> _:a .
+<http://example.com/Subj1> <http://example.com/ref> <http://example.com/Subj2> .
+<http://example.com/Subj2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Type> .
+<http://example.com/Subj2> <http://example.com/ref> <http://example.com/Subj1> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/fromRdf-0003-out.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,19 @@
+[
+ {
+ "@id": "_:a",
+ "@type": ["http://example.com/SubType"]
+ },
+ {
+ "@id": "http://example.com/Subj1",
+ "@type": ["http://example.com/Type"],
+ "http://example.com/ref": [
+ {"@id": "_:a"},
+ {"@id": "http://example.com/Subj2"}
+ ]
+ },
+ {
+ "@id": "http://example.com/Subj2",
+ "@type": ["http://example.com/Type"],
+ "http://example.com/ref": [{"@id": "http://example.com/Subj1"}]
+ }
+]
\ No newline at end of file
--- a/test-suite/tests/fromRdf-0003.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-[
- {
- "@id": "_:a",
- "@type": ["http://example.com/SubType"]
- },
- {
- "@id": "http://example.com/Subj1",
- "@type": ["http://example.com/Type"],
- "http://example.com/ref": [
- {"@id": "_:a"},
- {"@id": "http://example.com/Subj2"}
- ]
- },
- {
- "@id": "http://example.com/Subj2",
- "@type": ["http://example.com/Type"],
- "http://example.com/ref": [{"@id": "http://example.com/Subj1"}]
- }
-]
\ No newline at end of file
--- a/test-suite/tests/fromRdf-0003.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<http://example.com/Subj1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Type> .
-_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/SubType> .
-<http://example.com/Subj1> <http://example.com/ref> _:a .
-<http://example.com/Subj1> <http://example.com/ref> <http://example.com/Subj2> .
-<http://example.com/Subj2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Type> .
-<http://example.com/Subj2> <http://example.com/ref> <http://example.com/Subj1> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/fromRdf-0004-in.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,10 @@
+<http://example.com/Subj1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Type> .
+_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "apple" .
+_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b .
+_:b <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "bananna" .
+_:b <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://example.com/Subj1> <http://example.com/literalList> _:a .
+<http://example.com/Subj1> <http://example.com/emptyList> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:c <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://example.com/iri> .
+_:c <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://example.com/Subj1> <http://example.com/iriList> _:c .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/fromRdf-0004-out.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,16 @@
+[{
+ "@id": "http://example.com/Subj1",
+ "@type": ["http://example.com/Type"],
+ "http://example.com/literalList": [{
+ "@list": [
+ {"@value": "apple"},
+ {"@value": "bananna"}
+ ]
+ }],
+ "http://example.com/emptyList": [{
+ "@list": []
+ }],
+ "http://example.com/iriList": [{
+ "@list": [{"@id": "http://example.com/iri"}]
+ }]
+}]
\ No newline at end of file
--- a/test-suite/tests/fromRdf-0004.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-[{
- "@id": "http://example.com/Subj1",
- "@type": ["http://example.com/Type"],
- "http://example.com/literalList": [{
- "@list": [
- {"@value": "apple"},
- {"@value": "bananna"}
- ]
- }],
- "http://example.com/emptyList": [{
- "@list": []
- }],
- "http://example.com/iriList": [{
- "@list": [{"@id": "http://example.com/iri"}]
- }]
-}]
\ No newline at end of file
--- a/test-suite/tests/fromRdf-0004.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<http://example.com/Subj1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Type> .
-_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "apple" .
-_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b .
-_:b <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "bananna" .
-_:b <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
-<http://example.com/Subj1> <http://example.com/literalList> _:a .
-<http://example.com/Subj1> <http://example.com/emptyList> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
-_:c <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://example.com/iri> .
-_:c <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
-<http://example.com/Subj1> <http://example.com/iriList> _:c .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/fromRdf-0005-in.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,9 @@
+<http://example.com/Subj1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Type> <http://example.com/U> .
+<http://example.com/Subj1> <http://example.com/ref> <http://example.com/U> <http://example.com/U> .
+_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "a" <http://example.com/U> .
+_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b <http://example.com/U> .
+_:b <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "b" <http://example.com/U> .
+_:b <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://example.com/U> .
+<http://example.com/Subj1> <http://example.com/list> _:a <http://example.com/U> .
+<http://example.com/U> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Graph> .
+<http://example.com/U> <http://example.com/name> "Graph" .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/fromRdf-0005-out.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,18 @@
+[{
+ "@id": "http://example.com/U",
+ "@graph": [
+ {
+ "@id": "http://example.com/Subj1",
+ "@type": ["http://example.com/Type"],
+ "http://example.com/ref": [{"@id": "http://example.com/U"}],
+ "http://example.com/list": [{
+ "@list": [
+ {"@value": "a"},
+ {"@value": "b"}
+ ]
+ }]
+ }
+ ],
+ "@type": ["http://example.com/Graph"],
+ "http://example.com/name": [{"@value": "Graph"}]
+}]
\ No newline at end of file
--- a/test-suite/tests/fromRdf-0005.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-[{
- "@id": "http://example.com/U",
- "@graph": [
- {
- "@id": "http://example.com/Subj1",
- "@type": ["http://example.com/Type"],
- "http://example.com/ref": [{"@id": "http://example.com/U"}],
- "http://example.com/list": [{
- "@list": [
- {"@value": "a"},
- {"@value": "b"}
- ]
- }]
- }
- ],
- "@type": ["http://example.com/Graph"],
- "http://example.com/name": [{"@value": "Graph"}]
-}]
\ No newline at end of file
--- a/test-suite/tests/fromRdf-0005.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-<http://example.com/Subj1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Type> <http://example.com/U> .
-<http://example.com/Subj1> <http://example.com/ref> <http://example.com/U> <http://example.com/U> .
-_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "a" <http://example.com/U> .
-_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b <http://example.com/U> .
-_:b <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "b" <http://example.com/U> .
-_:b <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://example.com/U> .
-<http://example.com/Subj1> <http://example.com/list> _:a <http://example.com/U> .
-<http://example.com/U> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Graph> .
-<http://example.com/U> <http://example.com/name> "Graph" .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/fromRdf-0006-in.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,14 @@
+<http://example.com/Subj1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Type> <http://example.com/U> .
+<http://example.com/Subj1> <http://example.com/ref> <http://example.com/U> <http://example.com/U> .
+<http://example.com/Subj1> <http://example.com/list> _:a <http://example.com/U> .
+_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "a" <http://example.com/U> .
+_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b <http://example.com/U> .
+_:b <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "b" <http://example.com/U> .
+_:b <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://example.com/U> .
+<http://example.com/Subj1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Type2> <http://example.com/V> .
+<http://example.com/Subj1> <http://example.com/ref> <http://example.com/V> <http://example.com/V> .
+<http://example.com/Subj1> <http://example.com/list> _:c <http://example.com/V> .
+_:c <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "c" <http://example.com/V> .
+_:c <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:d <http://example.com/V> .
+_:d <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "d" <http://example.com/V> .
+_:d <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://example.com/V> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/fromRdf-0006-out.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,34 @@
+[
+ {
+ "@id": "http://example.com/U",
+ "@graph": [
+ {
+ "@id": "http://example.com/Subj1",
+ "@type": ["http://example.com/Type"],
+ "http://example.com/ref": [{"@id": "http://example.com/U"}],
+ "http://example.com/list": [{
+ "@list": [
+ {"@value": "a"},
+ {"@value": "b"}
+ ]
+ }]
+ }
+ ]
+ },
+ {
+ "@id": "http://example.com/V",
+ "@graph": [
+ {
+ "@id": "http://example.com/Subj1",
+ "@type": ["http://example.com/Type2"],
+ "http://example.com/ref": [{"@id": "http://example.com/V"}],
+ "http://example.com/list": [{
+ "@list": [
+ {"@value": "c"},
+ {"@value": "d"}
+ ]
+ }]
+ }
+ ]
+ }
+]
\ No newline at end of file
--- a/test-suite/tests/fromRdf-0006.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-[
- {
- "@id": "http://example.com/U",
- "@graph": [
- {
- "@id": "http://example.com/Subj1",
- "@type": ["http://example.com/Type"],
- "http://example.com/ref": [{"@id": "http://example.com/U"}],
- "http://example.com/list": [{
- "@list": [
- {"@value": "a"},
- {"@value": "b"}
- ]
- }]
- }
- ]
- },
- {
- "@id": "http://example.com/V",
- "@graph": [
- {
- "@id": "http://example.com/Subj1",
- "@type": ["http://example.com/Type2"],
- "http://example.com/ref": [{"@id": "http://example.com/V"}],
- "http://example.com/list": [{
- "@list": [
- {"@value": "c"},
- {"@value": "d"}
- ]
- }]
- }
- ]
- }
-]
\ No newline at end of file
--- a/test-suite/tests/fromRdf-0006.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<http://example.com/Subj1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Type> <http://example.com/U> .
-<http://example.com/Subj1> <http://example.com/ref> <http://example.com/U> <http://example.com/U> .
-<http://example.com/Subj1> <http://example.com/list> _:a <http://example.com/U> .
-_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "a" <http://example.com/U> .
-_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b <http://example.com/U> .
-_:b <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "b" <http://example.com/U> .
-_:b <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://example.com/U> .
-<http://example.com/Subj1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Type2> <http://example.com/V> .
-<http://example.com/Subj1> <http://example.com/ref> <http://example.com/V> <http://example.com/V> .
-<http://example.com/Subj1> <http://example.com/list> _:c <http://example.com/V> .
-_:c <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "c" <http://example.com/V> .
-_:c <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:d <http://example.com/V> .
-_:d <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "d" <http://example.com/V> .
-_:d <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://example.com/V> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/fromRdf-0007-in.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,5 @@
+<http://data.wikipedia.org/snaks/Assertions> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.wikipedia.org/vocab#SnakSet> .
+<http://data.wikipedia.org/snaks/Assertions> <http://data.wikipedia.org/vocab#assertedBy> "http://gregkellogg.net/foaf#me" .
+<http://data.wikipedia.org/snaks/BerlinFact> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.wikipedia.org/vocab#Snak> <http://data.wikipedia.org/snaks/Assertions> .
+<http://data.wikipedia.org/snaks/BerlinFact> <http://data.wikipedia.org/vocab#assertedBy> "http://www.statistik-berlin-brandenburg.de/" <http://data.wikipedia.org/snaks/Assertions> .
+<http://en.wikipedia.org/wiki/Berlin> <http://data.wikipedia.org/vocab#population> "3499879"^^<http://www.w3.org/2001/XMLSchema#integer> <http://data.wikipedia.org/snaks/BerlinFact> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/fromRdf-0007-out.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,27 @@
+[
+ {
+ "@id": "http://data.wikipedia.org/snaks/Assertions",
+ "@type": ["http://data.wikipedia.org/vocab#SnakSet"],
+ "http://data.wikipedia.org/vocab#assertedBy": [{"@value": "http://gregkellogg.net/foaf#me"}
+ ],
+ "@graph": [
+ {
+ "@id": "http://data.wikipedia.org/snaks/BerlinFact",
+ "@type": ["http://data.wikipedia.org/vocab#Snak"],
+ "http://data.wikipedia.org/vocab#assertedBy": [{"@value": "http://www.statistik-berlin-brandenburg.de/"}]
+ }
+ ]
+ },
+ {
+ "@id": "http://data.wikipedia.org/snaks/BerlinFact",
+ "@graph": [
+ {
+ "@id": "http://en.wikipedia.org/wiki/Berlin",
+ "http://data.wikipedia.org/vocab#population": [{
+ "@value": "3499879",
+ "@type": "http://www.w3.org/2001/XMLSchema#integer"
+ }]
+ }
+ ]
+ }
+]
\ No newline at end of file
--- a/test-suite/tests/fromRdf-0007.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-[
- {
- "@id": "http://data.wikipedia.org/snaks/Assertions",
- "@type": ["http://data.wikipedia.org/vocab#SnakSet"],
- "http://data.wikipedia.org/vocab#assertedBy": [{"@value": "http://gregkellogg.net/foaf#me"}
- ],
- "@graph": [
- {
- "@id": "http://data.wikipedia.org/snaks/BerlinFact",
- "@type": ["http://data.wikipedia.org/vocab#Snak"],
- "http://data.wikipedia.org/vocab#assertedBy": [{"@value": "http://www.statistik-berlin-brandenburg.de/"}]
- }
- ]
- },
- {
- "@id": "http://data.wikipedia.org/snaks/BerlinFact",
- "@graph": [
- {
- "@id": "http://en.wikipedia.org/wiki/Berlin",
- "http://data.wikipedia.org/vocab#population": [{
- "@value": "3499879",
- "@type": "http://www.w3.org/2001/XMLSchema#integer"
- }]
- }
- ]
- }
-]
\ No newline at end of file
--- a/test-suite/tests/fromRdf-0007.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<http://data.wikipedia.org/snaks/Assertions> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.wikipedia.org/vocab#SnakSet> .
-<http://data.wikipedia.org/snaks/Assertions> <http://data.wikipedia.org/vocab#assertedBy> "http://gregkellogg.net/foaf#me" .
-<http://data.wikipedia.org/snaks/BerlinFact> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.wikipedia.org/vocab#Snak> <http://data.wikipedia.org/snaks/Assertions> .
-<http://data.wikipedia.org/snaks/BerlinFact> <http://data.wikipedia.org/vocab#assertedBy> "http://www.statistik-berlin-brandenburg.de/" <http://data.wikipedia.org/snaks/Assertions> .
-<http://en.wikipedia.org/wiki/Berlin> <http://data.wikipedia.org/vocab#population> "3499879"^^<http://www.w3.org/2001/XMLSchema#integer> <http://data.wikipedia.org/snaks/BerlinFact> .
--- a/test-suite/tests/fromRdf-manifest.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ b/test-suite/tests/fromRdf-manifest.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -9,44 +9,44 @@
"@type": ["test:TestCase", "jld:FromRDFTest"],
"name": "Object Lists",
"purpose": "Tests generation using different types of objects.",
- "input": "fromRdf-0001.nq",
- "expect": "fromRdf-0001.jsonld"
+ "input": "fromRdf-0001-in.nq",
+ "expect": "fromRdf-0001-out.jsonld"
}, {
"@type": ["test:TestCase", "jld:FromRDFTest"],
"name": "Native Types",
"purpose": "Use native datatypes, where possible.",
- "input": "fromRdf-0002.nq",
- "expect": "fromRdf-0002.jsonld"
+ "input": "fromRdf-0002-in.nq",
+ "expect": "fromRdf-0002-out.jsonld"
}, {
"@type": ["test:TestCase", "jld:FromRDFTest"],
"name": "BNodes and references",
"purpose": "BNode name generation and references between resources.",
- "input": "fromRdf-0003.nq",
- "expect": "fromRdf-0003.jsonld"
+ "input": "fromRdf-0003-in.nq",
+ "expect": "fromRdf-0003-out.jsonld"
}, {
"@type": ["test:TestCase", "jld:FromRDFTest"],
"name": "Lists",
"purpose": "Multiple lists with different types of element.",
- "input": "fromRdf-0004.nq",
- "expect": "fromRdf-0004.jsonld"
+ "input": "fromRdf-0004-in.nq",
+ "expect": "fromRdf-0004-out.jsonld"
}, {
"@type": ["test:TestCase", "jld:FromRDFTest"],
"name": "Document with list",
"purpose": "Uses a named graph containing a list.",
- "input": "fromRdf-0005.nq",
- "expect": "fromRdf-0005.jsonld"
+ "input": "fromRdf-0005-in.nq",
+ "expect": "fromRdf-0005-out.jsonld"
}, {
"@type": ["test:TestCase", "jld:FromRDFTest"],
"name": "Two graphs having same subject but different values",
"purpose": "Ensure that properties and list elements aren't confused between graphs.",
- "input": "fromRdf-0006.nq",
- "expect": "fromRdf-0006.jsonld"
+ "input": "fromRdf-0006-in.nq",
+ "expect": "fromRdf-0006-out.jsonld"
}, {
"@type": ["test:TestCase", "jld:FromRDFTest"],
"name": "Graph with multiple named graphs",
"purpose": "Testing @graph recursion.",
- "input": "fromRdf-0007.nq",
- "expect": "fromRdf-0007.jsonld"
+ "input": "fromRdf-0007-in.nq",
+ "expect": "fromRdf-0007-out.jsonld"
}
]
}
--- a/test-suite/tests/rdf-0001.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
- "@id": "http://greggkellogg.net/foaf#me",
- "http://xmlns.com/foaf/0.1/name": "Gregg Kellogg"
-}
\ No newline at end of file
--- a/test-suite/tests/rdf-0001.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .
--- a/test-suite/tests/rdf-0002.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-{
- "@context": {"foaf": "http://xmlns.com/foaf/0.1/"},
- "@id": "http://greggkellogg.net/foaf#me",
- "foaf:name": "Gregg Kellogg"
-}
\ No newline at end of file
--- a/test-suite/tests/rdf-0002.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .
--- a/test-suite/tests/rdf-0003.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
- "@context": {"foaf": "http://xmlns.com/foaf/0.1/"},
- "@type": "foaf:Person"
-}
\ No newline at end of file
--- a/test-suite/tests/rdf-0003.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
--- a/test-suite/tests/rdf-0004.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-{
- "http://www.w3.org/2000/01/rdf-schema#label": {
- "@value": "A plain literal with a lang tag.",
- "@language": "en-us"
- }
-}
\ No newline at end of file
--- a/test-suite/tests/rdf-0004.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-_:t0 <http://www.w3.org/2000/01/rdf-schema#label> "A plain literal with a lang tag."@en-us .
--- a/test-suite/tests/rdf-0005.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-{
- "@id": "http://greggkellogg.net/foaf#me",
- "http://xmlns.com/foaf/0.1/knows": {
- "http://xmlns.com/foaf/0.1/name": {"@value": "Herman Iván", "@language": "hu"}
- }
-}
--- a/test-suite/tests/rdf-0005.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-_:t0 <http://xmlns.com/foaf/0.1/name> "Herman Iv\u00E1n"@hu .
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
--- a/test-suite/tests/rdf-0006.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-{
- "@id": "http://greggkellogg.net/foaf#me",
- "http://purl.org/dc/terms/created": {
- "@value": "1957-02-27",
- "@type": "http://www.w3.org/2001/XMLSchema#date"
- }
-}
--- a/test-suite/tests/rdf-0006.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-<http://greggkellogg.net/foaf#me> <http://purl.org/dc/terms/created> "1957-02-27"^^<http://www.w3.org/2001/XMLSchema#date> .
--- a/test-suite/tests/rdf-0007.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
- "@id": "http://greggkellogg.net/foaf#me",
- "@type": "http://xmlns.com/foaf/0.1/Person"
-}
\ No newline at end of file
--- a/test-suite/tests/rdf-0007.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-<http://greggkellogg.net/foaf#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
--- a/test-suite/tests/rdf-0008.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
- "@context": {"d": "http://example.com/default#"},
- "d:foo": "bar"
-}
--- a/test-suite/tests/rdf-0008.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-_:t0 <http://example.com/default#foo> "bar" .
--- a/test-suite/tests/rdf-0009.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
- "@context": {"": "http://example.com/default#"},
- ":foo": "bar"
-}
--- a/test-suite/tests/rdf-0009.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-_:t0 <http://example.com/default#foo> "bar" .
--- a/test-suite/tests/rdf-0010.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-{
- "@context": {"foaf": "http://xmlns.com/foaf/0.1/"},
- "@id": "http://greggkellogg.net/foaf#me",
- "foaf:knows": {
- "@id": "http://manu.sporny.org/#me",
- "foaf:name": "Manu Sporny"
- }
-}
--- a/test-suite/tests/rdf-0010.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<http://manu.sporny.org/#me> <http://xmlns.com/foaf/0.1/name> "Manu Sporny" .
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> <http://manu.sporny.org/#me> .
--- a/test-suite/tests/rdf-0011.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-{
- "@context": {
- "foaf": "http://xmlns.com/foaf/0.1/"
- },
- "@id": "http://greggkellogg.net/foaf#me",
- "foaf:knows": {
- "foaf:name": "Dave Longley"
- }
-}
--- a/test-suite/tests/rdf-0011.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-_:t0 <http://xmlns.com/foaf/0.1/name> "Dave Longley" .
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
--- a/test-suite/tests/rdf-0012.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-{
- "@context": {
- "foaf": "http://xmlns.com/foaf/0.1/"
- },
- "@id": "http://greggkellogg.net/foaf#me",
- "foaf:knows": ["Manu Sporny", "Dave Longley"]
-}
\ No newline at end of file
--- a/test-suite/tests/rdf-0012.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> "Manu Sporny" .
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> "Dave Longley" .
--- a/test-suite/tests/rdf-0013.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-{
- "@context": {
- "foaf": "http://xmlns.com/foaf/0.1/"
- },
- "@id": "http://greggkellogg.net/foaf#me",
- "foaf:knows": {"@list": []}
-}
--- a/test-suite/tests/rdf-0013.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
--- a/test-suite/tests/rdf-0014.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-{
- "@context": {
- "foaf": "http://xmlns.com/foaf/0.1/"
- },
- "@id": "http://greggkellogg.net/foaf#me",
- "foaf:knows": {"@list": ["Manu Sporny"]}
-}
--- a/test-suite/tests/rdf-0014.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Manu Sporny" .
-_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
--- a/test-suite/tests/rdf-0015.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-{
- "@context": {
- "foaf": "http://xmlns.com/foaf/0.1/"
- },
- "@id": "http://greggkellogg.net/foaf#me",
- "foaf:knows": {"@list": ["Manu Sporny", "Dave Longley"]}
-}
--- a/test-suite/tests/rdf-0015.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Manu Sporny" .
-_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:t1 .
-_:t1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Dave Longley" .
-_:t1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
--- a/test-suite/tests/rdf-0016.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
- "@id": "",
- "@type": "http://www.w3.org/2000/01/rdf-schema#Resource"
-}
\ No newline at end of file
--- a/test-suite/tests/rdf-0016.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-<http://json-ld.org/test-suite/tests/rdf-0016.jsonld> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Resource> .
--- a/test-suite/tests/rdf-0017.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
- "@id": "a/b",
- "@type": "http://www.w3.org/2000/01/rdf-schema#Resource"
-}
\ No newline at end of file
--- a/test-suite/tests/rdf-0017.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-<http://json-ld.org/test-suite/tests/a/b> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Resource> .
--- a/test-suite/tests/rdf-0018.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
- "@id": "#frag",
- "@type": "http://www.w3.org/2000/01/rdf-schema#Resource"
-}
\ No newline at end of file
--- a/test-suite/tests/rdf-0018.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-<http://json-ld.org/test-suite/tests/rdf-0018.jsonld#frag> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Resource> .
--- a/test-suite/tests/rdf-0019.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-{
- "@context": {
- "foaf": "http://xmlns.com/foaf/0.1/",
- "knows": {"@id": "http://xmlns.com/foaf/0.1/knows", "@type": "@id"}
- },
- "@id": "http://greggkellogg.net/foaf#me",
- "knows": "http://manu.sporny.org/#me"
-}
--- a/test-suite/tests/rdf-0019.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> <http://manu.sporny.org/#me> .
--- a/test-suite/tests/rdf-0020.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-{
- "@context": {
- "xsd": "http://www.w3.org/2001/XMLSchema#",
- "created": {"@id": "http://purl.org/dc/terms/created", "@type": "xsd:date"}
- },
- "@id": "http://greggkellogg.net/foaf#me",
- "created": "1957-02-27"
-}
--- a/test-suite/tests/rdf-0020.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-<http://greggkellogg.net/foaf#me> <http://purl.org/dc/terms/created> "1957-02-27"^^<http://www.w3.org/2001/XMLSchema#date> .
--- a/test-suite/tests/rdf-0021.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
- "@context": { "measure": "http://example/measure#"},
- "measure:cups": 5.3
-}
\ No newline at end of file
--- a/test-suite/tests/rdf-0021.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-_:t0 <http://example/measure#cups> "5.3"^^<http://www.w3.org/2001/XMLSchema#double> .
--- a/test-suite/tests/rdf-0022.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
- "@context": { "measure": "http://example/measure#"},
- "measure:cups": 5.3e0
-}
\ No newline at end of file
--- a/test-suite/tests/rdf-0022.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-_:t0 <http://example/measure#cups> "5.3"^^<http://www.w3.org/2001/XMLSchema#double> .
--- a/test-suite/tests/rdf-0023.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
- "@context": { "chem": "http://example/chem#"},
- "chem:protons": 12
-}
\ No newline at end of file
--- a/test-suite/tests/rdf-0023.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-_:t0 <http://example/chem#protons> "12"^^<http://www.w3.org/2001/XMLSchema#integer> .
--- a/test-suite/tests/rdf-0024.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
- "@context": { "sensor": "http://example/sensor#"},
- "sensor:active": true
-}
\ No newline at end of file
--- a/test-suite/tests/rdf-0024.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-_:t0 <http://example/sensor#active> "true"^^<http://www.w3.org/2001/XMLSchema#boolean> .
--- a/test-suite/tests/rdf-0025.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-{
- "@context": {
- "knows": {"@id": "http://xmlns.com/foaf/0.1/knows", "@container": "@list"}
- },
- "@id": "http://greggkellogg.net/foaf#me",
- "knows": ["Manu Sporny"]
-}
--- a/test-suite/tests/rdf-0025.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Manu Sporny" .
-_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
--- a/test-suite/tests/rdf-0026.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
- "@context": {"rdfs": "http://www.w3.org/2000/01/rdf-schema#"},
- "@type": ["rdfs:Resource", "rdfs:Class"]
-}
--- a/test-suite/tests/rdf-0026.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Resource> .
-_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
--- a/test-suite/tests/rdf-0027.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-{
- "@context": {
- "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
- "ex": "http://example.org/",
- "xsd": "http://www.w3.org/2001/XMLSchema#",
- "ex:locatedIn": {"@type": "@id"},
- "ex:hasPopulaton": {"@type": "xsd:integer"},
- "ex:hasReference": {"@type": "@id"}
- },
- "@graph": [
- {
- "@id": "http://example.org/ParisFact1",
- "@type": "rdf:Graph",
- "@graph": {
- "@id": "http://example.org/location/Paris#this",
- "ex:locatedIn": "http://example.org/location/France#this"
- },
- "ex:hasReference": ["http://www.britannica.com/", "http://www.wikipedia.org/", "http://www.brockhaus.de/"]
- },
- {
- "@id": "http://example.org/ParisFact2",
- "@type": "rdf:Graph",
- "@graph": {
- "@id": "http://example.org/location/Paris#this",
- "ex:hasPopulation": 7000000
- },
- "ex:hasReference": "http://www.wikipedia.org/"
- }
- ]
-}
--- a/test-suite/tests/rdf-0027.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<http://example.org/ParisFact1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Graph> .
-<http://example.org/ParisFact1> <http://example.org/hasReference> <http://www.britannica.com/> .
-<http://example.org/ParisFact1> <http://example.org/hasReference> <http://www.wikipedia.org/> .
-<http://example.org/ParisFact1> <http://example.org/hasReference> <http://www.brockhaus.de/> .
-<http://example.org/ParisFact2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Graph> .
-<http://example.org/ParisFact2> <http://example.org/hasReference> <http://www.wikipedia.org/> .
-<http://example.org/location/Paris#this> <http://example.org/locatedIn> <http://example.org/location/France#this> <http://example.org/ParisFact1> .
-<http://example.org/location/Paris#this> <http://example.org/hasPopulation> "7000000"^^<http://www.w3.org/2001/XMLSchema#integer> <http://example.org/ParisFact2> .
--- a/test-suite/tests/rdf-0028.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-{
- "@context": {
- "sec": "http://purl.org/security#",
- "xsd": "http://www.w3.org/2001/XMLSchema#",
- "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
- "dc": "http://purl.org/dc/terms/",
- "sec:signer": {"@type": "@id"},
- "dc:created": {"@type": "xsd:dateTime"}
- },
- "@id": "http://example.org/sig1",
- "@type": ["rdf:Graph", "sec:SignedGraph"],
- "dc:created": "2011-09-23T20:21:34Z",
- "sec:signer": "http://payswarm.example.com/i/john/keys/5",
- "sec:signatureValue": "OGQzNGVkMzVm4NTIyZTkZDYMmMzQzNmExMgoYzI43Q3ODIyOWM32NjI=",
- "@graph": {
- "@id": "http://example.org/fact1",
- "dc:title": "Hello World!"
- }
-}
\ No newline at end of file
--- a/test-suite/tests/rdf-0028.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<http://example.org/sig1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Graph> .
-<http://example.org/sig1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/security#SignedGraph> .
-<http://example.org/sig1> <http://purl.org/dc/terms/created> "2011-09-23T20:21:34Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://example.org/sig1> <http://purl.org/security#signer> <http://payswarm.example.com/i/john/keys/5> .
-<http://example.org/sig1> <http://purl.org/security#signatureValue> "OGQzNGVkMzVm4NTIyZTkZDYMmMzQzNmExMgoYzI43Q3ODIyOWM32NjI=" .
-<http://example.org/fact1> <http://purl.org/dc/terms/title> "Hello World!" <http://example.org/sig1> .
--- a/test-suite/tests/rdf-0029.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-{
- "@context": {
- "wd": "http://data.wikipedia.org/vocab#",
- "ws": "http://data.wikipedia.org/snaks/",
- "wp": "http://en.wikipedia.org/wiki/"
- },
- "@id": "ws:Assertions",
- "@type": "wd:SnakSet",
- "@graph": {
- "@id": "ws:BerlinFact",
- "@type": "wd:Snak",
- "@graph": {
- "@id": "wp:Berlin",
- "wd:population": 3499879
- },
- "wd:assertedBy": "http://www.statistik-berlin-brandenburg.de/"
- }
-}
--- a/test-suite/tests/rdf-0029.nq Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-<http://data.wikipedia.org/snaks/Assertions> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.wikipedia.org/vocab#SnakSet> .
-<http://data.wikipedia.org/snaks/BerlinFact> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.wikipedia.org/vocab#Snak> <http://data.wikipedia.org/snaks/Assertions> .
-<http://data.wikipedia.org/snaks/BerlinFact> <http://data.wikipedia.org/vocab#assertedBy> "http://www.statistik-berlin-brandenburg.de/" <http://data.wikipedia.org/snaks/Assertions> .
-<http://en.wikipedia.org/wiki/Berlin> <http://data.wikipedia.org/vocab#population> "3499879"^^<http://www.w3.org/2001/XMLSchema#integer> <http://data.wikipedia.org/snaks/BerlinFact> .
--- a/test-suite/tests/rdf-manifest.jsonld Sun Apr 29 23:23:33 2012 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,184 +0,0 @@
-{
- "@context": "http://json-ld.org/test-suite/context.jsonld",
- "@id": "",
- "@type": "jld:Manifest",
- "rdfs:comment": "JSON-LD to RDF tests use SPARQL queries to determine results",
- "name": "rdf",
- "sequence": [
- {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0001.jsonld",
- "name": "Plain literal with URIs",
- "purpose": "Tests generation of a triple using full URIs and a plain literal.",
- "quads": "rdf-0001.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0002.jsonld",
- "name": "Plain literal with CURIE from default context",
- "purpose": "Tests generation of a triple using a CURIE defined in the default context.",
- "quads": "rdf-0002.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0003.jsonld",
- "name": "Default subject is BNode",
- "purpose": "Tests that a BNode is created if no explicit subject is set.",
- "quads": "rdf-0003.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0004.jsonld",
- "name": "Literal with language tag",
- "purpose": "Tests that a plain literal is created with a language tag.",
- "quads": "rdf-0004.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0005.jsonld",
- "name": "Extended character set literal",
- "purpose": "Tests that a literal may be created using extended characters.",
- "quads": "rdf-0005.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0006.jsonld",
- "name": "Typed literal",
- "purpose": "Tests creation of a literal with a datatype.",
- "quads": "rdf-0006.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0007.jsonld",
- "name": "Tests 'a' generates rdf:type and object is implicit IRI",
- "purpose": "Verify that 'a' is an alias for rdf:type, and the object is created as an IRI.",
- "quads": "rdf-0007.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0008.jsonld",
- "name": "Test prefix defined in @context",
- "purpose": "Generate an IRI using a prefix defined within an @context.",
- "quads": "rdf-0008.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0009.jsonld",
- "name": "Test using default prefix",
- "purpose": "The empty string may be used to define the default prefix.",
- "quads": "rdf-0009.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0010.jsonld",
- "name": "Test object processing defines object",
- "purpose": "A property referencing an associative array gets object from subject of array.",
- "quads": "rdf-0010.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0011.jsonld",
- "name": "Test object processing defines object with implicit BNode",
- "purpose": "If no @ is specified, a BNode is created, and will be used as the object of an enclosing property.",
- "quads": "rdf-0011.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0012.jsonld",
- "name": "Multiple Objects for a Single Property",
- "purpose": "Tests that Multiple Objects are for a Single Property using array syntax.",
- "quads": "rdf-0012.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0013.jsonld",
- "name": "Creation of an empty list",
- "purpose": "Tests that [[]] generates an empty list.",
- "quads": "rdf-0013.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0014.jsonld",
- "name": "Creation of a list with single element",
- "purpose": "Tests that [[a]] generates list.",
- "quads": "rdf-0014.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0015.jsonld",
- "name": "Creation of a list with multiple elements",
- "purpose": "Tests that list with multiple elements.",
- "quads": "rdf-0015.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0016.jsonld",
- "name": "Empty IRI expands to resource location",
- "purpose": "Expanding an empty IRI uses the test file location.",
- "quads": "rdf-0016.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0017.jsonld",
- "name": "Relative IRI expands relative resource location",
- "purpose": "Expanding a relative IRI uses the test file location.",
- "quads": "rdf-0017.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0018.jsonld",
- "name": "Frag ID expands relative resource location",
- "purpose": "Expanding a fragment uses the test file location.",
- "quads": "rdf-0018.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0019.jsonld",
- "name": "Test type coercion to anyURI",
- "purpose": "Tests coercion of object to anyURI when specified.",
- "quads": "rdf-0019.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0020.jsonld",
- "name": "Test type coercion to typed literal",
- "purpose": "Tests coercion of object to a typed literal when specified.",
- "quads": "rdf-0020.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0021.jsonld",
- "name": "Test coercion of decimal value to double",
- "purpose": "Tests that a decimal value generates a xsd:double typed literal.",
- "quads": "rdf-0021.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0022.jsonld",
- "name": "Test coercion of double value",
- "purpose": "Tests that a decimal value generates a xsd:double typed literal;.",
- "quads": "rdf-0022.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0023.jsonld",
- "name": "Test coercion of integer value",
- "purpose": "Tests that a decimal value generates a xsd:integer typed literal.",
- "quads": "rdf-0023.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0024.jsonld",
- "name": "Test coercion of boolean value",
- "purpose": "Tests that a decimal value generates a xsd:boolean typed literal.",
- "quads": "rdf-0024.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0025.jsonld",
- "name": "Test list coercion with single element",
- "purpose": "Tests that an array with a single element on a property with @list coercion creates an RDF Collection.",
- "quads": "rdf-0025.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0026.jsonld",
- "name": "Test creation of multiple types",
- "purpose": "Tests that @type with an array of types creates multiple types.",
- "quads": "rdf-0026.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0027.jsonld",
- "name": "Simple named graph (Wikidata)",
- "purpose": "Using @graph with other keys places triples in a named graph.",
- "quads": "rdf-0027.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "input": "rdf-0028.jsonld",
- "name": "Simple named graph",
- "purpose": "Signing a graph.",
- "quads": "rdf-0028.nq"
- }, {
- "@type": ["test:TestCase", "jld:RDFTest"],
- "name": "named graph with embedded named graph",
- "purpose": "Tests that named graphs containing named graphs flatten to single level of graph naming.",
- "input": "rdf-0029.jsonld",
- "quads": "rdf-0029.nq"
- }
- ]
-}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0001-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,4 @@
+{
+ "@id": "http://greggkellogg.net/foaf#me",
+ "http://xmlns.com/foaf/0.1/name": "Gregg Kellogg"
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0001-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,1 @@
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0002-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,5 @@
+{
+ "@context": {"foaf": "http://xmlns.com/foaf/0.1/"},
+ "@id": "http://greggkellogg.net/foaf#me",
+ "foaf:name": "Gregg Kellogg"
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0002-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,1 @@
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0003-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,4 @@
+{
+ "@context": {"foaf": "http://xmlns.com/foaf/0.1/"},
+ "@type": "foaf:Person"
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0003-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,1 @@
+_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0004-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,6 @@
+{
+ "http://www.w3.org/2000/01/rdf-schema#label": {
+ "@value": "A plain literal with a lang tag.",
+ "@language": "en-us"
+ }
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0004-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,1 @@
+_:t0 <http://www.w3.org/2000/01/rdf-schema#label> "A plain literal with a lang tag."@en-us .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0005-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,6 @@
+{
+ "@id": "http://greggkellogg.net/foaf#me",
+ "http://xmlns.com/foaf/0.1/knows": {
+ "http://xmlns.com/foaf/0.1/name": {"@value": "Herman Iván", "@language": "hu"}
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0005-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,2 @@
+_:t0 <http://xmlns.com/foaf/0.1/name> "Herman Iv\u00E1n"@hu .
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0006-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,7 @@
+{
+ "@id": "http://greggkellogg.net/foaf#me",
+ "http://purl.org/dc/terms/created": {
+ "@value": "1957-02-27",
+ "@type": "http://www.w3.org/2001/XMLSchema#date"
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0006-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,1 @@
+<http://greggkellogg.net/foaf#me> <http://purl.org/dc/terms/created> "1957-02-27"^^<http://www.w3.org/2001/XMLSchema#date> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0007-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,4 @@
+{
+ "@id": "http://greggkellogg.net/foaf#me",
+ "@type": "http://xmlns.com/foaf/0.1/Person"
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0007-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,1 @@
+<http://greggkellogg.net/foaf#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0008-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,4 @@
+{
+ "@context": {"d": "http://example.com/default#"},
+ "d:foo": "bar"
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0008-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,1 @@
+_:t0 <http://example.com/default#foo> "bar" .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0009-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,4 @@
+{
+ "@context": {"": "http://example.com/default#"},
+ ":foo": "bar"
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0009-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,1 @@
+_:t0 <http://example.com/default#foo> "bar" .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0010-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,8 @@
+{
+ "@context": {"foaf": "http://xmlns.com/foaf/0.1/"},
+ "@id": "http://greggkellogg.net/foaf#me",
+ "foaf:knows": {
+ "@id": "http://manu.sporny.org/#me",
+ "foaf:name": "Manu Sporny"
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0010-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,2 @@
+<http://manu.sporny.org/#me> <http://xmlns.com/foaf/0.1/name> "Manu Sporny" .
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> <http://manu.sporny.org/#me> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0011-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,9 @@
+{
+ "@context": {
+ "foaf": "http://xmlns.com/foaf/0.1/"
+ },
+ "@id": "http://greggkellogg.net/foaf#me",
+ "foaf:knows": {
+ "foaf:name": "Dave Longley"
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0011-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,2 @@
+_:t0 <http://xmlns.com/foaf/0.1/name> "Dave Longley" .
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0012-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,7 @@
+{
+ "@context": {
+ "foaf": "http://xmlns.com/foaf/0.1/"
+ },
+ "@id": "http://greggkellogg.net/foaf#me",
+ "foaf:knows": ["Manu Sporny", "Dave Longley"]
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0012-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,2 @@
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> "Manu Sporny" .
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> "Dave Longley" .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0013-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,7 @@
+{
+ "@context": {
+ "foaf": "http://xmlns.com/foaf/0.1/"
+ },
+ "@id": "http://greggkellogg.net/foaf#me",
+ "foaf:knows": {"@list": []}
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0013-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,1 @@
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0014-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,7 @@
+{
+ "@context": {
+ "foaf": "http://xmlns.com/foaf/0.1/"
+ },
+ "@id": "http://greggkellogg.net/foaf#me",
+ "foaf:knows": {"@list": ["Manu Sporny"]}
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0014-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,3 @@
+_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Manu Sporny" .
+_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0015-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,7 @@
+{
+ "@context": {
+ "foaf": "http://xmlns.com/foaf/0.1/"
+ },
+ "@id": "http://greggkellogg.net/foaf#me",
+ "foaf:knows": {"@list": ["Manu Sporny", "Dave Longley"]}
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0015-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,5 @@
+_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Manu Sporny" .
+_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:t1 .
+_:t1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Dave Longley" .
+_:t1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0016-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,4 @@
+{
+ "@id": "",
+ "@type": "http://www.w3.org/2000/01/rdf-schema#Resource"
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0016-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,1 @@
+<http://json-ld.org/test-suite/tests/rdf-0016.jsonld> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Resource> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0017-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,4 @@
+{
+ "@id": "a/b",
+ "@type": "http://www.w3.org/2000/01/rdf-schema#Resource"
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0017-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,1 @@
+<http://json-ld.org/test-suite/tests/a/b> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Resource> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0018-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,4 @@
+{
+ "@id": "#frag",
+ "@type": "http://www.w3.org/2000/01/rdf-schema#Resource"
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0018-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,1 @@
+<http://json-ld.org/test-suite/tests/rdf-0018.jsonld#frag> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Resource> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0019-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,8 @@
+{
+ "@context": {
+ "foaf": "http://xmlns.com/foaf/0.1/",
+ "knows": {"@id": "http://xmlns.com/foaf/0.1/knows", "@type": "@id"}
+ },
+ "@id": "http://greggkellogg.net/foaf#me",
+ "knows": "http://manu.sporny.org/#me"
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0019-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,1 @@
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> <http://manu.sporny.org/#me> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0020-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,8 @@
+{
+ "@context": {
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
+ "created": {"@id": "http://purl.org/dc/terms/created", "@type": "xsd:date"}
+ },
+ "@id": "http://greggkellogg.net/foaf#me",
+ "created": "1957-02-27"
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0020-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,1 @@
+<http://greggkellogg.net/foaf#me> <http://purl.org/dc/terms/created> "1957-02-27"^^<http://www.w3.org/2001/XMLSchema#date> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0021-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,4 @@
+{
+ "@context": { "measure": "http://example/measure#"},
+ "measure:cups": 5.3
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0021-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,1 @@
+_:t0 <http://example/measure#cups> "5.3"^^<http://www.w3.org/2001/XMLSchema#double> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0022-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,4 @@
+{
+ "@context": { "measure": "http://example/measure#"},
+ "measure:cups": 5.3e0
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0022-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,1 @@
+_:t0 <http://example/measure#cups> "5.3"^^<http://www.w3.org/2001/XMLSchema#double> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0023-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,4 @@
+{
+ "@context": { "chem": "http://example/chem#"},
+ "chem:protons": 12
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0023-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,1 @@
+_:t0 <http://example/chem#protons> "12"^^<http://www.w3.org/2001/XMLSchema#integer> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0024-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,4 @@
+{
+ "@context": { "sensor": "http://example/sensor#"},
+ "sensor:active": true
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0024-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,1 @@
+_:t0 <http://example/sensor#active> "true"^^<http://www.w3.org/2001/XMLSchema#boolean> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0025-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,7 @@
+{
+ "@context": {
+ "knows": {"@id": "http://xmlns.com/foaf/0.1/knows", "@container": "@list"}
+ },
+ "@id": "http://greggkellogg.net/foaf#me",
+ "knows": ["Manu Sporny"]
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0025-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,3 @@
+_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Manu Sporny" .
+_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0026-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,4 @@
+{
+ "@context": {"rdfs": "http://www.w3.org/2000/01/rdf-schema#"},
+ "@type": ["rdfs:Resource", "rdfs:Class"]
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0026-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,2 @@
+_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0027-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,30 @@
+{
+ "@context": {
+ "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
+ "ex": "http://example.org/",
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
+ "ex:locatedIn": {"@type": "@id"},
+ "ex:hasPopulaton": {"@type": "xsd:integer"},
+ "ex:hasReference": {"@type": "@id"}
+ },
+ "@graph": [
+ {
+ "@id": "http://example.org/ParisFact1",
+ "@type": "rdf:Graph",
+ "@graph": {
+ "@id": "http://example.org/location/Paris#this",
+ "ex:locatedIn": "http://example.org/location/France#this"
+ },
+ "ex:hasReference": ["http://www.britannica.com/", "http://www.wikipedia.org/", "http://www.brockhaus.de/"]
+ },
+ {
+ "@id": "http://example.org/ParisFact2",
+ "@type": "rdf:Graph",
+ "@graph": {
+ "@id": "http://example.org/location/Paris#this",
+ "ex:hasPopulation": 7000000
+ },
+ "ex:hasReference": "http://www.wikipedia.org/"
+ }
+ ]
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0027-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,8 @@
+<http://example.org/ParisFact1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Graph> .
+<http://example.org/ParisFact1> <http://example.org/hasReference> <http://www.britannica.com/> .
+<http://example.org/ParisFact1> <http://example.org/hasReference> <http://www.wikipedia.org/> .
+<http://example.org/ParisFact1> <http://example.org/hasReference> <http://www.brockhaus.de/> .
+<http://example.org/ParisFact2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Graph> .
+<http://example.org/ParisFact2> <http://example.org/hasReference> <http://www.wikipedia.org/> .
+<http://example.org/location/Paris#this> <http://example.org/locatedIn> <http://example.org/location/France#this> <http://example.org/ParisFact1> .
+<http://example.org/location/Paris#this> <http://example.org/hasPopulation> "7000000"^^<http://www.w3.org/2001/XMLSchema#integer> <http://example.org/ParisFact2> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0028-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,19 @@
+{
+ "@context": {
+ "sec": "http://purl.org/security#",
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
+ "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
+ "dc": "http://purl.org/dc/terms/",
+ "sec:signer": {"@type": "@id"},
+ "dc:created": {"@type": "xsd:dateTime"}
+ },
+ "@id": "http://example.org/sig1",
+ "@type": ["rdf:Graph", "sec:SignedGraph"],
+ "dc:created": "2011-09-23T20:21:34Z",
+ "sec:signer": "http://payswarm.example.com/i/john/keys/5",
+ "sec:signatureValue": "OGQzNGVkMzVm4NTIyZTkZDYMmMzQzNmExMgoYzI43Q3ODIyOWM32NjI=",
+ "@graph": {
+ "@id": "http://example.org/fact1",
+ "dc:title": "Hello World!"
+ }
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0028-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,6 @@
+<http://example.org/sig1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Graph> .
+<http://example.org/sig1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/security#SignedGraph> .
+<http://example.org/sig1> <http://purl.org/dc/terms/created> "2011-09-23T20:21:34Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<http://example.org/sig1> <http://purl.org/security#signer> <http://payswarm.example.com/i/john/keys/5> .
+<http://example.org/sig1> <http://purl.org/security#signatureValue> "OGQzNGVkMzVm4NTIyZTkZDYMmMzQzNmExMgoYzI43Q3ODIyOWM32NjI=" .
+<http://example.org/fact1> <http://purl.org/dc/terms/title> "Hello World!" <http://example.org/sig1> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0029-in.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,18 @@
+{
+ "@context": {
+ "wd": "http://data.wikipedia.org/vocab#",
+ "ws": "http://data.wikipedia.org/snaks/",
+ "wp": "http://en.wikipedia.org/wiki/"
+ },
+ "@id": "ws:Assertions",
+ "@type": "wd:SnakSet",
+ "@graph": {
+ "@id": "ws:BerlinFact",
+ "@type": "wd:Snak",
+ "@graph": {
+ "@id": "wp:Berlin",
+ "wd:population": 3499879
+ },
+ "wd:assertedBy": "http://www.statistik-berlin-brandenburg.de/"
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0029-out.nq Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,4 @@
+<http://data.wikipedia.org/snaks/Assertions> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.wikipedia.org/vocab#SnakSet> .
+<http://data.wikipedia.org/snaks/BerlinFact> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.wikipedia.org/vocab#Snak> <http://data.wikipedia.org/snaks/Assertions> .
+<http://data.wikipedia.org/snaks/BerlinFact> <http://data.wikipedia.org/vocab#assertedBy> "http://www.statistik-berlin-brandenburg.de/" <http://data.wikipedia.org/snaks/Assertions> .
+<http://en.wikipedia.org/wiki/Berlin> <http://data.wikipedia.org/vocab#population> "3499879"^^<http://www.w3.org/2001/XMLSchema#integer> <http://data.wikipedia.org/snaks/BerlinFact> .
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-manifest.jsonld Mon Apr 30 12:56:29 2012 -0400
@@ -0,0 +1,184 @@
+{
+ "@context": "http://json-ld.org/test-suite/context.jsonld",
+ "@id": "",
+ "@type": "jld:Manifest",
+ "rdfs:comment": "JSON-LD to RDF tests generate N-Quads Output",
+ "name": "toRdf",
+ "sequence": [
+ {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Plain literal with URIs",
+ "purpose": "Tests generation of a triple using full URIs and a plain literal.",
+ "input": "toRdf-0001-in.jsonld",
+ "expect": "toRdf-0001-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Plain literal with CURIE from default context",
+ "purpose": "Tests generation of a triple using a CURIE defined in the default context.",
+ "input": "toRdf-0002-in.jsonld",
+ "expect": "toRdf-0002-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Default subject is BNode",
+ "purpose": "Tests that a BNode is created if no explicit subject is set.",
+ "input": "toRdf-0003-in.jsonld",
+ "expect": "toRdf-0003-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Literal with language tag",
+ "purpose": "Tests that a plain literal is created with a language tag.",
+ "input": "toRdf-0004-in.jsonld",
+ "expect": "toRdf-0004-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Extended character set literal",
+ "purpose": "Tests that a literal may be created using extended characters.",
+ "input": "toRdf-0005-in.jsonld",
+ "expect": "toRdf-0005-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Typed literal",
+ "purpose": "Tests creation of a literal with a datatype.",
+ "input": "toRdf-0006-in.jsonld",
+ "expect": "toRdf-0006-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Tests 'a' generates rdf:type and object is implicit IRI",
+ "purpose": "Verify that 'a' is an alias for rdf:type, and the object is created as an IRI.",
+ "input": "toRdf-0007-in.jsonld",
+ "expect": "toRdf-0007-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Test prefix defined in @context",
+ "purpose": "Generate an IRI using a prefix defined within an @context.",
+ "input": "toRdf-0008-in.jsonld",
+ "expect": "toRdf-0008-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Test using default prefix",
+ "purpose": "The empty string may be used to define the default prefix.",
+ "input": "toRdf-0009-in.jsonld",
+ "expect": "toRdf-0009-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Test object processing defines object",
+ "purpose": "A property referencing an associative array gets object from subject of array.",
+ "input": "toRdf-0010-in.jsonld",
+ "expect": "toRdf-0010-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Test object processing defines object with implicit BNode",
+ "purpose": "If no @ is specified, a BNode is created, and will be used as the object of an enclosing property.",
+ "input": "toRdf-0011-in.jsonld",
+ "expect": "toRdf-0011-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Multiple Objects for a Single Property",
+ "purpose": "Tests that Multiple Objects are for a Single Property using array syntax.",
+ "input": "toRdf-0012-in.jsonld",
+ "expect": "toRdf-0012-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Creation of an empty list",
+ "purpose": "Tests that [[]] generates an empty list.",
+ "input": "toRdf-0013-in.jsonld",
+ "expect": "toRdf-0013-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Creation of a list with single element",
+ "purpose": "Tests that [[a]] generates list.",
+ "input": "toRdf-0014-in.jsonld",
+ "expect": "toRdf-0014-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Creation of a list with multiple elements",
+ "purpose": "Tests that list with multiple elements.",
+ "input": "toRdf-0015-in.jsonld",
+ "expect": "toRdf-0015-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Empty IRI expands to resource location",
+ "purpose": "Expanding an empty IRI uses the test file location.",
+ "input": "toRdf-0016-in.jsonld",
+ "expect": "toRdf-0016-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Relative IRI expands relative resource location",
+ "purpose": "Expanding a relative IRI uses the test file location.",
+ "input": "toRdf-0017-in.jsonld",
+ "expect": "toRdf-0017-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Frag ID expands relative resource location",
+ "purpose": "Expanding a fragment uses the test file location.",
+ "input": "toRdf-0018-in.jsonld",
+ "expect": "toRdf-0018-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Test type coercion to anyURI",
+ "purpose": "Tests coercion of object to anyURI when specified.",
+ "input": "toRdf-0019-in.jsonld",
+ "expect": "toRdf-0019-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Test type coercion to typed literal",
+ "purpose": "Tests coercion of object to a typed literal when specified.",
+ "input": "toRdf-0020-in.jsonld",
+ "expect": "toRdf-0020-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Test coercion of decimal value to double",
+ "purpose": "Tests that a decimal value generates a xsd:double typed literal.",
+ "input": "toRdf-0021-in.jsonld",
+ "expect": "toRdf-0021-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Test coercion of double value",
+ "purpose": "Tests that a decimal value generates a xsd:double typed literal;.",
+ "input": "toRdf-0022-in.jsonld",
+ "expect": "toRdf-0022-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Test coercion of integer value",
+ "purpose": "Tests that a decimal value generates a xsd:integer typed literal.",
+ "input": "toRdf-0023-in.jsonld",
+ "expect": "toRdf-0023-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Test coercion of boolean value",
+ "purpose": "Tests that a decimal value generates a xsd:boolean typed literal.",
+ "input": "toRdf-0024-in.jsonld",
+ "expect": "toRdf-0024-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Test list coercion with single element",
+ "purpose": "Tests that an array with a single element on a property with @list coercion creates an RDF Collection.",
+ "input": "toRdf-0025-in.jsonld",
+ "expect": "toRdf-0025-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Test creation of multiple types",
+ "purpose": "Tests that @type with an array of types creates multiple types.",
+ "input": "toRdf-0026-in.jsonld",
+ "expect": "toRdf-0026-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Simple named graph (Wikidata)",
+ "purpose": "Using @graph with other keys places triples in a named graph.",
+ "input": "toRdf-0027-in.jsonld",
+ "expect": "toRdf-0027-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Simple named graph",
+ "purpose": "Signing a graph.",
+ "input": "toRdf-0028-in.jsonld",
+ "expect": "toRdf-0028-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "named graph with embedded named graph",
+ "purpose": "Tests that named graphs containing named graphs flatten to single level of graph naming.",
+ "input": "toRdf-0029-in.jsonld",
+ "expect": "toRdf-0029-out.nq"
+ }
+ ]
+}