comparison sparql/sparql/test/dawg/data-r2/type-promotion/tP-byte-short-fail.rq @ 0:7785ad38967f default tip

Uploaded
author atsuko
date Thu, 25 Aug 2011 22:14:55 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:7785ad38967f
1 # Positive test: product of type promotion within the xsd:decimal type tree.
2 # $Id: tP-byte-short-fail.rq,v 1.1 2007/06/29 14:24:48 aseaborne Exp $
3
4 PREFIX t: <http://www.w3.org/2001/sw/DataAccess/tests/data/TypePromotion/tP-0#>
5 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
6 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
7 ASK
8 WHERE { t:byte1 rdf:value ?l .
9 t:short1 rdf:value ?r .
10 FILTER ( datatype(?l + ?r) = xsd:short ) }