No subject


Thu Apr 14 18:21:16 CEST 2011


QUOTE

Please consider the following RDF graph representations:

$ rdfproc -s sqlite +sparql-2010-10-25.sqlite \
      serialize ntriples 
<uuid:d9054928-e048-11df-a0c0-4040a5e6bfa3#subject>
<uuid:d9054928-e048-11df-a0c0-4040a5e6bfa3#predicate>
"true"^^<http://www.w3.org/2001/XMLSchema#boolean> .
$ rdfproc -s sqlite
+sparql-2010-10-25.sqlite.http://bugs.librdf.org/mantis/view.php?id=4#c5~ \
      serialize ntriples 
<uuid:d9054928-e048-11df-a0c0-4040a5e6bfa3#subject>
<uuid:d9054928-e048-11df-a0c0-4040a5e6bfa3#predicate>
"1"^^<http://www.w3.org/2001/XMLSchema#boolean> .
$ 

	Following [1, 2], my understanding is that these are
	representations of essentially the same graph.  Thus, I'd expect
	that the following SPARQL query to produce identical results for
	both of the storages, contrary to what actually happens:

$ rdfproc -s sqlite +sparql-2010-10-25.sqlite \
      query sparql - 'SELECT ?s ?p WHERE { ?s ?p true . }' 
rdfproc: Query returned bindings results:
result: [s=[uuid:d9054928-e048-11df-a0c0-4040a5e6bfa3#subject],
p=[uuid:d9054928-e048-11df-a0c0-4040a5e6bfa3#predicate]]
rdfproc: Query returned 1 results
$ rdfproc -s sqlite
+sparql-2010-10-25.sqlite.http://bugs.librdf.org/mantis/view.php?id=4#c5~ \
      query sparql - 'SELECT ?s ?p WHERE { ?s ?p true . }' 
rdfproc: Query returned bindings results:
rdfproc: Query returned 0 results
$ 

[1] http://www.w3.org/TR/xmlschema11-2/#boolean
[2] http://www.w3.org/TR/xmlschema11-2/#f-booleanLexmap

END QUOTE


Additional Information: 
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601374

Found in redland 1.0.10 in Oct 2010 which would be rasqal 0.9.17 - 0.9.20 range.


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-07 22:15 Dave Beckett   New Issue                                    
2011-05-07 22:15 Dave Beckett   Status                   new => assigned     
2011-05-07 22:15 Dave Beckett   Assigned To               => Dave Beckett    
======================================================================



More information about the redland-dev mailing list