virtuoso-opensource
virtuoso-opensource copied to clipboard
Incorrect query results - Literal value accidentally converted to URI
Version: 7.2.14
I encounter a problem that literal values accidentally converted to URIs if there is an URI with the same value.
Here is an example for reproducibility.
- Insert the data:
INSERT { <https://mrdata.usgs.gov/mrds> <https://example.com/uri> "https://mrdata.usgs.gov/mrds" . }. - Query the data:
SELECT ?s ?p ?o WHERE { ?s ?p ?o . VALUES ?s { <https://mrdata.usgs.gov/mrds> } }
This is the results in JSON:
{
"head": {
"link": [],
"vars": [
"s",
"p",
"o"
]
},
"results": {
"distinct": false,
"ordered": true,
"bindings": [
{
"s": {
"type": "uri",
"value": "https://mrdata.usgs.gov/mrds"
},
"p": {
"type": "uri",
"value": "https://example.com/uri"
},
"o": {
"type": "uri",
"value": "https://mrdata.usgs.gov/mrds"
}
}
]
}
}
We are looking into this ...