view sparql/sparql/test/dawg/data-r2/type-promotion/.svn/text-base/tP-short-short.rq.svn-base @ 0:7785ad38967f default tip

Uploaded
author atsuko
date Thu, 25 Aug 2011 22:14:55 -0400
parents
children
line wrap: on
line source

# Positive test: product of type promotion within the xsd:decimal type tree.
# $Id: tP-short-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:short1 rdf:value ?l .
         t:short1 rdf:value ?r .
         FILTER ( datatype(?l + ?r) = xsd:integer ) }