Mercurial > repos > atsuko > sparql
diff sparql/sparql/test/dawg/data-r2/type-promotion/tP-positiveInteger-short.rq @ 0:7785ad38967f default tip
Uploaded
author | atsuko |
---|---|
date | Thu, 25 Aug 2011 22:14:55 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sparql/sparql/test/dawg/data-r2/type-promotion/tP-positiveInteger-short.rq Thu Aug 25 22:14:55 2011 -0400 @@ -0,0 +1,10 @@ +# Positive test: product of type promotion within the xsd:decimal type tree. +# $Id: tP-positiveInteger-short.rq,v 1.1 2007/06/29 14:24:48 aseaborne 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:positiveInteger1 rdf:value ?l . + t:short1 rdf:value ?r . + FILTER ( datatype(?l + ?r) = xsd:integer ) }