Ticket #3 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

ASK query returns true on empty store

Reported by: yves@… Owned by:
Priority: major Milestone: Public release
Component: Unknown Version: 1.0
Keywords: Cc: swh

Description

The query ASK WHERE {?s ?p ?o} returns true on an empty 4store instance.

Same thing for that more complex query, which returns true on an empty 4store instance:

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
<http://www.bbc.co.uk/beancounter/users/moustaki>

foaf:holdsAccount [

a foaf:OnlineAccount ;
foaf:accountName "moustaki";
foaf:accountServiceHomepage <http://twitter.com>

] .

}

Change History

comment:1 Changed 4 years ago by swh

<http://www.bbc.co.uk/beancounter/users/moustaki> foaf:holdsAccount ?x 

returns FALSE

<http://www.bbc.co.uk/beancounter/users/moustaki> foaf:holdsAccount ?s . ?s a foaf:OnlineAccount .

returns TRUE

on an empty store

comment:2 Changed 4 years ago by swh

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in 2fe39024d148175fb579d9699e90b22c6afdab84

Note: See TracTickets for help on using tickets.