Update toRdf test results to not use xsd:string datatype explicitly. This is only for the data model, not for the serialized representation.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Fri, 19 Oct 2012 15:11:54 -0700
changeset 911 8a6bb09318e5
parent 910 132eb61f0d18
child 912 9b604847a2c8
Update toRdf test results to not use xsd:string datatype explicitly. This is only for the data model, not for the serialized representation.

From the Turtle WD:

If there is no datatype IRI and no language tag, the datatype is xsd:string.

This is true for N-Triples, N-Quads and other RDF serialization formats too.
test-suite/tests/toRdf-0001-out.nq
test-suite/tests/toRdf-0002-out.nq
test-suite/tests/toRdf-0008-out.nq
test-suite/tests/toRdf-0009-out.nq
test-suite/tests/toRdf-0010-out.nq
test-suite/tests/toRdf-0011-out.nq
test-suite/tests/toRdf-0012-out.nq
test-suite/tests/toRdf-0014-out.nq
test-suite/tests/toRdf-0015-out.nq
test-suite/tests/toRdf-0025-out.nq
test-suite/tests/toRdf-0028-out.nq
test-suite/tests/toRdf-0029-out.nq
test-suite/tests/toRdf-0030-out.nq
--- a/test-suite/tests/toRdf-0001-out.nq	Fri Oct 19 14:23:50 2012 -0400
+++ b/test-suite/tests/toRdf-0001-out.nq	Fri Oct 19 15:11:54 2012 -0700
@@ -1,1 +1,1 @@
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg"^^<http://www.w3.org/2001/XMLSchema#string> .
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .
--- a/test-suite/tests/toRdf-0002-out.nq	Fri Oct 19 14:23:50 2012 -0400
+++ b/test-suite/tests/toRdf-0002-out.nq	Fri Oct 19 15:11:54 2012 -0700
@@ -1,1 +1,1 @@
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg"^^<http://www.w3.org/2001/XMLSchema#string> .
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .
--- a/test-suite/tests/toRdf-0008-out.nq	Fri Oct 19 14:23:50 2012 -0400
+++ b/test-suite/tests/toRdf-0008-out.nq	Fri Oct 19 15:11:54 2012 -0700
@@ -1,1 +1,1 @@
-_:t0 <http://example.com/default#foo> "bar"^^<http://www.w3.org/2001/XMLSchema#string> .
+_:t0 <http://example.com/default#foo> "bar" .
--- a/test-suite/tests/toRdf-0009-out.nq	Fri Oct 19 14:23:50 2012 -0400
+++ b/test-suite/tests/toRdf-0009-out.nq	Fri Oct 19 15:11:54 2012 -0700
@@ -1,1 +1,1 @@
-_:t0 <http://example.com/default#> "bar"^^<http://www.w3.org/2001/XMLSchema#string> .
+_:t0 <http://example.com/default#> "bar" .
--- a/test-suite/tests/toRdf-0010-out.nq	Fri Oct 19 14:23:50 2012 -0400
+++ b/test-suite/tests/toRdf-0010-out.nq	Fri Oct 19 15:11:54 2012 -0700
@@ -1,2 +1,2 @@
 <http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> <http://manu.sporny.org/#me> .
-<http://manu.sporny.org/#me> <http://xmlns.com/foaf/0.1/name> "Manu Sporny"^^<http://www.w3.org/2001/XMLSchema#string> .
+<http://manu.sporny.org/#me> <http://xmlns.com/foaf/0.1/name> "Manu Sporny" .
--- a/test-suite/tests/toRdf-0011-out.nq	Fri Oct 19 14:23:50 2012 -0400
+++ b/test-suite/tests/toRdf-0011-out.nq	Fri Oct 19 15:11:54 2012 -0700
@@ -1,2 +1,2 @@
 <http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
-_:t0 <http://xmlns.com/foaf/0.1/name> "Dave Longley"^^<http://www.w3.org/2001/XMLSchema#string> .
+_:t0 <http://xmlns.com/foaf/0.1/name> "Dave Longley" .
--- a/test-suite/tests/toRdf-0012-out.nq	Fri Oct 19 14:23:50 2012 -0400
+++ b/test-suite/tests/toRdf-0012-out.nq	Fri Oct 19 15:11:54 2012 -0700
@@ -1,2 +1,2 @@
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> "Manu Sporny"^^<http://www.w3.org/2001/XMLSchema#string> .
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> "Dave Longley"^^<http://www.w3.org/2001/XMLSchema#string> .
+<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/toRdf-0014-out.nq	Fri Oct 19 14:23:50 2012 -0400
+++ b/test-suite/tests/toRdf-0014-out.nq	Fri Oct 19 15:11:54 2012 -0700
@@ -1,3 +1,3 @@
 <http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
