--- a/test-suite/manifest.ttl Sat Aug 06 23:19:33 2011 -0400
+++ b/test-suite/manifest.ttl Sat Aug 06 23:19:42 2011 -0400
@@ -6,243 +6,244 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix jld: <http://json-ld.org/test-suite/vocab#> .
-<test-cases/0001> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0001> dc:contributor "Gregg Kellogg";
dc:title "Plain literal with URIs";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :required;
- :informationResourceInput <test-cases/0001.json>;
- :informationResourceResults <test-cases/0001.sparql>;
+ :informationResourceInput <test-cases/rdf-0001.jsonld>;
+ :informationResourceResults <test-cases/rdf-0001.sparql>;
:purpose "Tests generation of a triple using full URIs and a plain literal.";
:specificationReference <http://json-ld.org/spec/latest/#plain-literals>;
:expectedResults "true"^^xsd:boolean .
-<test-cases/0002> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0002> dc:contributor "Gregg Kellogg";
dc:title "Plain literal with CURIE from default context";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :required;
- :informationResourceInput <test-cases/0002.json>;
- :informationResourceResults <test-cases/0002.sparql>;
+ :informationResourceInput <test-cases/rdf-0002.jsonld>;
+ :informationResourceResults <test-cases/rdf-0002.sparql>;
:purpose "Tests generation of a triple using a CURIE defined in the default context.";
:specificationReference <http://json-ld.org/spec/latest/#iris>;
:expectedResults "true"^^xsd:boolean .
-<test-cases/0003> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0003> dc:contributor "Gregg Kellogg";
dc:title "Default subject is BNode";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :required;
- :informationResourceInput <test-cases/0003.json>;
- :informationResourceResults <test-cases/0003.sparql>;
+ :informationResourceInput <test-cases/rdf-0003.jsonld>;
+ :informationResourceResults <test-cases/rdf-0003.sparql>;
:purpose "Tests that a BNode is created if no explicit subject is set.";
:specificationReference <http://json-ld.org/spec/latest/#the-json-ld-processing-algorithm>;
:expectedResults "true"^^xsd:boolean .
-<test-cases/0004> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0004> dc:contributor "Gregg Kellogg";
dc:title "Literal with language tag";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :required;
- :informationResourceInput <test-cases/0004.json>;
- :informationResourceResults <test-cases/0004.sparql>;
+ :informationResourceInput <test-cases/rdf-0004.jsonld>;
+ :informationResourceResults <test-cases/rdf-0004.sparql>;
:purpose "Tests that a plain literal is created with a language tag.";
:specificationReference <http://json-ld.org/spec/latest/#language-specification-in-plain-literals>;
:expectedResults "true"^^xsd:boolean .
-<test-cases/0005> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0005> dc:contributor "Gregg Kellogg";
dc:title "Extended character set literal";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :required;
- :informationResourceInput <test-cases/0005.json>;
- :informationResourceResults <test-cases/0005.sparql>;
+ :informationResourceInput <test-cases/rdf-0005.jsonld>;
+ :informationResourceResults <test-cases/rdf-0005.sparql>;
:purpose "Tests that a literal may be created using extended characters.";
:specificationReference "";
:expectedResults "true"^^xsd:boolean .
-<test-cases/0006> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0006> dc:contributor "Gregg Kellogg";
dc:title "Typed literal";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :required;
- :informationResourceInput <test-cases/0006.json>;
- :informationResourceResults <test-cases/0006.sparql>;
+ :informationResourceInput <test-cases/rdf-0006.jsonld>;
+ :informationResourceResults <test-cases/rdf-0006.sparql>;
:purpose "Tests creation of a literal with a datatype.";
:specificationReference <http://json-ld.org/spec/latest/#typed-literals>;
:expectedResults "true"^^xsd:boolean .
-<test-cases/0007> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0007> dc:contributor "Gregg Kellogg";
dc:title "Tests 'a' generates rdf:type and object is implicit IRI";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :required;
- :informationResourceInput <test-cases/0007.json>;
- :informationResourceResults <test-cases/0007.sparql>;
+ :informationResourceInput <test-cases/rdf-0007.jsonld>;
+ :informationResourceResults <test-cases/rdf-0007.sparql>;
:purpose "Verify that 'a' is an alias for rdf:type, and the object is created as an IRI.";
:specificationReference <http://json-ld.org/spec/latest/#the-json-ld-processing-algorithm>;
:expectedResults "true"^^xsd:boolean .
-<test-cases/0008> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0008> dc:contributor "Gregg Kellogg";
dc:title "Test prefix defined in @context";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :required;
- :informationResourceInput <test-cases/0008.json>;
- :informationResourceResults <test-cases/0008.sparql>;
+ :informationResourceInput <test-cases/rdf-0008.jsonld>;
+ :informationResourceResults <test-cases/rdf-0008.sparql>;
:purpose "Generate an IRI using a prefix defined within an @context.";
:specificationReference <http://json-ld.org/spec/latest/#the-json-ld-processing-algorithm>;
:expectedResults "true"^^xsd:boolean .
-<test-cases/0009> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0009> dc:contributor "Gregg Kellogg";
dc:title "Test using default prefix";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :required;
- :informationResourceInput <test-cases/0009.json>;
- :informationResourceResults <test-cases/0009.sparql>;
+ :informationResourceInput <test-cases/rdf-0009.jsonld>;
+ :informationResourceResults <test-cases/rdf-0009.sparql>;
:purpose "The empty string may be used to define the default prefix.";
:specificationReference "";
:expectedResults "true"^^xsd:boolean .
-<test-cases/0010> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0010> dc:contributor "Gregg Kellogg";
dc:title "Test object processing defines object";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :required;
- :informationResourceInput <test-cases/0010.json>;
- :informationResourceResults <test-cases/0010.sparql>;
+ :informationResourceInput <test-cases/rdf-0010.jsonld>;
+ :informationResourceResults <test-cases/rdf-0010.sparql>;
:purpose "A property referencing an associative array gets object from subject of array.";
:specificationReference <http://json-ld.org/spec/latest/#the-json-ld-processing-algorithm>;
:expectedResults "true"^^xsd:boolean .
-<test-cases/0011> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0011> dc:contributor "Gregg Kellogg";
dc:title "Test object processing defines object with implicit BNode";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :required;
- :informationResourceInput <test-cases/0011.json>;
- :informationResourceResults <test-cases/0011.sparql>;
+ :informationResourceInput <test-cases/rdf-0011.jsonld>;
+ :informationResourceResults <test-cases/rdf-0011.sparql>;
:purpose "If no @ is specified, a BNode is created, and will be used as the object of an enclosing property.";
:specificationReference <http://json-ld.org/spec/latest/#the-json-ld-processing-algorithm>;
:expectedResults "true"^^xsd:boolean .
-<test-cases/0012> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0012> dc:contributor "Gregg Kellogg";
dc:title "Multiple Objects for a Single Property";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :required;
- :informationResourceInput <test-cases/0012.json>;
- :informationResourceResults <test-cases/0012.sparql>;
+ :informationResourceInput <test-cases/rdf-0012.jsonld>;
+ :informationResourceResults <test-cases/rdf-0012.sparql>;
:purpose "Tests that Multiple Objects are for a Single Property using array syntax.";
:specificationReference <http://json-ld.org/spec/latest/#multiple-objects-for-a-single-property>;
:expectedResults "true"^^xsd:boolean .
-<test-cases/0013> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0013> dc:contributor "Gregg Kellogg";
dc:title "Creation of an empty list";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :optional;
- :informationResourceInput <test-cases/0013.json>;
- :informationResourceResults <test-cases/0013.sparql>;
+ :informationResourceInput <test-cases/rdf-0013.jsonld>;
+ :informationResourceResults <test-cases/rdf-0013.sparql>;
:purpose "Tests that [[]] generates an empty list.";
:specificationReference "If the value is a regular array, should we support RDF List/Sequence generation of triples?";
:expectedResults "true"^^xsd:boolean .
-<test-cases/0014> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0014> dc:contributor "Gregg Kellogg";
dc:title "Creation of a list with single element";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :optional;
- :informationResourceInput <test-cases/0014.json>;
- :informationResourceResults <test-cases/0014.sparql>;
+ :informationResourceInput <test-cases/rdf-0014.jsonld>;
+ :informationResourceResults <test-cases/rdf-0014.sparql>;
:purpose "Tests that [[a]] generates list.";
:specificationReference "If the value is a regular array, should we support RDF List/Sequence generation of triples?";
:expectedResults "true"^^xsd:boolean .
-<test-cases/0015> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0015> dc:contributor "Gregg Kellogg";
dc:title "Creation of a list with multiple elements";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :optional;
- :informationResourceInput <test-cases/0015.json>;
- :informationResourceResults <test-cases/0015.sparql>;
+ :informationResourceInput <test-cases/rdf-0015.jsonld>;
+ :informationResourceResults <test-cases/rdf-0015.sparql>;
:purpose "Tests that list with multiple elements.";
:specificationReference "If the value is a regular array, should we support RDF List/Sequence generation of triples?";
:expectedResults "true"^^xsd:boolean .
-<test-cases/0016> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0016> dc:contributor "Gregg Kellogg";
dc:title "Test @base";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :required;
- :informationResourceInput <test-cases/0016.json>;
- :informationResourceResults <test-cases/0016.sparql>;
+ :informationResourceInput <test-cases/rdf-0016.jsonld>;
+ :informationResourceResults <test-cases/rdf-0016.sparql>;
:purpose "Tests using @base in @context for IRI processing.";
:specificationReference <http://json-ld.org/spec/latest/#the-json-ld-processing-algorithm>;
:expectedResults "true"^^xsd:boolean .
-<test-cases/0017> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0017> dc:contributor "Gregg Kellogg";
dc:title "Test @vocab";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :required;
- :informationResourceInput <test-cases/0017.json>;
- :informationResourceResults <test-cases/0017.sparql>;
+ :informationResourceInput <test-cases/rdf-0017.jsonld>;
+ :informationResourceResults <test-cases/rdf-0017.sparql>;
:purpose "Tests using @vocab in @context for IRI processing.";
:specificationReference <http://json-ld.org/spec/latest/#the-json-ld-processing-algorithm>;
:expectedResults "true"^^xsd:boolean .
-<test-cases/0018> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0018> dc:contributor "Gregg Kellogg";
dc:title "Test @base and @vocab together";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :required;
- :informationResourceInput <test-cases/0018.json>;
- :informationResourceResults <test-cases/0018.sparql>;
+ :informationResourceInput <test-cases/rdf-0018.jsonld>;
+ :informationResourceResults <test-cases/rdf-0018.sparql>;
:purpose "Tests using @base and @vocab in @context for IRI processing.";
:specificationReference <http://json-ld.org/spec/latest/#the-json-ld-processing-algorithm>;
:expectedResults "true"^^xsd:boolean .
-<test-cases/0019> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0019> dc:contributor "Gregg Kellogg";
dc:title "Test type coercion to anyURI";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :required;
- :informationResourceInput <test-cases/0019.json>;
- :informationResourceResults <test-cases/0019.sparql>;
+ :informationResourceInput <test-cases/rdf-0019.jsonld>;
+ :informationResourceResults <test-cases/rdf-0019.sparql>;
:purpose "Tests coercion of object to anyURI when specified.";
:specificationReference <http://json-ld.org/spec/latest/#type-coercion>;
:expectedResults "true"^^xsd:boolean .
-<test-cases/0020> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0020> dc:contributor "Gregg Kellogg";
dc:title "Test type coercion to typed literal";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :required;
- :informationResourceInput <test-cases/0020.json>;
- :informationResourceResults <test-cases/0020.sparql>;
+ :informationResourceInput <test-cases/rdf-0020.jsonld>;
+ :informationResourceResults <test-cases/rdf-0020.sparql>;
:purpose "Tests coercion of object to a typed literal when specified.";
:specificationReference <http://json-ld.org/spec/latest/#type-coercion>;
:expectedResults "true"^^xsd:boolean .
-<test-cases/0021> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0021> dc:contributor "Gregg Kellogg";
dc:title "Test coercion of decimal value";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :buggy;
- :informationResourceInput <test-cases/0021.json>;
- :informationResourceResults <test-cases/0021.sparql>;
+ :informationResourceInput <test-cases/rdf-0021.jsonld>;
+ :informationResourceResults <test-cases/rdf-0021.sparql>;
:purpose "Tests that a decimal value generates a xsd:decimal typed literal (buggy test).";
:specificationReference <http://json-ld.org/spec/latest/#automatic-typing>;
:expectedResults "true"^^xsd:boolean .
-<test-cases/0022> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0022> dc:contributor "Gregg Kellogg";
dc:title "Test coercion of double value";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :required;
- :informationResourceInput <test-cases/0022.json>;
- :informationResourceResults <test-cases/0022.sparql>;
+ :informationResourceInput <test-cases/rdf-0022.jsonld>;
+ :informationResourceResults <test-cases/rdf-0022.sparql>;
:purpose "Tests that a decimal value generates a xsd:double typed literal;.";
:specificationReference <http://json-ld.org/spec/latest/#automatic-typing>;
:expectedResults "true"^^xsd:boolean .
-<test-cases/0023> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0023> dc:contributor "Gregg Kellogg";
dc:title "Test coercion of integer value";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :required;
- :informationResourceInput <test-cases/0023.json>;
- :informationResourceResults <test-cases/0023.sparql>;
+ :informationResourceInput <test-cases/rdf-0023.jsonld>;
+ :informationResourceResults <test-cases/rdf-0023.sparql>;
:purpose "Tests that a decimal value generates a xsd:integer typed literal.";
:specificationReference <http://json-ld.org/spec/latest/#automatic-typing>;
:expectedResults "true"^^xsd:boolean .
-<test-cases/0024> dc:contributor "Gregg Kellogg";
+<test-cases/rdf-0024> dc:contributor "Gregg Kellogg";
dc:title "Test coercion of boolean value";
- a :TestCase;
+ a :TestCase, jld:SPARQLTest;
:classification :required;
- :informationResourceInput <test-cases/0024.json>;
- :informationResourceResults <test-cases/0024.sparql>;
+ :informationResourceInput <test-cases/rdf-0024.jsonld>;
+ :informationResourceResults <test-cases/rdf-0024.sparql>;
:purpose "Tests that a decimal value generates a xsd:boolean typed literal.";
:specificationReference <http://json-ld.org/spec/latest/#automatic-typing>;
:expectedResults "true"^^xsd:boolean .
--- a/test-suite/tests/0001.json Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
- "@": "http://greggkellogg.net/foaf#me",
- "http://xmlns.com/foaf/0.1/name": "Gregg Kellogg"
-}
\ No newline at end of file
--- a/test-suite/tests/0001.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
- <http://greggkellogg.net/foaf#me> foaf:name "Gregg Kellogg" .
-}
--- a/test-suite/tests/0002.json Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
- "@": "http://greggkellogg.net/foaf#me",
- "foaf:name": "Gregg Kellogg"
-}
\ No newline at end of file
--- a/test-suite/tests/0002.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
- <http://greggkellogg.net/foaf#me> foaf:name "Gregg Kellogg" .
-}
--- a/test-suite/tests/0003.json Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-{ "a": "foaf:Person" }
\ No newline at end of file
--- a/test-suite/tests/0003.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
- ?s a foaf:Person .
-}
--- a/test-suite/tests/0004.json Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-{
- "rdfs:label": {"@literal": "A plain literal with a lang tag.", "@language": "en-us"}
-}
\ No newline at end of file
--- a/test-suite/tests/0004.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
-
-ASK WHERE {
- _:s rdfs:label "A plain literal with a lang tag."@en-us .
-}
--- a/test-suite/tests/0005.json Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-[
- {
- "@": "http://greggkellogg.net/foaf#me",
- "foaf:knows": {"@iri": "http://www.ivan-herman.net/foaf#me"}
- },{
- "@": "http://www.ivan-herman.net/foaf#me",
- "foaf:name": {"@literal": "Herman Iván", "@language": "hu"}
- }
-]
\ No newline at end of file
--- a/test-suite/tests/0005.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
- <http://greggkellogg.net/foaf#me> foaf:knows <http://www.ivan-herman.net/foaf#me> .
- <http://www.ivan-herman.net/foaf#me> foaf:name "Herman Iv\u00E1n"@hu .
-}
\ No newline at end of file
--- a/test-suite/tests/0006.json Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
- "@": "http://greggkellogg.net/foaf#me",
- "dcterms:created": {"@literal": "1957-02-27", "@datatype": "xsd:date"}
-}
--- a/test-suite/tests/0006.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-PREFIX dcterms: <http://purl.org/dc/terms/>
-PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
-
-ASK WHERE {
- <http://greggkellogg.net/foaf#me> dcterms:created "1957-02-27"^^xsd:date
-}
--- a/test-suite/tests/0007.json Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
- "@": "http://greggkellogg.net/foaf#me",
- "a": "foaf:Person"
-}
\ No newline at end of file
--- a/test-suite/tests/0007.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
-
-ASK WHERE {
- <http://greggkellogg.net/foaf#me> rdf:type foaf:Person
-}
\ No newline at end of file
--- a/test-suite/tests/0008.json Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-{
- "@context": {
- "d": "http://example.com/default#"
- },
- "d:foo": "bar"
-}
--- a/test-suite/tests/0008.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-ASK WHERE {
- _:a <http://example.com/default#foo> "bar" .
-}
\ No newline at end of file
--- a/test-suite/tests/0009.json Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-{
- "@context": {
- "": "http://example.com/default#"
- },
- ":foo": "bar"
-}
--- a/test-suite/tests/0009.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-ASK WHERE {
- _:a <http://example.com/default#foo> "bar" .
-}
\ No newline at end of file
--- a/test-suite/tests/0010.json Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-{
- "@": "http://greggkellogg.net/foaf#me",
- "foaf:knows": {
- "@": "http://www.ivan-herman.net/foaf#me",
- "foaf:name": "Ivan Herman"
- }
-}
--- a/test-suite/tests/0010.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
- <http://greggkellogg.net/foaf#me> foaf:knows <http://www.ivan-herman.net/foaf#me> .
- <http://www.ivan-herman.net/foaf#me> foaf:name "Ivan Herman" .
-}
--- a/test-suite/tests/0011.json Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-{
- "@": "http://greggkellogg.net/foaf#me",
- "foaf:knows": {
- "foaf:name": "Manu Sporny"
- }
-}
--- a/test-suite/tests/0011.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
- <http://greggkellogg.net/foaf#me> foaf:knows ?o .
- ?o foaf:name "Manu Sporny" .
-}
--- a/test-suite/tests/0012.json Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
- "@": "http://greggkellogg.net/foaf#me",
- "foaf:knows": ["Manu Sporny", "Ivan Herman"]
-}
\ No newline at end of file
--- a/test-suite/tests/0012.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
- <http://greggkellogg.net/foaf#me> foaf:knows "Manu Sporny", "Ivan Herman" .
-}
--- a/test-suite/tests/0013.json Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
- "@": "http://greggkellogg.net/foaf#me",
- "foaf:knows": [[]]
-}
--- a/test-suite/tests/0013.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
- <http://greggkellogg.net/foaf#me> foaf:knows [] .
-}
--- a/test-suite/tests/0014.json Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
- "@": "http://greggkellogg.net/foaf#me",
- "foaf:knows": [["Manu Sporny"]]
-}
--- a/test-suite/tests/0014.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
- <http://greggkellogg.net/foaf#me> foaf:knows ("Manu Sporny") .
-}
--- a/test-suite/tests/0015.json Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
- "@": "http://greggkellogg.net/foaf#me",
- "foaf:knows": [["Manu Sporny", "Ivan Herman"]]
-}
--- a/test-suite/tests/0015.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
- <http://greggkellogg.net/foaf#me> foaf:knows ("Manu Sporny" "Ivan Herman") .
-}
--- a/test-suite/tests/0016.json Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-{
- "@context": {
- "@base": "http://greggkellogg.net/foaf"
- },
- "@": "#me",
- "doap:homepage": {"@iri": "http://github.com/gkellogg/"}
-}
\ No newline at end of file
--- a/test-suite/tests/0016.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
-PREFIX doap: <http://usefulinc.com/ns/doap#>
-
-ASK WHERE {
- <http://greggkellogg.net/foaf#me> doap:homepage <http://github.com/gkellogg/>
-}
\ No newline at end of file
--- a/test-suite/tests/0017.json Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-{
- "@context": {
- "@vocab": "http://usefulinc.com/ns/doap#"
- },
- "@": "http://greggkellogg.net/foaf#me",
- "homepage": {"@iri": "http://github.com/gkellogg/"}
-}
--- a/test-suite/tests/0017.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
-PREFIX doap: <http://usefulinc.com/ns/doap#>
-
-ASK WHERE {
- <http://greggkellogg.net/foaf#me> doap:homepage <http://github.com/gkellogg/>
-}
\ No newline at end of file
--- a/test-suite/tests/0018.json Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-{
- "@context": {
- "@base": "http://greggkellogg.net/foaf",
- "@vocab": "http://usefulinc.com/ns/doap#"
- },
- "@": "#me",
- "homepage": {"@iri": "http://github.com/gkellogg/"}
-}
--- a/test-suite/tests/0018.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
-PREFIX doap: <http://usefulinc.com/ns/doap#>
-
-ASK WHERE {
- <http://greggkellogg.net/foaf#me> doap:homepage <http://github.com/gkellogg/>
-}
\ No newline at end of file
--- a/test-suite/tests/0019.json Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-{
- "@context": {
- "@coerce": { "xsd:anyURI": "foaf:knows"}
- },
- "@": "http://greggkellogg.net/foaf#me",
- "foaf:knows": "http://www.ivan-herman.net/foaf#me"
-}
--- a/test-suite/tests/0019.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
- <http://greggkellogg.net/foaf#me> foaf:knows <http://www.ivan-herman.net/foaf#me> .
-}
\ No newline at end of file
--- a/test-suite/tests/0020.json Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-{
- "@context": {
- "@coerce": { "xsd:date": "dcterms:created"}
- },
- "@": "http://greggkellogg.net/foaf#me",
- "dcterms:created": "1957-02-27"
-}
--- a/test-suite/tests/0020.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-PREFIX dcterms: <http://purl.org/dc/terms/>
-PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
-
-ASK WHERE {
- <http://greggkellogg.net/foaf#me> dcterms:created "1957-02-27"^^xsd:date
-}
--- a/test-suite/tests/0021.json Sat Aug 06 23:19:33 2011 -0400
+++ /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/0021.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
-
-ASK WHERE {
- _:a <http://example/measure#cups> "5.3"^^xsd:decimal
-}
\ No newline at end of file
--- a/test-suite/tests/0022.json Sat Aug 06 23:19:33 2011 -0400
+++ /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/0022.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
-
-ASK WHERE {
- _:a <http://example/measure#cups> "5.3"^^xsd:double
-}
\ No newline at end of file
--- a/test-suite/tests/0023.json Sat Aug 06 23:19:33 2011 -0400
+++ /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/0023.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
-
-ASK WHERE {
- _:a <http://example/chem#protons> "12"^^xsd:integer
-}
\ No newline at end of file
--- a/test-suite/tests/0024.json Sat Aug 06 23:19:33 2011 -0400
+++ /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/0024.sparql Sat Aug 06 23:19:33 2011 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
-
-ASK WHERE {
- _:a <http://example/sensor#active> "true"^^xsd:boolean
-}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0001.jsonld Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,4 @@
+{
+ "@subject": "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/rdf-0001.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,5 @@
+PREFIX foaf: <http://xmlns.com/foaf/0.1/>
+
+ASK WHERE {
+ <http://greggkellogg.net/foaf#me> foaf:name "Gregg Kellogg" .
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0002.jsonld Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,4 @@
+{
+ "@subject": "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/rdf-0002.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,5 @@
+PREFIX foaf: <http://xmlns.com/foaf/0.1/>
+
+ASK WHERE {
+ <http://greggkellogg.net/foaf#me> foaf:name "Gregg Kellogg" .
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0003.jsonld Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,1 @@
+{ "@type": "foaf:Person" }
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0003.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,5 @@
+PREFIX foaf: <http://xmlns.com/foaf/0.1/>
+
+ASK WHERE {
+ ?s a foaf:Person .
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0004.jsonld Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,6 @@
+{
+ "http://www.w3.org/2000/01/rdf-schema#label": {
+ "@literal": "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/rdf-0004.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,5 @@
+PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
+
+ASK WHERE {
+ _:s rdfs:label "A plain literal with a lang tag."@en-us .
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0005.jsonld Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,9 @@
+[
+ {
+ "@": "http://greggkellogg.net/foaf#me",
+ "http://xmlns.com/foaf/0.1/knows": {"@iri": "http://www.ivan-herman.net/foaf#me"}
+ },{
+ "@": "http://www.ivan-herman.net/foaf#me",
+ "http://xmlns.com/foaf/0.1/name": {"@literal": "Herman Iván", "@language": "hu"}
+ }
+]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0005.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,6 @@
+PREFIX foaf: <http://xmlns.com/foaf/0.1/>
+
+ASK WHERE {
+ <http://greggkellogg.net/foaf#me> foaf:knows <http://www.ivan-herman.net/foaf#me> .
+ <http://www.ivan-herman.net/foaf#me> foaf:name "Herman Iv\u00E1n"@hu .
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0006.jsonld Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,7 @@
+{
+ "@subject": "http://greggkellogg.net/foaf#me",
+ "http://purl.org/dc/terms/created": {
+ "@literal": "1957-02-27",
+ "@datatype": "http://www.w3.org/2001/XMLSchema#date"
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0006.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,6 @@
+PREFIX dc: <http://purl.org/dc/terms/>
+PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
+
+ASK WHERE {
+ <http://greggkellogg.net/foaf#me> dc:created "1957-02-27"^^xsd:date
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0007.jsonld Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,4 @@
+{
+ "@subject": "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/rdf-0007.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,6 @@
+PREFIX foaf: <http://xmlns.com/foaf/0.1/>
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+
+ASK WHERE {
+ <http://greggkellogg.net/foaf#me> rdf:type foaf:Person
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0008.jsonld Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,6 @@
+{
+ "@context": {
+ "d": "http://example.com/default#"
+ },
+ "d:foo": "bar"
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0008.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,3 @@
+ASK WHERE {
+ _:a <http://example.com/default#foo> "bar" .
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0009.jsonld Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,6 @@
+{
+ "@context": {
+ "": "http://example.com/default#"
+ },
+ ":foo": "bar"
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0009.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,3 @@
+ASK WHERE {
+ _:a <http://example.com/default#foo> "bar" .
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0010.jsonld Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,10 @@
+{
+ "@context": {
+ "foaf": "http://xmlns.com/foaf/0.1/"
+ },
+ "@subject": "http://greggkellogg.net/foaf#me",
+ "foaf:knows": {
+ "@subject": "http://www.ivan-herman.net/foaf#me",
+ "foaf:name": "Ivan Herman"
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0010.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,6 @@
+PREFIX foaf: <http://xmlns.com/foaf/0.1/>
+
+ASK WHERE {
+ <http://greggkellogg.net/foaf#me> foaf:knows <http://www.ivan-herman.net/foaf#me> .
+ <http://www.ivan-herman.net/foaf#me> foaf:name "Ivan Herman" .
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0011.jsonld Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,9 @@
+{
+ "@context": {
+ "foaf": "http://xmlns.com/foaf/0.1/"
+ },
+ "@subject": "http://greggkellogg.net/foaf#me",
+ "foaf:knows": {
+ "foaf:name": "Manu Sporny"
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0011.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,6 @@
+PREFIX foaf: <http://xmlns.com/foaf/0.1/>
+
+ASK WHERE {
+ <http://greggkellogg.net/foaf#me> foaf:knows ?o .
+ ?o foaf:name "Manu Sporny" .
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0012.jsonld Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,7 @@
+{
+ "@context": {
+ "foaf": "http://xmlns.com/foaf/0.1/"
+ },
+ "@subject": "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/rdf-0012.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,5 @@
+PREFIX foaf: <http://xmlns.com/foaf/0.1/>
+
+ASK WHERE {
+ <http://greggkellogg.net/foaf#me> foaf:knows "Manu Sporny", "Dave Longley" .
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0013.jsonld Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,7 @@
+{
+ "@context": {
+ "foaf": "http://xmlns.com/foaf/0.1/"
+ },
+ "@subject": "http://greggkellogg.net/foaf#me",
+ "foaf:knows": {"@list": []}
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0013.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,5 @@
+PREFIX foaf: <http://xmlns.com/foaf/0.1/>
+
+ASK WHERE {
+ <http://greggkellogg.net/foaf#me> foaf:knows [] .
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0014.jsonld Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,7 @@
+{
+ "@context": {
+ "foaf": "http://xmlns.com/foaf/0.1/"
+ },
+ "@subject": "http://greggkellogg.net/foaf#me",
+ "foaf:knows": {"@list": ["Manu Sporny"]}
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0014.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,5 @@
+PREFIX foaf: <http://xmlns.com/foaf/0.1/>
+
+ASK WHERE {
+ <http://greggkellogg.net/foaf#me> foaf:knows ("Manu Sporny") .
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0015.jsonld Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,7 @@
+{
+ "@context": {
+ "foaf": "http://xmlns.com/foaf/0.1/"
+ },
+ "@subject": "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/rdf-0015.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,5 @@
+PREFIX foaf: <http://xmlns.com/foaf/0.1/>
+
+ASK WHERE {
+ <http://greggkellogg.net/foaf#me> foaf:knows ("Manu Sporny" "Dave Longley") .
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0016.jsonld Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,8 @@
+{
+ "@context": {
+ "@base": "http://greggkellogg.net/foaf",
+ "foaf": "http://xmlns.com/foaf/0.1/"
+ },
+ "@subject": "#me",
+ "foaf:homepage": {"@iri": "http://github.com/gkellogg/"}
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0016.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,6 @@
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+PREFIX foaf: <http://xmlns.com/foaf/0.1/>
+
+ASK WHERE {
+ <http://greggkellogg.net/foaf#me> foaf:homepage <http://github.com/gkellogg/>
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0017.jsonld Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,7 @@
+{
+ "@context": {
+ "@vocab": "http://usefulinc.com/ns/doap#"
+ },
+ "@subject": "http://greggkellogg.net/foaf#me",
+ "homepage": {"@iri": "http://github.com/gkellogg/"}
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0017.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,6 @@
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+PREFIX doap: <http://usefulinc.com/ns/doap#>
+
+ASK WHERE {
+ <http://greggkellogg.net/foaf#me> doap:homepage <http://github.com/gkellogg/>
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0018.jsonld Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,8 @@
+{
+ "@context": {
+ "@base": "http://greggkellogg.net/foaf",
+ "@vocab": "http://usefulinc.com/ns/doap#"
+ },
+ "@subject": "#me",
+ "homepage": {"@iri": "http://github.com/gkellogg/"}
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0018.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,6 @@
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+PREFIX doap: <http://usefulinc.com/ns/doap#>
+
+ASK WHERE {
+ <http://greggkellogg.net/foaf#me> doap:homepage <http://github.com/gkellogg/>
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0019.jsonld Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,8 @@
+{
+ "@context": {
+ "foaf": "http://xmlns.com/foaf/0.1/",
+ "@coerce": { "@iri": "foaf:knows"}
+ },
+ "@subject": "http://greggkellogg.net/foaf#me",
+ "foaf:knows": "http://www.ivan-herman.net/foaf#me"
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0019.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,5 @@
+PREFIX foaf: <http://xmlns.com/foaf/0.1/>
+
+ASK WHERE {
+ <http://greggkellogg.net/foaf#me> foaf:knows <http://www.ivan-herman.net/foaf#me> .
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0020.jsonld Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,8 @@
+{
+ "@context": {
+ "dc": "http://purl.org/dc/terms/",
+ "@coerce": { "xsd:date": "dc:created"}
+ },
+ "@subject": "http://greggkellogg.net/foaf#me",
+ "dc:created": "1957-02-27"
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0020.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,6 @@
+PREFIX dcterms: <http://purl.org/dc/terms/>
+PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
+
+ASK WHERE {
+ <http://greggkellogg.net/foaf#me> dcterms:created "1957-02-27"^^xsd:date
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0021.jsonld Sat Aug 06 23:19:42 2011 -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/rdf-0021.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,5 @@
+PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
+
+ASK WHERE {
+ _:a <http://example/measure#cups> "5.3"^^xsd:decimal
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0022.jsonld Sat Aug 06 23:19:42 2011 -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/rdf-0022.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,5 @@
+PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
+
+ASK WHERE {
+ _:a <http://example/measure#cups> "5.3"^^xsd:double
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0023.jsonld Sat Aug 06 23:19:42 2011 -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/rdf-0023.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,5 @@
+PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
+
+ASK WHERE {
+ _:a <http://example/chem#protons> "12"^^xsd:integer
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0024.jsonld Sat Aug 06 23:19:42 2011 -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/rdf-0024.sparql Sat Aug 06 23:19:42 2011 -0400
@@ -0,0 +1,5 @@
+PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
+
+ASK WHERE {
+ _:a <http://example/sensor#active> "true"^^xsd:boolean
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0025.jsonld Sat Aug 06 23:19:42 2011 -0400
@@ -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 23:19:42 2011 -0400
@@ -0,0 +1,5 @@
+PREFIX foaf: <http://xmlns.com/foaf/0.1/>
+
+ASK WHERE {
+ <http://greggkellogg.net/foaf#me> foaf:knows ("Manu Sporny") .
+}