throws StoreException, MalformedQueryException
{
verifyIsOpen();
flush();
QueryClient query = client.queries().postQuery(ql, qry, baseURI);
if (query instanceof GraphQueryClient) {
return new HTTPGraphQuery(qry, (GraphQueryClient)query);
}
if (query instanceof BooleanQueryClient) {
return new HTTPBooleanQuery(qry, (BooleanQueryClient)query);