You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems like a bug. But i think that the problem is located in the sparql-plugin not with term.py
As far as i know, xsd:duration and other time related stuff is converted in python types of datetime and of isodate depending on the value. But those conversions are not always realiable because types isodate arent always compatible with types of datetime. Also isodate, which is used for the conversion, doesnt seem to be maintained anymore.
You can check if a conversion was used with the attribute value(checked with rdflib 7.0.0):
It seems that comparisons (<,<=, ==, >=, >) and arithmetic operations (+,-) on xsd:duration in SPARQL queries always evaluate to null. Is this a bug?
Example:
Observed output:
Expected output:
Do I understand correctly that conversion between xsd:duration and python types has not yet been added (e.g. here)?
If so, maybe I coud give it a shot, but I am not familiar with the codebase and don't fully appreciate the complexity of adding such support.
Environment:
The text was updated successfully, but these errors were encountered: