Hi,
I have a bit of weirdness though it's been resolved/worked-around.
A query that looks like:
prefix ont: <ontStuff>
select ?dq { GRAPH <http://stuff> { ?li ont:code "S" . ?li ont:liHasDQ ?dq
. ?dq ont:Quantity ?qty . ?dq ont:Quantity "0"^^xsd:int } }
Or with a filter:
prefix ont: <ontStuff>
select ?dq { GRAPH <http://stuff> { ?li ont:code "S" . ?li ont:liHasDQ ?dq
. ?dq ont:Quantity ?qty . ?dq ont:Quantity ?qty FILTER (?qty= "0"^^xsd:int)
} }
These don't return and under some circumstances, crash Virtuoso. Changing
the Quantity to a variable bind and with a FILTER doesn't help much though
I haven't observed it to crash. But if I change the FILTER to "(?qty = 0)"
then it returns in a few seconds.
Any idea why this would happen? The underlying literal is a typed as
(actual example): "000001"^^<http://www.w3.org/2001/XMLSchema#int>.
Casting to xsd:int doesn't help either, that won't return in reasonable
time either.
--
Quentin | Clear Blue Water Pty Ltd
[email protected]