SANSA-Stack / Archived-SANSA-Query

SANSA Query Layer
Apache License 2.0
31 stars 13 forks source link

FILTER in Sparql cannot match int value correctly #14

Closed sui414 closed 4 years ago

sui414 commented 6 years ago

When I filter by int value, it returned empty list while in the result there should be some values matched. No error message.

This is my test on GraphDB, showing the query can return matched results: image

This is my test on SANSA: https://dbc-c63f139d-39c4.cloud.databricks.com/#notebook/522/command/531 (command 6) image

Aklakan commented 4 years ago

The issue is, that the value is out of range of (4 byte) ints and while I see in the code that Sparqlify actually has registrations for long and decimal, this is not fully implemented and maps these mightier types back to int.

LorenzBuehmann commented 4 years ago

Solved by using the Ontop SPARQL engine in 0.8 release.