[redland-dev] [Redland librdf RDF API 0000515]: ASK query fails for 'hashes' storage when using contexts

Mantis Bug Tracker mantis-bug-sender at librdf.org
Thu Jun 21 15:01:47 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=515 
====================================================================== 
Reported By:                njh
Assigned To:                
====================================================================== 
Project:                    Redland librdf RDF API
Issue ID:                   515
Category:                   query engine
Reproducibility:            always
Severity:                   major
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2012-06-21 19:01
Last Modified:              2012-06-21 19:01
====================================================================== 
Summary:                    ASK query fails for 'hashes' storage when using
contexts
Description: 
This works - returns true (loading into the default graph):

    echo "<http://ex.com/a> <http://ex.com/b> <http://ex.com/c> ." > test.nt
    rdfproc -n -c test parse test.nt ntriples http://ex.com/
    rdfproc -c test serialize ntriples
    rdfproc -c test query sparql - "ASK { <http://ex.com/a> <http://ex.com/b>
<http://ex.com/c> }"


This fails - returns false (loading into a context):

    echo "<http://ex.com/a> <http://ex.com/b> <http://ex.com/c> ." > test.nt
    rdfproc -n -c test parse test.nt ntriples http://ex.com/ http://ex.com/
    rdfproc -c test serialize ntriples
    rdfproc -c test query sparql - "ASK { <http://ex.com/a> <http://ex.com/b>
<http://ex.com/c> }"


Note that these queries always return true:

    ?s ?p ?o : **true**
    <http://ex.com/a> ?p ?o : **true**
    <http://ex.com/a> <http://ex.com/b> ?o : **true**


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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-06-21 19:01 njh            New Issue                                    
======================================================================



More information about the redland-dev mailing list