Skip to content

Commit

Permalink
The type "typed-literal" is wrong in SPARQL result (https://www.w3.or…
Browse files Browse the repository at this point in the history
…g/TR/sparql11-results-json/)

Replace the type "typed-literal" with "literal"
  • Loading branch information
BorderCloud authored and gkellogg committed May 14, 2021
1 parent 634dadc commit 43b0eb9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions sparql11/data-sparql11/json-res/jsonres01.srj
Original file line number Diff line number Diff line change
Expand Up @@ -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" } ,
Expand Down
6 changes: 3 additions & 3 deletions sparql11/data-sparql11/json-res/jsonres02.srj
Original file line number Diff line number Diff line change
Expand Up @@ -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" } ,
Expand Down

0 comments on commit 43b0eb9

Please sign in to comment.