Debian Codegraph @

tests/sparql/ValueTesting/extendedType-eq-pass.rq

raw
1 # Only extended types with identical lexical rep and datatypes can be = .
2 # $Id: extendedType-eq-pass.rq,v 1.5 2005/08/02 03:30:19 eric Exp $
3
4 PREFIX loc: <http://www.w3.org/2001/sw/DataAccess/tests/data/ValueTesting/extendedType-0#>
5 PREFIX wgs: <http://www.w3.org/2003/01/geo/wgs84_pos#>
6 PREFIX air: <http://www.daml.org/2001/10/html/airport-ont#>
7 #PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
8 #SELECT ?a1 (xsd:float(xsd:string(?rot1))-5.5) ?a2
9 SELECT ?a1 ?a2
10 WHERE {?a1 air:name ?name1 ;
11 loc:location ?l1 .
12 ?l1 loc:rotational ?rot1 .
13 ?a2 air:name ?name2 ;
14 loc:location ?l2 .
15 ?l2 loc:rotational ?rot2 .
16 FILTER (?rot1 = ?rot2)}
17 # FILTER (str(?rot1) = "-7420507.1")}