[redland-dev] [Rasqal RDF Query Library 0000497]: "1"^^xsd:boolean and "true"^^xsd:boolean are not true

Mantis Bug Tracker mantis-bug-sender at librdf.org
Tue Feb 21 00:59:32 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=497 
====================================================================== 
Reported By:                Dave Beckett
Assigned To:                Dave Beckett
====================================================================== 
Project:                    Rasqal RDF Query Library
Issue ID:                   497
Category:                   query engine
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Query Language:             sparql 
====================================================================== 
Date Submitted:             2012-02-21 05:59
Last Modified:              2012-02-21 05:59
====================================================================== 
Summary:                    "1"^^xsd:boolean and "true"^^xsd:boolean are not
true
Description: 
>From debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601374

Steps to Reproduce: 
$ cat data.ttl
@prefix : <http://example.org/ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

:a1 :pred "true"^^xsd:boolean .
:a2 :pred "1"^^xsd:boolean .

$ cat query.rq
SELECT ?s ?p

FROM <data.ttl>

WHERE {
   ?s ?p true . 
}

Expected result: 2 rows.
Actual result: 0 rows
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-02-21 05:59 Dave Beckett   New Issue                                    
2012-02-21 05:59 Dave Beckett   Status                   new => assigned     
2012-02-21 05:59 Dave Beckett   Assigned To               => Dave Beckett    
======================================================================



More information about the redland-dev mailing list