Thiemo Mättig (WMDE) has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/204258

Change subject: Prepare RDF test data for new data-values/time release
......................................................................

Prepare RDF test data for new data-values/time release

This is done in preparation for the comming release 0.7 of
data-values/time. The year in a TimeValue will always be padded to
have 4 digits, but additional leading zeros will be trimmed. By
using test data that already comply to this convention the tests
become (almost) independent of the time component's version.

Bug: T96135
Bug: T96137
Change-Id: I9d2d4c9757a706e2378fa7c78635f189e5ad60f4
---
M repo/tests/phpunit/data/rdf/Q4.json
M repo/tests/phpunit/data/rdf/Q4_claims.nt
M repo/tests/phpunit/data/rdf/Q4_values.nt
M repo/tests/phpunit/data/rdf/Q6.json
M repo/tests/phpunit/data/rdf/Q6_qualifiers.nt
M repo/tests/phpunit/data/rdf/Q7.json
M repo/tests/phpunit/data/rdf/Q7_Q9_dedup.nt
M repo/tests/phpunit/data/rdf/Q7_references.nt
M repo/tests/phpunit/data/rdf/Q7_refs.nt
M repo/tests/phpunit/data/rdf/Q8.json
M repo/tests/phpunit/data/rdf/Q8_baddates.nt
M repo/tests/phpunit/data/rdf/Q9.json
M repo/tests/phpunit/data/rdf/dump_refs.nt
13 files changed, 208 insertions(+), 208 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/58/204258/1

