# Positive test: product of type promotion within the xsd:decimal type tree. | |
# $Id: tP-double-decimal.rq,v 1.2 2006/01/18 16:58:05 andy_seaborne Exp $ | |
PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#> | |
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
ASK | |
WHERE { t:double1 rdf:value ?l . | |
t:decimal1 rdf:value ?r . | |
FILTER ( datatype(?l + ?r) = xsd:double ) } |