Source: rasqal Version: 1.0.10-3 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.~5~ \ 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.~5~ \ 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 -- FSF associate member #7257
pgpLr6t14Yng7.pgp
Description: PGP signature