Reorder quad statements based on sorted properties.
authorDave Longley <dlongley@digitalbazaar.com>
Mon, 30 Apr 2012 14:09:12 -0400
changeset 597 dbbf020bb9b9
parent 596 d2bddc5341e2
child 598 d0b88ceef5ea
Reorder quad statements based on sorted properties.
test-suite/tests/normalize-0014-out.jsonld
test-suite/tests/toRdf-0005-out.nq
test-suite/tests/toRdf-0010-out.nq
test-suite/tests/toRdf-0011-out.nq
test-suite/tests/toRdf-0014-out.nq
test-suite/tests/toRdf-0015-out.nq
test-suite/tests/toRdf-0021-out.nq
test-suite/tests/toRdf-0022-out.nq
test-suite/tests/toRdf-0025-out.nq
test-suite/tests/toRdf-0027-out.nq
test-suite/tests/toRdf-0028-out.nq
test-suite/tests/toRdf-0029-out.nq
--- a/test-suite/tests/normalize-0014-out.jsonld	Mon Apr 30 13:14:53 2012 -0400
+++ b/test-suite/tests/normalize-0014-out.jsonld	Mon Apr 30 14:09:12 2012 -0400
@@ -9,7 +9,7 @@
     ],
     "http://example.org/vocab#double": [
       {
-        "@value": "1.2300000000000000e+00",
+        "@value": "1.230000000000000e+00",
         "@type": "http://www.w3.org/2001/XMLSchema#double"
       }
     ],
--- a/test-suite/tests/toRdf-0005-out.nq	Mon Apr 30 13:14:53 2012 -0400
+++ b/test-suite/tests/toRdf-0005-out.nq	Mon Apr 30 14:09:12 2012 -0400
@@ -1,2 +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 .
+_:t0 <http://xmlns.com/foaf/0.1/name> "Herman Iván"@hu .
--- a/test-suite/tests/toRdf-0010-out.nq	Mon Apr 30 13:14:53 2012 -0400
+++ b/test-suite/tests/toRdf-0010-out.nq	Mon Apr 30 14:09:12 2012 -0400
@@ -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://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> <http://manu.sporny.org/#me> .
--- a/test-suite/tests/toRdf-0011-out.nq	Mon Apr 30 13:14:53 2012 -0400
+++ b/test-suite/tests/toRdf-0011-out.nq	Mon Apr 30 14:09:12 2012 -0400
@@ -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://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
--- a/test-suite/tests/toRdf-0014-out.nq	Mon Apr 30 13:14:53 2012 -0400
+++ b/test-suite/tests/toRdf-0014-out.nq	Mon Apr 30 14:09:12 2012 -0400
@@ -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" .
 _: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/toRdf-0015-out.nq	Mon Apr 30 13:14:53 2012 -0400
+++ b/test-suite/tests/toRdf-0015-out.nq	Mon Apr 30 14:09:12 2012 -0400
@@ -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" .
 _: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/toRdf-0021-out.nq	Mon Apr 30 13:14:53 2012 -0400
+++ b/test-suite/tests/toRdf-0021-out.nq	Mon Apr 30 14:09:12 2012 -0400
@@ -1,1 +1,1 @@
-_:t0 <http://example/measure#cups> "5.3"^^<http://www.w3.org/2001/XMLSchema#double> .
+_:t0 <http://example/measure#cups> "5.300000000000000e+00"^^<http://www.w3.org/2001/XMLSchema#double> .
--- a/test-suite/tests/toRdf-0022-out.nq	Mon Apr 30 13:14:53 2012 -0400
+++ b/test-suite/tests/toRdf-0022-out.nq	Mon Apr 30 14:09:12 2012 -0400
@@ -1,1 +1,1 @@
-_:t0 <http://example/measure#cups> "5.3"^^<http://www.w3.org/2001/XMLSchema#double> .
+_:t0 <http://example/measure#cups> "5.300000000000000e+00"^^<http://www.w3.org/2001/XMLSchema#double> .
--- a/test-suite/tests/toRdf-0025-out.nq	Mon Apr 30 13:14:53 2012 -0400
+++ b/test-suite/tests/toRdf-0025-out.nq	Mon Apr 30 14:09:12 2012 -0400
@@ -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" .
 _: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/toRdf-0027-out.nq	Mon Apr 30 13:14:53 2012 -0400
+++ b/test-suite/tests/toRdf-0027-out.nq	Mon Apr 30 14:09:12 2012 -0400
@@ -1,8 +1,8 @@
+<http://example.org/location/Paris#this> <http://example.org/locatedIn> <http://example.org/location/France#this> <http://example.org/ParisFact1> .
 <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/location/Paris#this> <http://example.org/hasPopulation> "7000000"^^<http://www.w3.org/2001/XMLSchema#integer> <http://example.org/ParisFact2> .
 <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/toRdf-0028-out.nq	Mon Apr 30 13:14:53 2012 -0400
+++ b/test-suite/tests/toRdf-0028-out.nq	Mon Apr 30 14:09:12 2012 -0400
@@ -1,6 +1,6 @@
+<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://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/toRdf-0029-out.nq	Mon Apr 30 13:14:53 2012 -0400
+++ b/test-suite/tests/toRdf-0029-out.nq	Mon Apr 30 14:09:12 2012 -0400
@@ -1,4 +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://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://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> .
+<http://data.wikipedia.org/snaks/Assertions> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.wikipedia.org/vocab#SnakSet> .