| Lucas_Werkmeister_WMDE added a comment. |
I quickly checked how some SPARQL servers parse SELECT (1. AS ?x) (DATATYPE(?x) AS ?dt) {}:
- BlazeGraph: "1."^^xsd:decimal
- Virtuoso: "1"^^xsd:decimal
- Fuseki: parse error (expecting AS at .)
So whatever the spec says, implementations seem to do very different things. I’ve opened SPARQL.js#66 to request an upstream fix.
TASK DETAIL
EMAIL PREFERENCES
To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Tagishsimon, abian, Aklapper, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Salgo60, D3r1ck01, Jonas, Xmlizer, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, Mbch331
Cc: Lucas_Werkmeister_WMDE, Tagishsimon, abian, Aklapper, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Salgo60, D3r1ck01, Jonas, Xmlizer, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
