- From: Eric Prud'hommeaux <eric@w3.org>
- Date: Tue, 30 May 2006 02:26:45 -0400
- To: public-rdf-dawg@w3.org
- Message-ID: <20060530062645.GS28271@w3.org>
[PENDING] ACTION: EricP to propose text and tests to add {boolean <
> = != boolean} to SPARQL [recorded in
[49]http://www.w3.org/2006/05/09-dawg-minutes.html#action06]
I was trying to figure out how to propose diffs. I decided it was
easiest to commit and ask forgiveness.
<http://www.w3.org/2001/sw/DataAccess/rq23/#chlog> 1.680 has the
changes to add operators for boolean = != < > <= >= . I looked and
xsd:boolean appears to be mentioned in all the appropriate lists and
tables (list of supported xsd types, and casting table.
title:
boolean = boolean - true
data:
http://www.w3.org/2001/sw/DataAccess/tests/data/Expr2/data-1.ttl
query:
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX : <http://example.org/ns#>
SELECT ?a
WHERE
{ ?a :p ?v .
FILTER (?v = true) .
}
result:
<http://example.org/ns#x1>
<http://example.org/ns#x2>
<http://example.org/ns#x3>
<http://example.org/ns#x4>
title:
boolean < boolean - true
data:
http://www.w3.org/2001/sw/DataAccess/tests/data/Expr2/data-1.ttl
query:
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX : <http://example.org/ns#>
SELECT ?a
WHERE
{ ?a :p ?v .
FILTER (?v < true) .
}
result:
<http://example.org/ns#y1>
<http://example.org/ns#y2>
<http://example.org/ns#y3>
<http://example.org/ns#y4>
--
-eric
home-office: +1.617.395.1213 (usually 900-2300 CET)
cell: +81.90.6533.3882
(eric@w3.org)
Feel free to forward this message to any list for any purpose other than
email address distribution.
Received on Tuesday, 30 May 2006 06:26:54 UTC