d2rq/d2rq — Issue #120: Make literals of numeric datatypes directly comparable in SPARQL
Author: cygri
Created: 2012-03-09 02:54:39+00:00
State: open
Labels: conformance, usability

Currently, an `xsd:short` never matches an `xsd:int` in SPARQL, nor do any other two numeric types ever match. But that's just because the `TypedNodeMakers` reject literals if they are not of the same datatype. If numeric `TypedNodeMakers` would accept other numeric types, then everything should just work, as the engine can handle this.

Requires testing though, and a notion of which types exactly should be considered compatible, because XSD and SPARQL may say different things on that matter.