From 43b0eb9078f144c0d1c36f2c751b81922030eb1a Mon Sep 17 00:00:00 2001 From: Karima Rafes Date: Thu, 13 May 2021 15:07:11 +0200 Subject: [PATCH] The type "typed-literal" is wrong in SPARQL result (https://www.w3.org/TR/sparql11-results-json/) Replace the type "typed-literal" with "literal" --- sparql11/data-sparql11/json-res/jsonres01.srj | 6 +++--- sparql11/data-sparql11/json-res/jsonres02.srj | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sparql11/data-sparql11/json-res/jsonres01.srj b/sparql11/data-sparql11/json-res/jsonres01.srj index af188953..bcfd68b3 100644 --- a/sparql11/data-sparql11/json-res/jsonres01.srj +++ b/sparql11/data-sparql11/json-res/jsonres01.srj @@ -17,17 +17,17 @@ { "s": { "type": "uri" , "value": "http://example.org/s3" } , "p": { "type": "uri" , "value": "http://example.org/p2" } , - "o": { "datatype": "http://www.w3.org/2001/XMLSchema#string" , "type": "typed-literal" , "value": "bar" } + "o": { "datatype": "http://www.w3.org/2001/XMLSchema#string" , "type": "literal" , "value": "bar" } } , { "s": { "type": "uri" , "value": "http://example.org/s4" } , "p": { "type": "uri" , "value": "http://example.org/p4" } , - "o": { "datatype": "http://www.w3.org/2001/XMLSchema#integer" , "type": "typed-literal" , "value": "4" } + "o": { "datatype": "http://www.w3.org/2001/XMLSchema#integer" , "type": "literal" , "value": "4" } } , { "s": { "type": "uri" , "value": "http://example.org/s5" } , "p": { "type": "uri" , "value": "http://example.org/p5" } , - "o": { "datatype": "http://www.w3.org/2001/XMLSchema#decimal" , "type": "typed-literal" , "value": "5" } + "o": { "datatype": "http://www.w3.org/2001/XMLSchema#decimal" , "type": "literal" , "value": "5" } } , { "s": { "type": "uri" , "value": "http://example.org/s6" } , diff --git a/sparql11/data-sparql11/json-res/jsonres02.srj b/sparql11/data-sparql11/json-res/jsonres02.srj index a834dc9e..c7fc2cbb 100644 --- a/sparql11/data-sparql11/json-res/jsonres02.srj +++ b/sparql11/data-sparql11/json-res/jsonres02.srj @@ -19,17 +19,17 @@ { "s": { "type": "uri" , "value": "http://example.org/s3" } , "p": { "type": "uri" , "value": "http://example.org/p2" } , - "o": { "datatype": "http://www.w3.org/2001/XMLSchema#string" , "type": "typed-literal" , "value": "bar" } + "o": { "datatype": "http://www.w3.org/2001/XMLSchema#string" , "type": "literal" , "value": "bar" } } , { "s": { "type": "uri" , "value": "http://example.org/s4" } , "p": { "type": "uri" , "value": "http://example.org/p4" } , - "o": { "datatype": "http://www.w3.org/2001/XMLSchema#integer" , "type": "typed-literal" , "value": "4" } + "o": { "datatype": "http://www.w3.org/2001/XMLSchema#integer" , "type": "literal" , "value": "4" } } , { "s": { "type": "uri" , "value": "http://example.org/s5" } , "p": { "type": "uri" , "value": "http://example.org/p5" } , - "o": { "datatype": "http://www.w3.org/2001/XMLSchema#decimal" , "type": "typed-literal" , "value": "5" } + "o": { "datatype": "http://www.w3.org/2001/XMLSchema#decimal" , "type": "literal" , "value": "5" } } , { "s": { "type": "uri" , "value": "http://example.org/s6" } ,