-_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Manu Sporny"^^<http://www.w3.org/2001/XMLSchema#string> .
+_: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> .
--- a/test-suite/tests/toRdf-0015-out.nq	Fri Oct 19 14:23:50 2012 -0400
+++ b/test-suite/tests/toRdf-0015-out.nq	Fri Oct 19 15:11:54 2012 -0700
@@ -1,5 +1,5 @@
 <http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
-_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Manu Sporny"^^<http://www.w3.org/2001/XMLSchema#string> .
+_: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"^^<http://www.w3.org/2001/XMLSchema#string> .
+_: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> .
--- a/test-suite/tests/toRdf-0025-out.nq	Fri Oct 19 14:23:50 2012 -0400
+++ b/test-suite/tests/toRdf-0025-out.nq	Fri Oct 19 15:11:54 2012 -0700
@@ -1,3 +1,3 @@
 <http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
-_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Manu Sporny"^^<http://www.w3.org/2001/XMLSchema#string> .
+_: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> .
--- a/test-suite/tests/toRdf-0028-out.nq	Fri Oct 19 14:23:50 2012 -0400
+++ b/test-suite/tests/toRdf-0028-out.nq	Fri Oct 19 15:11:54 2012 -0700
@@ -1,6 +1,6 @@
-<http://example.org/fact1> <http://purl.org/dc/terms/title> "Hello World!"^^<http://www.w3.org/2001/XMLSchema#string> <http://example.org/sig1> .
+<http://example.org/fact1> <http://purl.org/dc/terms/title> "Hello World!" <http://example.org/sig1> .
 <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#signatureValue> "OGQzNGVkMzVm4NTIyZTkZDYMmMzQzNmExMgoYzI43Q3ODIyOWM32NjI="^^<http://www.w3.org/2001/XMLSchema#string> .
+<http://example.org/sig1> <http://purl.org/security#signatureValue> "OGQzNGVkMzVm4NTIyZTkZDYMmMzQzNmExMgoYzI43Q3ODIyOWM32NjI=" .
 <http://example.org/sig1> <http://purl.org/security#signer> <http://payswarm.example.com/i/john/keys/5> .
--- a/test-suite/tests/toRdf-0029-out.nq	Fri Oct 19 14:23:50 2012 -0400
+++ b/test-suite/tests/toRdf-0029-out.nq	Fri Oct 19 15:11:54 2012 -0700
@@ -1,4 +1,4 @@
 <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> .
 <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://www.w3.org/2001/XMLSchema#string> <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://data.wikipedia.org/snaks/Assertions> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.wikipedia.org/vocab#SnakSet> .
--- a/test-suite/tests/toRdf-0030-out.nq	Fri Oct 19 14:23:50 2012 -0400
+++ b/test-suite/tests/toRdf-0030-out.nq	Fri Oct 19 15:11:54 2012 -0700
@@ -1,7 +1,7 @@
 <http://manu.sporny.org/i/public> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <foaf:Person> <http://example.org/linked-data-graph> .
-<http://manu.sporny.org/i/public> <http://xmlns.com/foaf/0.1/knows> "http://greggkellogg.net/foaf#me"^^<http://www.w3.org/2001/XMLSchema#string> <http://example.org/linked-data-graph> .
-<http://manu.sporny.org/i/public> <http://xmlns.com/foaf/0.1/name> "Manu Sporny"^^<http://www.w3.org/2001/XMLSchema#string> <http://example.org/linked-data-graph> .
+<http://manu.sporny.org/i/public> <http://xmlns.com/foaf/0.1/knows> "http://greggkellogg.net/foaf#me" <http://example.org/linked-data-graph> .
+<http://manu.sporny.org/i/public> <http://xmlns.com/foaf/0.1/name> "Manu Sporny" <http://example.org/linked-data-graph> .
 <http://greggkellogg.net/foaf#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <foaf:Person> <http://example.org/linked-data-graph> .
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> "http://manu.sporny.org/i/public"^^<http://www.w3.org/2001/XMLSchema#string> <http://example.org/linked-data-graph> .
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg"^^<http://www.w3.org/2001/XMLSchema#string> <http://example.org/linked-data-graph> .
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> "http://manu.sporny.org/i/public" <http://example.org/linked-data-graph> .
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" <http://example.org/linked-data-graph> .
 <http://example.org/linked-data-graph> <http://example.org/asOf> "2012-04-09"^^<http://www.w3.org/2001/XMLSchema#date> .