diff --git a/repo/tests/phpunit/data/rdf/Q4.json 
b/repo/tests/phpunit/data/rdf/Q4.json
index 84e5229..d4a6660 100644
--- a/repo/tests/phpunit/data/rdf/Q4.json
+++ b/repo/tests/phpunit/data/rdf/Q4.json
@@ -175,7 +175,7 @@
                     "datatype": "time",
                     "datavalue": {
                         "value": {
-                            "time": "-00000000200-00-00T00:00:00Z",
+                            "time": "-0200-00-00T00:00:00Z",
                             "timezone": 0,
                             "before": 0,
                             "after": 0,
diff --git a/repo/tests/phpunit/data/rdf/Q4_claims.nt 
b/repo/tests/phpunit/data/rdf/Q4_claims.nt
index bdeb059..ea212ca 100644
--- a/repo/tests/phpunit/data/rdf/Q4_claims.nt
+++ b/repo/tests/phpunit/data/rdf/Q4_claims.nt
@@ -61,7 +61,7 @@
 
<http://acme.test/statement/TEST-Statement-7-6063d202e584b79a2e9f89ab92b51e7f22ef9886>
 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
 
<http://acme.test/statement/TEST-Statement-7-6063d202e584b79a2e9f89ab92b51e7f22ef9886>
 <http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
 
<http://acme.test/statement/TEST-Statement-7-6063d202e584b79a2e9f89ab92b51e7f22ef9886>
 <http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#BestRank> .
-<http://acme.test/statement/TEST-Statement-8-5dd0f6624a7545401bc306a068ac1bbe8148bfac>
 <http://acme.test/value/P8-value> 
<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> .
+<http://acme.test/statement/TEST-Statement-8-5dd0f6624a7545401bc306a068ac1bbe8148bfac>
 <http://acme.test/value/P8-value> 
<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> .
 
<http://acme.test/statement/TEST-Statement-8-5dd0f6624a7545401bc306a068ac1bbe8148bfac>
 <http://acme.test/value/P8> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
 
<http://acme.test/statement/TEST-Statement-8-5dd0f6624a7545401bc306a068ac1bbe8148bfac>
 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
 
<http://acme.test/statement/TEST-Statement-8-5dd0f6624a7545401bc306a068ac1bbe8148bfac>
 <http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
@@ -86,8 +86,8 @@
 <http://acme.test/value/1e09d673624819aacd170165aae555a1> 
<http://www.wikidata.org/ontology-beta#quantityLowerBound> 
"+19.766999999999999459987520822323858737945556640625"^^<http://www.w3.org/2001/XMLSchema#decimal>
 .
 <http://acme.test/value/1e09d673624819aacd170165aae555a1> 
<http://www.wikidata.org/ontology-beta#quantityUnit> "1" .
 <http://acme.test/value/1e09d673624819aacd170165aae555a1> 
<http://www.wikidata.org/ontology-beta#quantityUpperBound> 
"+19.76899999999999835154085303656756877899169921875"^^<http://www.w3.org/2001/XMLSchema#decimal>
 .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
diff --git a/repo/tests/phpunit/data/rdf/Q4_values.nt 
b/repo/tests/phpunit/data/rdf/Q4_values.nt
index 775908c..eef0202 100644
--- a/repo/tests/phpunit/data/rdf/Q4_values.nt
+++ b/repo/tests/phpunit/data/rdf/Q4_values.nt
@@ -51,7 +51,7 @@
 
<http://acme.test/statement/TEST-Statement-7-6063d202e584b79a2e9f89ab92b51e7f22ef9886>
 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
 
<http://acme.test/statement/TEST-Statement-7-6063d202e584b79a2e9f89ab92b51e7f22ef9886>
 <http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
 
<http://acme.test/statement/TEST-Statement-7-6063d202e584b79a2e9f89ab92b51e7f22ef9886>
 <http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#BestRank> .
-<http://acme.test/statement/TEST-Statement-8-5dd0f6624a7545401bc306a068ac1bbe8148bfac>
 <http://acme.test/value/P8-value> 
<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> .
+<http://acme.test/statement/TEST-Statement-8-5dd0f6624a7545401bc306a068ac1bbe8148bfac>
 <http://acme.test/value/P8-value> 
<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> .
 
<http://acme.test/statement/TEST-Statement-8-5dd0f6624a7545401bc306a068ac1bbe8148bfac>
 <http://acme.test/value/P8> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
 
<http://acme.test/statement/TEST-Statement-8-5dd0f6624a7545401bc306a068ac1bbe8148bfac>
 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
 
<http://acme.test/statement/TEST-Statement-8-5dd0f6624a7545401bc306a068ac1bbe8148bfac>
 <http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
@@ -74,8 +74,8 @@
 <http://acme.test/value/1e09d673624819aacd170165aae555a1> 
<http://www.wikidata.org/ontology-beta#quantityLowerBound> 
"+19.766999999999999459987520822323858737945556640625"^^<http://www.w3.org/2001/XMLSchema#decimal>
 .
 <http://acme.test/value/1e09d673624819aacd170165aae555a1> 
<http://www.wikidata.org/ontology-beta#quantityUnit> "1" .
 <http://acme.test/value/1e09d673624819aacd170165aae555a1> 
<http://www.wikidata.org/ontology-beta#quantityUpperBound> 
"+19.76899999999999835154085303656756877899169921875"^^<http://www.w3.org/2001/XMLSchema#decimal>
 .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
diff --git a/repo/tests/phpunit/data/rdf/Q6.json 
b/repo/tests/phpunit/data/rdf/Q6.json
index a815e68..4fe259f 100644
--- a/repo/tests/phpunit/data/rdf/Q6.json
+++ b/repo/tests/phpunit/data/rdf/Q6.json
@@ -147,7 +147,7 @@
                             "datatype": "time",
                             "datavalue": {
                                 "value": {
-                                    "time": "-00000000200-00-00T00:00:00Z",
+                                    "time": "-0200-00-00T00:00:00Z",
                                     "timezone": 0,
                                     "before": 0,
                                     "after": 0,
diff --git a/repo/tests/phpunit/data/rdf/Q6_qualifiers.nt 
b/repo/tests/phpunit/data/rdf/Q6_qualifiers.nt
index fcd9c26..1b5235e 100644
--- a/repo/tests/phpunit/data/rdf/Q6_qualifiers.nt
+++ b/repo/tests/phpunit/data/rdf/Q6_qualifiers.nt
@@ -13,7 +13,7 @@
 <http://acme.test/statement/TEST-Qualifiers> 
<http://acme.test/qualifier/P6-value> 
<http://acme.test/value/1e09d673624819aacd170165aae555a1> .
 <http://acme.test/statement/TEST-Qualifiers> <http://acme.test/qualifier/P6> 
"+19.768000000000000682121026329696178436279296875"^^<http://www.w3.org/2001/XMLSchema#decimal>
 .
 <http://acme.test/statement/TEST-Qualifiers> <http://acme.test/qualifier/P7> 
"simplestring" .
-<http://acme.test/statement/TEST-Qualifiers> 
<http://acme.test/qualifier/P8-value> 
<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> .
+<http://acme.test/statement/TEST-Qualifiers> 
<http://acme.test/qualifier/P8-value> 
<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> .
 <http://acme.test/statement/TEST-Qualifiers> <http://acme.test/qualifier/P8> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
 <http://acme.test/statement/TEST-Qualifiers> <http://acme.test/qualifier/P9> 
<http://url.acme.test/> .
 <http://acme.test/statement/TEST-Qualifiers> <http://acme.test/value/P7> 
"string" .
@@ -36,8 +36,8 @@
 <http://acme.test/value/1e09d673624819aacd170165aae555a1> 
<http://www.wikidata.org/ontology-beta#quantityLowerBound> 
"+19.766999999999999459987520822323858737945556640625"^^<http://www.w3.org/2001/XMLSchema#decimal>
 .
 <http://acme.test/value/1e09d673624819aacd170165aae555a1> 
<http://www.wikidata.org/ontology-beta#quantityUnit> "1" .
 <http://acme.test/value/1e09d673624819aacd170165aae555a1> 
<http://www.wikidata.org/ontology-beta#quantityUpperBound> 
"+19.76899999999999835154085303656756877899169921875"^^<http://www.w3.org/2001/XMLSchema#decimal>
 .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
diff --git a/repo/tests/phpunit/data/rdf/Q7.json 
b/repo/tests/phpunit/data/rdf/Q7.json
index 1ac7d39..aab4548 100644
--- a/repo/tests/phpunit/data/rdf/Q7.json
+++ b/repo/tests/phpunit/data/rdf/Q7.json
@@ -141,7 +141,7 @@
                                     "datatype": "time",
                                     "datavalue": {
                                         "value": {
-                                            "time": 
"-00000000200-00-00T00:00:00Z",
+                                            "time": "-0200-00-00T00:00:00Z",
                                             "timezone": 0,
                                             "before": 0,
                                             "after": 0,
@@ -315,7 +315,7 @@
                                     "datatype": "time",
                                     "datavalue": {
                                         "value": {
-                                            "time": 
"-00000000200-00-00T00:00:00Z",
+                                            "time": "-0200-00-00T00:00:00Z",
                                             "timezone": 0,
                                             "before": 0,
                                             "after": 0,
diff --git a/repo/tests/phpunit/data/rdf/Q7_Q9_dedup.nt 
b/repo/tests/phpunit/data/rdf/Q7_Q9_dedup.nt
index 93ecd08..31e7112 100644
--- a/repo/tests/phpunit/data/rdf/Q7_Q9_dedup.nt
+++ b/repo/tests/phpunit/data/rdf/Q7_Q9_dedup.nt
@@ -8,40 +8,40 @@
 <http://acme.test/Q9> <http://acme.test/assert/P7> "string" .
 <http://acme.test/Q9> <http://acme.test/assert/P7> "string2" .
 <http://acme.test/Q9> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Item> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P2> <http://acme.test/Q42> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P2> <http://acme.test/Q666> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P3> 
<http://commons.wikimedia.org/wiki/Special:FilePath/Universe.svg> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P3> <http://www.wikidata.org/ontology-beta#Novalue> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P4-value> 
<http://acme.test/value/aad6b70bccf9875ba61d31c767b7f652> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P4> "Point(12.345 
67.89)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P5> "\u0431\u0440\u0435\u0434"@ru .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P5> "\u043F\u0440\u0435\u0432\u0435\u0434"@ru .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P5> <http://www.wikidata.org/ontology-beta#Somevalue> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P6-value> 
<http://acme.test/value/1e09d673624819aacd170165aae555a1> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P6> 
"+19.768000000000000682121026329696178436279296875"^^<http://www.w3.org/2001/XMLSchema#decimal>
 .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P7> "simplestring" .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P8-value> 
<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P8> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P9> <http://url.acme.test/> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Reference> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P2> <http://acme.test/Q42> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P2> <http://acme.test/Q666> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P3> 
<http://commons.wikimedia.org/wiki/Special:FilePath/Universe.svg> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P3> <http://www.wikidata.org/ontology-beta#Novalue> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P4-value> 
<http://acme.test/value/aad6b70bccf9875ba61d31c767b7f652> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P4> "Point(12.345 
67.89)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P5> "\u0431\u0440\u0435\u0434"@ru .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P5> "\u043F\u0440\u0435\u0432\u0435\u0434"@ru .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P5> <http://www.wikidata.org/ontology-beta#Somevalue> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P6-value> 
<http://acme.test/value/1e09d673624819aacd170165aae555a1> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P6> 
"+19.768000000000000682121026329696178436279296875"^^<http://www.w3.org/2001/XMLSchema#decimal>
 .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P7> "simplestring" .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P8-value> 
<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P8> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P9> <http://url.acme.test/> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Reference> .
 <http://acme.test/statement/TEST-References-2-Dup> <http://acme.test/value/P7> 
"string2" .
 <http://acme.test/statement/TEST-References-2-Dup> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
-<http://acme.test/statement/TEST-References-2-Dup> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> .
+<http://acme.test/statement/TEST-References-2-Dup> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> .
 <http://acme.test/statement/TEST-References-2-Dup> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
 <http://acme.test/statement/TEST-References-2-Dup> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#BestRank> .
 <http://acme.test/statement/TEST-References-2> <http://acme.test/value/P7> 
"string2" .
 <http://acme.test/statement/TEST-References-2> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
-<http://acme.test/statement/TEST-References-2> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> .
+<http://acme.test/statement/TEST-References-2> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> .
 <http://acme.test/statement/TEST-References-2> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
 <http://acme.test/statement/TEST-References-2> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#BestRank> .
 <http://acme.test/statement/TEST-References-Dup> <http://acme.test/value/P7> 
"string" .
 <http://acme.test/statement/TEST-References-Dup> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
-<http://acme.test/statement/TEST-References-Dup> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> .
+<http://acme.test/statement/TEST-References-Dup> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> .
 <http://acme.test/statement/TEST-References-Dup> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
 <http://acme.test/statement/TEST-References-Dup> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#BestRank> .
 <http://acme.test/statement/TEST-References> <http://acme.test/value/P7> 
"string" .
 <http://acme.test/statement/TEST-References> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
-<http://acme.test/statement/TEST-References> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> .
+<http://acme.test/statement/TEST-References> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> .
 <http://acme.test/statement/TEST-References> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
 <http://acme.test/statement/TEST-References> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#BestRank> .
 <http://acme.test/value/1e09d673624819aacd170165aae555a1> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
@@ -49,11 +49,11 @@
 <http://acme.test/value/1e09d673624819aacd170165aae555a1> 
<http://www.wikidata.org/ontology-beta#quantityLowerBound> 
"+19.766999999999999459987520822323858737945556640625"^^<http://www.w3.org/2001/XMLSchema#decimal>
 .
 <http://acme.test/value/1e09d673624819aacd170165aae555a1> 
<http://www.wikidata.org/ontology-beta#quantityUnit> "1" .
 <http://acme.test/value/1e09d673624819aacd170165aae555a1> 
<http://www.wikidata.org/ontology-beta#quantityUpperBound> 
"+19.76899999999999835154085303656756877899169921875"^^<http://www.w3.org/2001/XMLSchema#decimal>
 .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
 <http://acme.test/value/aad6b70bccf9875ba61d31c767b7f652> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
 <http://acme.test/value/aad6b70bccf9875ba61d31c767b7f652> 
<http://www.wikidata.org/ontology-beta#geoGlobe> 
<http://www.wikidata.org/entity/Q2> .
 <http://acme.test/value/aad6b70bccf9875ba61d31c767b7f652> 
<http://www.wikidata.org/ontology-beta#geoLatitude> 
"12.345"^^<http://www.w3.org/2001/XMLSchema#decimal> .
diff --git a/repo/tests/phpunit/data/rdf/Q7_references.nt 
b/repo/tests/phpunit/data/rdf/Q7_references.nt
index 4d3f296..84519bc 100644
--- a/repo/tests/phpunit/data/rdf/Q7_references.nt
+++ b/repo/tests/phpunit/data/rdf/Q7_references.nt
@@ -3,30 +3,30 @@
 <http://acme.test/Q7> <http://acme.test/assert/P7> "string" .
 <http://acme.test/Q7> <http://acme.test/assert/P7> "string2" .
 <http://acme.test/Q7> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Item> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P2> <http://acme.test/Q42> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P2> <http://acme.test/Q666> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P3> 
<http://commons.wikimedia.org/wiki/Special:FilePath/Universe.svg> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P3> <http://www.wikidata.org/ontology-beta#Novalue> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P4-value> 
<http://acme.test/value/aad6b70bccf9875ba61d31c767b7f652> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P4> "Point(12.345 
67.89)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P5> "\u0431\u0440\u0435\u0434"@ru .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P5> "\u043F\u0440\u0435\u0432\u0435\u0434"@ru .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P5> <http://www.wikidata.org/ontology-beta#Somevalue> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P6-value> 
<http://acme.test/value/1e09d673624819aacd170165aae555a1> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P6> 
"+19.768000000000000682121026329696178436279296875"^^<http://www.w3.org/2001/XMLSchema#decimal>
 .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P7> "simplestring" .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P8-value> 
<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P8> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P9> <http://url.acme.test/> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Reference> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P2> <http://acme.test/Q42> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P2> <http://acme.test/Q666> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P3> 
<http://commons.wikimedia.org/wiki/Special:FilePath/Universe.svg> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P3> <http://www.wikidata.org/ontology-beta#Novalue> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P4-value> 
<http://acme.test/value/aad6b70bccf9875ba61d31c767b7f652> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P4> "Point(12.345 
67.89)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P5> "\u0431\u0440\u0435\u0434"@ru .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P5> "\u043F\u0440\u0435\u0432\u0435\u0434"@ru .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P5> <http://www.wikidata.org/ontology-beta#Somevalue> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P6-value> 
<http://acme.test/value/1e09d673624819aacd170165aae555a1> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P6> 
"+19.768000000000000682121026329696178436279296875"^^<http://www.w3.org/2001/XMLSchema#decimal>
 .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P7> "simplestring" .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P8-value> 
<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P8> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P9> <http://url.acme.test/> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Reference> .
 <http://acme.test/statement/TEST-References-2> <http://acme.test/value/P7> 
"string2" .
 <http://acme.test/statement/TEST-References-2> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
-<http://acme.test/statement/TEST-References-2> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> .
+<http://acme.test/statement/TEST-References-2> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> .
 <http://acme.test/statement/TEST-References-2> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
 <http://acme.test/statement/TEST-References-2> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#BestRank> .
 <http://acme.test/statement/TEST-References> <http://acme.test/value/P7> 
"string" .
 <http://acme.test/statement/TEST-References> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
-<http://acme.test/statement/TEST-References> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> .
+<http://acme.test/statement/TEST-References> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> .
 <http://acme.test/statement/TEST-References> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
 <http://acme.test/statement/TEST-References> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#BestRank> .
 <http://data.acme.test/Q7> <http://creativecommons.org/ns#license> 
<http://creativecommons.org/publicdomain/zero/1.0/> .
@@ -45,8 +45,8 @@
 <http://acme.test/value/1e09d673624819aacd170165aae555a1> 
<http://www.wikidata.org/ontology-beta#quantityLowerBound> 
"+19.766999999999999459987520822323858737945556640625"^^<http://www.w3.org/2001/XMLSchema#decimal>
 .
 <http://acme.test/value/1e09d673624819aacd170165aae555a1> 
<http://www.wikidata.org/ontology-beta#quantityUnit> "1" .
 <http://acme.test/value/1e09d673624819aacd170165aae555a1> 
<http://www.wikidata.org/ontology-beta#quantityUpperBound> 
"+19.76899999999999835154085303656756877899169921875"^^<http://www.w3.org/2001/XMLSchema#decimal>
 .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
diff --git a/repo/tests/phpunit/data/rdf/Q7_refs.nt 
b/repo/tests/phpunit/data/rdf/Q7_refs.nt
index e9ab8d1..67c1af0 100644
--- a/repo/tests/phpunit/data/rdf/Q7_refs.nt
+++ b/repo/tests/phpunit/data/rdf/Q7_refs.nt
@@ -1,27 +1,27 @@
 <http://acme.test/Q7> <http://acme.test/P7> 
<http://acme.test/statement/TEST-References-2> .
 <http://acme.test/Q7> <http://acme.test/P7> 
<http://acme.test/statement/TEST-References> .
 <http://acme.test/Q7> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Item> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P2> <http://acme.test/Q42> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P2> <http://acme.test/Q666> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P3> 
<http://commons.wikimedia.org/wiki/Special:FilePath/Universe.svg> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P3> <http://www.wikidata.org/ontology-beta#Novalue> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P4> "Point(12.345 
67.89)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P5> "\u0431\u0440\u0435\u0434"@ru .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P5> "\u043F\u0440\u0435\u0432\u0435\u0434"@ru .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P5> <http://www.wikidata.org/ontology-beta#Somevalue> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P6> 
"+19.768000000000000682121026329696178436279296875"^^<http://www.w3.org/2001/XMLSchema#decimal>
 .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P7> "simplestring" .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P8> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P9> <http://url.acme.test/> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Reference> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P2> <http://acme.test/Q42> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P2> <http://acme.test/Q666> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P3> 
<http://commons.wikimedia.org/wiki/Special:FilePath/Universe.svg> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P3> <http://www.wikidata.org/ontology-beta#Novalue> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P4> "Point(12.345 
67.89)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P5> "\u0431\u0440\u0435\u0434"@ru .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P5> "\u043F\u0440\u0435\u0432\u0435\u0434"@ru .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P5> <http://www.wikidata.org/ontology-beta#Somevalue> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P6> 
"+19.768000000000000682121026329696178436279296875"^^<http://www.w3.org/2001/XMLSchema#decimal>
 .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P7> "simplestring" .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P8> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P9> <http://url.acme.test/> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Reference> .
 <http://acme.test/statement/TEST-References-2> <http://acme.test/value/P7> 
"string2" .
 <http://acme.test/statement/TEST-References-2> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
-<http://acme.test/statement/TEST-References-2> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> .
+<http://acme.test/statement/TEST-References-2> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> .
 <http://acme.test/statement/TEST-References-2> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
 <http://acme.test/statement/TEST-References-2> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#BestRank> .
 <http://acme.test/statement/TEST-References> <http://acme.test/value/P7> 
"string" .
 <http://acme.test/statement/TEST-References> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
-<http://acme.test/statement/TEST-References> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> .
+<http://acme.test/statement/TEST-References> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> .
 <http://acme.test/statement/TEST-References> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
 <http://acme.test/statement/TEST-References> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#BestRank> .
 <http://data.acme.test/Q7> <http://schema.org/about> <http://acme.test/Q7> .
diff --git a/repo/tests/phpunit/data/rdf/Q8.json 
b/repo/tests/phpunit/data/rdf/Q8.json
index 7524c5d..d622c0f 100644
--- a/repo/tests/phpunit/data/rdf/Q8.json
+++ b/repo/tests/phpunit/data/rdf/Q8.json
@@ -11,7 +11,7 @@
                     "datatype": "time",
                     "datavalue": {
                         "value": {
-                            "time": "-00000000200-00-00T00:00:00Z",
+                            "time": "-0200-00-00T00:00:00Z",
                             "timezone": 0,
                             "before": 0,
                             "after": 0,
@@ -32,7 +32,7 @@
                     "datatype": "time",
                     "datavalue": {
                         "value": {
-                            "time": "+00000000200-10-00T00:00:00Z",
+                            "time": "+0200-10-00T00:00:00Z",
                             "timezone": 60,
                             "before": 0,
                             "after": 0,
@@ -74,7 +74,7 @@
                     "datatype": "time",
                     "datavalue": {
                         "value": {
-                            "time": "+00000000200-02-30T00:00:00Z",
+                            "time": "+0200-02-30T00:00:00Z",
                             "timezone": 0,
                             "before": 0,
                             "after": 0,
@@ -95,7 +95,7 @@
                     "datatype": "time",
                     "datavalue": {
                         "value": {
-                            "time": "+00000002014-02-29T00:00:00Z",
+                            "time": "+2014-02-29T00:00:00Z",
                             "timezone": 0,
                             "before": 0,
                             "after": 0,
@@ -116,7 +116,7 @@
                     "datatype": "time",
                     "datavalue": {
                         "value": {
-                            "time": "+00000002014-04-31T00:00:00Z",
+                            "time": "+2014-04-31T00:00:00Z",
                             "timezone": 0,
                             "before": 0,
                             "after": 0,
@@ -137,7 +137,7 @@
                     "datatype": "time",
                     "datavalue": {
                         "value": {
-                            "time": "+00000002012-02-29T00:00:00Z",
+                            "time": "+2012-02-29T00:00:00Z",
                             "timezone": 0,
                             "before": 0,
                             "after": 0,
@@ -158,7 +158,7 @@
                     "datatype": "time",
                     "datavalue": {
                         "value": {
-                            "time": "+00000002012-02-29T00:00:00Z",
+                            "time": "+2012-02-29T00:00:00Z",
                             "timezone": 0,
                             "before": 0,
                             "after": 0,
@@ -179,7 +179,7 @@
                     "datatype": "time",
                     "datavalue": {
                         "value": {
-                            "time": "+00000002012-02-31T00:00:00Z",
+                            "time": "+2012-02-31T00:00:00Z",
                             "timezone": 0,
                             "before": 0,
                             "after": 0,
@@ -200,7 +200,7 @@
                     "datatype": "time",
                     "datavalue": {
                         "value": {
-                            "time": "+02000000200-10-00T00:00:00Z",
+                            "time": "+2000000200-10-00T00:00:00Z",
                             "timezone": 0,
                             "before": 0,
                             "after": 0,
@@ -221,7 +221,7 @@
                     "datatype": "time",
                     "datavalue": {
                         "value": {
-                            "time": "-00000002010-02-29T00:00:00Z",
+                            "time": "-2010-02-29T00:00:00Z",
                             "timezone": 0,
                             "before": 0,
                             "after": 0,
@@ -242,7 +242,7 @@
                     "datatype": "time",
                     "datavalue": {
                         "value": {
-                            "time": "-02000002010-02-29T00:00:00Z",
+                            "time": "-2000002010-02-29T00:00:00Z",
                             "timezone": 0,
                             "before": 0,
                             "after": 0,
@@ -263,7 +263,7 @@
                     "datatype": "time",
                     "datavalue": {
                         "value": {
-                            "time": "+00000000000-02-29T00:00:00Z",
+                            "time": "+0000-02-29T00:00:00Z",
                             "timezone": 0,
                             "before": 0,
                             "after": 0,
diff --git a/repo/tests/phpunit/data/rdf/Q8_baddates.nt 
b/repo/tests/phpunit/data/rdf/Q8_baddates.nt
index 23046c2..97d8a97 100644
--- a/repo/tests/phpunit/data/rdf/Q8_baddates.nt
+++ b/repo/tests/phpunit/data/rdf/Q8_baddates.nt
@@ -12,7 +12,7 @@
 <http://acme.test/Q8> <http://acme.test/P8> 
<http://acme.test/statement/TEST-Dates-8-12> .
 <http://acme.test/Q8> <http://acme.test/P8> 
<http://acme.test/statement/TEST-Dates-8-13> .
 <http://acme.test/Q8> <http://acme.test/assert/P8> 
"2012-03-13T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://acme.test/Q8> <http://acme.test/assert/P8> 
"+00000002012-02-31T00:00:00Z" .
+<http://acme.test/Q8> <http://acme.test/assert/P8> "+2012-02-31T00:00:00Z" .
 <http://acme.test/Q8> <http://acme.test/assert/P8> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
 <http://acme.test/Q8> <http://acme.test/assert/P8> 
"-200000200-04-30T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
 <http://acme.test/Q8> <http://acme.test/assert/P8> 
"0200-02-28T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
@@ -21,11 +21,11 @@
 <http://acme.test/Q8> <http://acme.test/assert/P8> 
"2014-02-28T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
 <http://acme.test/Q8> <http://acme.test/assert/P8> 
"2014-04-30T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
 <http://acme.test/Q8> <http://acme.test/assert/P8> 
"2000000200-10-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://acme.test/Q8> <http://acme.test/assert/P8> 
"-02000002010-02-29T00:00:00Z" .
-<http://acme.test/Q8> <http://acme.test/assert/P8> 
"+00000000000-02-29T00:00:00Z" .
+<http://acme.test/Q8> <http://acme.test/assert/P8> 
"-2000002010-02-29T00:00:00Z" .
+<http://acme.test/Q8> <http://acme.test/assert/P8> "+0000-02-29T00:00:00Z" .
 <http://acme.test/Q8> <http://acme.test/assert/P8> 
"-2010-02-12T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
 <http://acme.test/Q8> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Item> .
-<http://acme.test/statement/TEST-Dates-8-1> <http://acme.test/value/P8-value> 
<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> .
+<http://acme.test/statement/TEST-Dates-8-1> <http://acme.test/value/P8-value> 
<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> .
 <http://acme.test/statement/TEST-Dates-8-1> <http://acme.test/value/P8> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
 <http://acme.test/statement/TEST-Dates-8-1> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
 <http://acme.test/statement/TEST-Dates-8-1> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
@@ -42,119 +42,119 @@
 <http://acme.test/statement/TEST-Dates-8-11> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#BestRank> .
 <http://acme.test/statement/TEST-Dates-8-12> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#BestRank> .
 <http://acme.test/statement/TEST-Dates-8-13> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#BestRank> .
-<http://acme.test/statement/TEST-Dates-8-2> <http://acme.test/value/P8-value> 
<http://acme.test/value/ae4625a16599af40f05c589f6273c894> .
+<http://acme.test/statement/TEST-Dates-8-2> <http://acme.test/value/P8-value> 
<http://acme.test/value/8e6cc149c94b044645f9abc9dd212994> .
 <http://acme.test/statement/TEST-Dates-8-2> <http://acme.test/value/P8> 
"0200-10-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
 <http://acme.test/statement/TEST-Dates-8-2> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
 <http://acme.test/statement/TEST-Dates-8-2> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
-<http://acme.test/statement/TEST-Dates-8-3> <http://acme.test/value/P8-value> 
<http://acme.test/value/92f69b0946d4d3eb59aae6ec511cf94d> .
+<http://acme.test/statement/TEST-Dates-8-3> <http://acme.test/value/P8-value> 
<http://acme.test/value/b3e4ce731699e5bacc9ce1f7b302ec40> .
 <http://acme.test/statement/TEST-Dates-8-3> <http://acme.test/value/P8> 
"-200000200-04-30T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
 <http://acme.test/statement/TEST-Dates-8-3> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
 <http://acme.test/statement/TEST-Dates-8-3> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
-<http://acme.test/statement/TEST-Dates-8-4> <http://acme.test/value/P8-value> 
<http://acme.test/value/1ec2f6dcfcaf97d0cec7783635251b16> .
+<http://acme.test/statement/TEST-Dates-8-4> <http://acme.test/value/P8-value> 
<http://acme.test/value/73d61a2af309f405f77d3ba39e47823e> .
 <http://acme.test/statement/TEST-Dates-8-4> <http://acme.test/value/P8> 
"0200-02-28T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
 <http://acme.test/statement/TEST-Dates-8-4> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
 <http://acme.test/statement/TEST-Dates-8-4> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
-<http://acme.test/statement/TEST-Dates-8-5> <http://acme.test/value/P8-value> 
<http://acme.test/value/62a81d5d1fa07b119125696dc026e582> .
+<http://acme.test/statement/TEST-Dates-8-5> <http://acme.test/value/P8-value> 
<http://acme.test/value/270229ea4ff024744eea54e20b02c0f5> .
 <http://acme.test/statement/TEST-Dates-8-5> <http://acme.test/value/P8> 
"2014-02-28T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
 <http://acme.test/statement/TEST-Dates-8-5> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
 <http://acme.test/statement/TEST-Dates-8-5> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
-<http://acme.test/statement/TEST-Dates-8-6> <http://acme.test/value/P8-value> 
<http://acme.test/value/1871749946b1782fe7ea911178d3d77e> .
+<http://acme.test/statement/TEST-Dates-8-6> <http://acme.test/value/P8-value> 
<http://acme.test/value/a0b10f6482c04caa5874dea23528a734> .
 <http://acme.test/statement/TEST-Dates-8-6> <http://acme.test/value/P8> 
"2014-04-30T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
 <http://acme.test/statement/TEST-Dates-8-6> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
 <http://acme.test/statement/TEST-Dates-8-6> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
-<http://acme.test/statement/TEST-Dates-8-7> <http://acme.test/value/P8-value> 
<http://acme.test/value/0c34710bafa94befce6a0af682f726e0> .
+<http://acme.test/statement/TEST-Dates-8-7> <http://acme.test/value/P8-value> 
<http://acme.test/value/9664e88f56e7de82f6dfe32e938203ec> .
 <http://acme.test/statement/TEST-Dates-8-7> <http://acme.test/value/P8> 
"2012-02-29T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
 <http://acme.test/statement/TEST-Dates-8-7> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
 <http://acme.test/statement/TEST-Dates-8-7> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
-<http://acme.test/statement/TEST-Dates-8-8> <http://acme.test/value/P8-value> 
<http://acme.test/value/eb39a40d34d89bcd62f2f35610d45b4b> .
+<http://acme.test/statement/TEST-Dates-8-8> <http://acme.test/value/P8-value> 
<http://acme.test/value/85d9f1d187683fcd02671501dcd8bbea> .
 <http://acme.test/statement/TEST-Dates-8-8> <http://acme.test/value/P8> 
"2012-03-13T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
 <http://acme.test/statement/TEST-Dates-8-8> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
 <http://acme.test/statement/TEST-Dates-8-8> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
-<http://acme.test/statement/TEST-Dates-8-9> <http://acme.test/value/P8-value> 
<http://acme.test/value/ab3b140db99072e132f58a967cd2af14> .
-<http://acme.test/statement/TEST-Dates-8-9> <http://acme.test/value/P8> 
"+00000002012-02-31T00:00:00Z" .
+<http://acme.test/statement/TEST-Dates-8-9> <http://acme.test/value/P8-value> 
<http://acme.test/value/af7a5362056ec4747a15503b6484c92e> .
+<http://acme.test/statement/TEST-Dates-8-9> <http://acme.test/value/P8> 
"+2012-02-31T00:00:00Z" .
 <http://acme.test/statement/TEST-Dates-8-9> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
 <http://acme.test/statement/TEST-Dates-8-9> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
-<http://acme.test/statement/TEST-Dates-8-10> <http://acme.test/value/P8-value> 
<http://acme.test/value/91c561aa538cf128add3c43247bf53f8> .
+<http://acme.test/statement/TEST-Dates-8-10> <http://acme.test/value/P8-value> 
<http://acme.test/value/f9b4a3f809941692088f210102bd7fd0> .
 <http://acme.test/statement/TEST-Dates-8-10> <http://acme.test/value/P8> 
"2000000200-10-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
 <http://acme.test/statement/TEST-Dates-8-10> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
 <http://acme.test/statement/TEST-Dates-8-10> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
-<http://acme.test/statement/TEST-Dates-8-11> <http://acme.test/value/P8-value> 
<http://acme.test/value/fa2a831c30b16929bca34483676ac5c3> .
+<http://acme.test/statement/TEST-Dates-8-11> <http://acme.test/value/P8-value> 
<http://acme.test/value/640fefb2f43a08652aaa7730ea9c7adf> .
 <http://acme.test/statement/TEST-Dates-8-11> <http://acme.test/value/P8> 
"-2010-02-12T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
 <http://acme.test/statement/TEST-Dates-8-11> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
 <http://acme.test/statement/TEST-Dates-8-11> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
-<http://acme.test/statement/TEST-Dates-8-12> <http://acme.test/value/P8-value> 
<http://acme.test/value/2ea8a209a98da1d5c1b18d7d7d145bce> .
-<http://acme.test/statement/TEST-Dates-8-12> <http://acme.test/value/P8> 
"-02000002010-02-29T00:00:00Z" .
+<http://acme.test/statement/TEST-Dates-8-12> <http://acme.test/value/P8-value> 
<http://acme.test/value/5ff0652b01e7b84e97c32289e913386f> .
+<http://acme.test/statement/TEST-Dates-8-12> <http://acme.test/value/P8> 
"-2000002010-02-29T00:00:00Z" .
 <http://acme.test/statement/TEST-Dates-8-12> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
 <http://acme.test/statement/TEST-Dates-8-12> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
-<http://acme.test/statement/TEST-Dates-8-13> <http://acme.test/value/P8-value> 
<http://acme.test/value/a64f3aac4f48c6b7f64c3f07a69bb051> .
-<http://acme.test/statement/TEST-Dates-8-13> <http://acme.test/value/P8> 
"+00000000000-02-29T00:00:00Z" .
+<http://acme.test/statement/TEST-Dates-8-13> <http://acme.test/value/P8-value> 
<http://acme.test/value/a41558288146e0b78a50d52e4421cfec> .
+<http://acme.test/statement/TEST-Dates-8-13> <http://acme.test/value/P8> 
"+0000-02-29T00:00:00Z" .
 <http://acme.test/statement/TEST-Dates-8-13> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
 <http://acme.test/statement/TEST-Dates-8-13> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
-<http://acme.test/value/1ec2f6dcfcaf97d0cec7783635251b16> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
-<http://acme.test/value/1ec2f6dcfcaf97d0cec7783635251b16> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
-<http://acme.test/value/1ec2f6dcfcaf97d0cec7783635251b16> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/1ec2f6dcfcaf97d0cec7783635251b16> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"0200-02-28T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://acme.test/value/1ec2f6dcfcaf97d0cec7783635251b16> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/92f69b0946d4d3eb59aae6ec511cf94d> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
-<http://acme.test/value/92f69b0946d4d3eb59aae6ec511cf94d> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
-<http://acme.test/value/92f69b0946d4d3eb59aae6ec511cf94d> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/92f69b0946d4d3eb59aae6ec511cf94d> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"-200000200-04-30T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://acme.test/value/92f69b0946d4d3eb59aae6ec511cf94d> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"-60"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/ae4625a16599af40f05c589f6273c894> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
-<http://acme.test/value/ae4625a16599af40f05c589f6273c894> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
-<http://acme.test/value/ae4625a16599af40f05c589f6273c894> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/ae4625a16599af40f05c589f6273c894> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"0200-10-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://acme.test/value/ae4625a16599af40f05c589f6273c894> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"60"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/1871749946b1782fe7ea911178d3d77e> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
-<http://acme.test/value/1871749946b1782fe7ea911178d3d77e> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
-<http://acme.test/value/1871749946b1782fe7ea911178d3d77e> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/1871749946b1782fe7ea911178d3d77e> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"2014-04-30T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://acme.test/value/1871749946b1782fe7ea911178d3d77e> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/0c34710bafa94befce6a0af682f726e0> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
-<http://acme.test/value/0c34710bafa94befce6a0af682f726e0> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
-<http://acme.test/value/0c34710bafa94befce6a0af682f726e0> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/0c34710bafa94befce6a0af682f726e0> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"2012-02-29T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://acme.test/value/0c34710bafa94befce6a0af682f726e0> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/62a81d5d1fa07b119125696dc026e582> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
-<http://acme.test/value/62a81d5d1fa07b119125696dc026e582> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
-<http://acme.test/value/62a81d5d1fa07b119125696dc026e582> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/62a81d5d1fa07b119125696dc026e582> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"2014-02-28T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://acme.test/value/62a81d5d1fa07b119125696dc026e582> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/ab3b140db99072e132f58a967cd2af14> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
-<http://acme.test/value/ab3b140db99072e132f58a967cd2af14> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://acme.test/calendar> .
-<http://acme.test/value/ab3b140db99072e132f58a967cd2af14> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/ab3b140db99072e132f58a967cd2af14> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"+00000002012-02-31T00:00:00Z" .
-<http://acme.test/value/ab3b140db99072e132f58a967cd2af14> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/eb39a40d34d89bcd62f2f35610d45b4b> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
-<http://acme.test/value/eb39a40d34d89bcd62f2f35610d45b4b> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985786> .
-<http://acme.test/value/eb39a40d34d89bcd62f2f35610d45b4b> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/eb39a40d34d89bcd62f2f35610d45b4b> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"2012-03-13T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://acme.test/value/eb39a40d34d89bcd62f2f35610d45b4b> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/91c561aa538cf128add3c43247bf53f8> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
-<http://acme.test/value/91c561aa538cf128add3c43247bf53f8> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
-<http://acme.test/value/91c561aa538cf128add3c43247bf53f8> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"5"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/91c561aa538cf128add3c43247bf53f8> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"2000000200-10-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://acme.test/value/91c561aa538cf128add3c43247bf53f8> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/2ea8a209a98da1d5c1b18d7d7d145bce> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
-<http://acme.test/value/2ea8a209a98da1d5c1b18d7d7d145bce> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985786> .
-<http://acme.test/value/2ea8a209a98da1d5c1b18d7d7d145bce> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/2ea8a209a98da1d5c1b18d7d7d145bce> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"-02000002010-02-29T00:00:00Z" .
-<http://acme.test/value/2ea8a209a98da1d5c1b18d7d7d145bce> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/fa2a831c30b16929bca34483676ac5c3> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
-<http://acme.test/value/fa2a831c30b16929bca34483676ac5c3> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985786> .
-<http://acme.test/value/fa2a831c30b16929bca34483676ac5c3> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/fa2a831c30b16929bca34483676ac5c3> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"-2010-02-12T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://acme.test/value/fa2a831c30b16929bca34483676ac5c3> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/a64f3aac4f48c6b7f64c3f07a69bb051> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
-<http://acme.test/value/a64f3aac4f48c6b7f64c3f07a69bb051> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985786> .
-<http://acme.test/value/a64f3aac4f48c6b7f64c3f07a69bb051> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/a64f3aac4f48c6b7f64c3f07a69bb051> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"+00000000000-02-29T00:00:00Z" .
-<http://acme.test/value/a64f3aac4f48c6b7f64c3f07a69bb051> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/73d61a2af309f405f77d3ba39e47823e> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
+<http://acme.test/value/73d61a2af309f405f77d3ba39e47823e> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
+<http://acme.test/value/73d61a2af309f405f77d3ba39e47823e> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/73d61a2af309f405f77d3ba39e47823e> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"0200-02-28T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<http://acme.test/value/73d61a2af309f405f77d3ba39e47823e> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/b3e4ce731699e5bacc9ce1f7b302ec40> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
+<http://acme.test/value/b3e4ce731699e5bacc9ce1f7b302ec40> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
+<http://acme.test/value/b3e4ce731699e5bacc9ce1f7b302ec40> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/b3e4ce731699e5bacc9ce1f7b302ec40> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"-200000200-04-30T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<http://acme.test/value/b3e4ce731699e5bacc9ce1f7b302ec40> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"-60"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/8e6cc149c94b044645f9abc9dd212994> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
+<http://acme.test/value/8e6cc149c94b044645f9abc9dd212994> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
+<http://acme.test/value/8e6cc149c94b044645f9abc9dd212994> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/8e6cc149c94b044645f9abc9dd212994> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"0200-10-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<http://acme.test/value/8e6cc149c94b044645f9abc9dd212994> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"60"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/a0b10f6482c04caa5874dea23528a734> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
+<http://acme.test/value/a0b10f6482c04caa5874dea23528a734> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
+<http://acme.test/value/a0b10f6482c04caa5874dea23528a734> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/a0b10f6482c04caa5874dea23528a734> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"2014-04-30T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<http://acme.test/value/a0b10f6482c04caa5874dea23528a734> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/9664e88f56e7de82f6dfe32e938203ec> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
+<http://acme.test/value/9664e88f56e7de82f6dfe32e938203ec> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
+<http://acme.test/value/9664e88f56e7de82f6dfe32e938203ec> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/9664e88f56e7de82f6dfe32e938203ec> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"2012-02-29T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<http://acme.test/value/9664e88f56e7de82f6dfe32e938203ec> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/270229ea4ff024744eea54e20b02c0f5> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
+<http://acme.test/value/270229ea4ff024744eea54e20b02c0f5> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
+<http://acme.test/value/270229ea4ff024744eea54e20b02c0f5> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/270229ea4ff024744eea54e20b02c0f5> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"2014-02-28T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<http://acme.test/value/270229ea4ff024744eea54e20b02c0f5> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/af7a5362056ec4747a15503b6484c92e> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
+<http://acme.test/value/af7a5362056ec4747a15503b6484c92e> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://acme.test/calendar> .
+<http://acme.test/value/af7a5362056ec4747a15503b6484c92e> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/af7a5362056ec4747a15503b6484c92e> 
<http://www.wikidata.org/ontology-beta#timeValue> "+2012-02-31T00:00:00Z" .
+<http://acme.test/value/af7a5362056ec4747a15503b6484c92e> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/85d9f1d187683fcd02671501dcd8bbea> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
+<http://acme.test/value/85d9f1d187683fcd02671501dcd8bbea> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985786> .
+<http://acme.test/value/85d9f1d187683fcd02671501dcd8bbea> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/85d9f1d187683fcd02671501dcd8bbea> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"2012-03-13T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<http://acme.test/value/85d9f1d187683fcd02671501dcd8bbea> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/f9b4a3f809941692088f210102bd7fd0> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
+<http://acme.test/value/f9b4a3f809941692088f210102bd7fd0> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
+<http://acme.test/value/f9b4a3f809941692088f210102bd7fd0> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"5"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/f9b4a3f809941692088f210102bd7fd0> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"2000000200-10-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<http://acme.test/value/f9b4a3f809941692088f210102bd7fd0> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/5ff0652b01e7b84e97c32289e913386f> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
+<http://acme.test/value/5ff0652b01e7b84e97c32289e913386f> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985786> .
+<http://acme.test/value/5ff0652b01e7b84e97c32289e913386f> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/5ff0652b01e7b84e97c32289e913386f> 
<http://www.wikidata.org/ontology-beta#timeValue> "-2000002010-02-29T00:00:00Z" 
.
+<http://acme.test/value/5ff0652b01e7b84e97c32289e913386f> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/640fefb2f43a08652aaa7730ea9c7adf> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
+<http://acme.test/value/640fefb2f43a08652aaa7730ea9c7adf> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985786> .
+<http://acme.test/value/640fefb2f43a08652aaa7730ea9c7adf> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/640fefb2f43a08652aaa7730ea9c7adf> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"-2010-02-12T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<http://acme.test/value/640fefb2f43a08652aaa7730ea9c7adf> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/a41558288146e0b78a50d52e4421cfec> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
+<http://acme.test/value/a41558288146e0b78a50d52e4421cfec> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985786> .
+<http://acme.test/value/a41558288146e0b78a50d52e4421cfec> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/a41558288146e0b78a50d52e4421cfec> 
<http://www.wikidata.org/ontology-beta#timeValue> "+0000-02-29T00:00:00Z" .
+<http://acme.test/value/a41558288146e0b78a50d52e4421cfec> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
 <http://data.acme.test/Q8> <http://creativecommons.org/ns#license> 
<http://creativecommons.org/publicdomain/zero/1.0/> .
 <http://data.acme.test/Q8> <http://schema.org/about> <http://acme.test/Q8> .
 <http://data.acme.test/Q8> <http://schema.org/dateModified> 
"2014-11-04T03:11:05Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
diff --git a/repo/tests/phpunit/data/rdf/Q9.json 
b/repo/tests/phpunit/data/rdf/Q9.json
index f0300e8..a185454 100644
--- a/repo/tests/phpunit/data/rdf/Q9.json
+++ b/repo/tests/phpunit/data/rdf/Q9.json
@@ -141,7 +141,7 @@
                                     "datatype": "time",
                                     "datavalue": {
                                         "value": {
-                                            "time": 
"-00000000200-00-00T00:00:00Z",
+                                            "time": "-0200-00-00T00:00:00Z",
                                             "timezone": 0,
                                             "before": 0,
                                             "after": 0,
@@ -315,7 +315,7 @@
                                     "datatype": "time",
                                     "datavalue": {
                                         "value": {
-                                            "time": 
"-00000000200-00-00T00:00:00Z",
+                                            "time": "-0200-00-00T00:00:00Z",
                                             "timezone": 0,
                                             "before": 0,
                                             "after": 0,
diff --git a/repo/tests/phpunit/data/rdf/dump_refs.nt 
b/repo/tests/phpunit/data/rdf/dump_refs.nt
index a22cee0..b3158fb 100644
--- a/repo/tests/phpunit/data/rdf/dump_refs.nt
+++ b/repo/tests/phpunit/data/rdf/dump_refs.nt
@@ -8,40 +8,40 @@
 <http://acme.test/Q9> <http://acme.test/assert/P7> "string" .
 <http://acme.test/Q9> <http://acme.test/assert/P7> "string2" .
 <http://acme.test/Q9> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Item> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P2> <http://acme.test/Q42> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P2> <http://acme.test/Q666> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P3> "Universe.svg" .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P3> <http://www.wikidata.org/ontology-beta#Novalue> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P4-value> 
<http://acme.test/value/aad6b70bccf9875ba61d31c767b7f652> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P4> "Point(12.345 
67.89)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P5> "\u0431\u0440\u0435\u0434"@ru .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P5> "\u043F\u0440\u0435\u0432\u0435\u0434"@ru .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P5> <http://www.wikidata.org/ontology-beta#Somevalue> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P6-value> 
<http://acme.test/value/1e09d673624819aacd170165aae555a1> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P6> 
"+19.768000000000000682121026329696178436279296875"^^<http://www.w3.org/2001/XMLSchema#decimal>
 .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P7> "simplestring" .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P8-value> 
<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P8> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://acme.test/value/P9> "http://url.acme.test/"; .
-<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Reference> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P2> <http://acme.test/Q42> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P2> <http://acme.test/Q666> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P3> "Universe.svg" .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P3> <http://www.wikidata.org/ontology-beta#Novalue> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P4-value> 
<http://acme.test/value/aad6b70bccf9875ba61d31c767b7f652> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P4> "Point(12.345 
67.89)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P5> "\u0431\u0440\u0435\u0434"@ru .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P5> "\u043F\u0440\u0435\u0432\u0435\u0434"@ru .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P5> <http://www.wikidata.org/ontology-beta#Somevalue> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P6-value> 
<http://acme.test/value/1e09d673624819aacd170165aae555a1> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P6> 
"+19.768000000000000682121026329696178436279296875"^^<http://www.w3.org/2001/XMLSchema#decimal>
 .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P7> "simplestring" .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P8-value> 
<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P8> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://acme.test/value/P9> "http://url.acme.test/"; .
+<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Reference> .
 <http://acme.test/statement/TEST-References-2-Dup> <http://acme.test/value/P7> 
"string2" .
 <http://acme.test/statement/TEST-References-2-Dup> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
-<http://acme.test/statement/TEST-References-2-Dup> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> .
+<http://acme.test/statement/TEST-References-2-Dup> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> .
 <http://acme.test/statement/TEST-References-2-Dup> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
 <http://acme.test/statement/TEST-References-2-Dup> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#BestRank> .
 <http://acme.test/statement/TEST-References-2> <http://acme.test/value/P7> 
"string2" .
 <http://acme.test/statement/TEST-References-2> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
-<http://acme.test/statement/TEST-References-2> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> .
+<http://acme.test/statement/TEST-References-2> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> .
 <http://acme.test/statement/TEST-References-2> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
 <http://acme.test/statement/TEST-References-2> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#BestRank> .
 <http://acme.test/statement/TEST-References-Dup> <http://acme.test/value/P7> 
"string" .
 <http://acme.test/statement/TEST-References-Dup> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
-<http://acme.test/statement/TEST-References-Dup> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> .
+<http://acme.test/statement/TEST-References-Dup> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> .
 <http://acme.test/statement/TEST-References-Dup> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
 <http://acme.test/statement/TEST-References-Dup> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#BestRank> .
 <http://acme.test/statement/TEST-References> <http://acme.test/value/P7> 
"string" .
 <http://acme.test/statement/TEST-References> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Statement> .
-<http://acme.test/statement/TEST-References> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/94c1119b352b4ed0b6d9182b77a9b249f9ec28c8> .
+<http://acme.test/statement/TEST-References> 
<http://www.w3.org/ns/prov#wasDerivedFrom> 
<http://acme.test/reference/569a639de6dc67beb02644abfcf55534cb2f51ce> .
 <http://acme.test/statement/TEST-References> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#NormalRank> .
 <http://acme.test/statement/TEST-References> 
<http://www.wikidata.org/ontology-beta#rank> 
<http://www.wikidata.org/ontology-beta#BestRank> .
 <http://acme.test/value/1e09d673624819aacd170165aae555a1> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
@@ -49,11 +49,11 @@
 <http://acme.test/value/1e09d673624819aacd170165aae555a1> 
<http://www.wikidata.org/ontology-beta#quantityLowerBound> 
"+19.766999999999999459987520822323858737945556640625"^^<http://www.w3.org/2001/XMLSchema#decimal>
 .
 <http://acme.test/value/1e09d673624819aacd170165aae555a1> 
<http://www.wikidata.org/ontology-beta#quantityUnit> "1" .
 <http://acme.test/value/1e09d673624819aacd170165aae555a1> 
<http://www.wikidata.org/ontology-beta#quantityUpperBound> 
"+19.76899999999999835154085303656756877899169921875"^^<http://www.w3.org/2001/XMLSchema#decimal>
 .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
-<http://acme.test/value/9b0b2552ae2d72bcd64746da766afcea> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timePrecision> 
"9"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timeValue> 
"-0200-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<http://acme.test/value/ba4fa68a0979e663277b08d93f93705c> 
<http://www.wikidata.org/ontology-beta#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> .
 <http://acme.test/value/aad6b70bccf9875ba61d31c767b7f652> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.wikidata.org/ontology-beta#Value> .
 <http://acme.test/value/aad6b70bccf9875ba61d31c767b7f652> 
<http://www.wikidata.org/ontology-beta#geoGlobe> 
<http://www.wikidata.org/entity/Q2> .
 <http://acme.test/value/aad6b70bccf9875ba61d31c767b7f652> 
<http://www.wikidata.org/ontology-beta#geoLatitude> 
"12.345"^^<http://www.w3.org/2001/XMLSchema#decimal> .

-- 
To view, visit https://gerrit.wikimedia.org/r/204258
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9d2d4c9757a706e2378fa7c78635f189e5ad60f4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <thiemo.maet...@wikimedia.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to