How can I get more results from anzograph

153 Views Asked by At

I am using anzograph with SPARQL trough http using RDFlib. I do not specify any limits in my query, and still I only receive 1000 solutions. The same seems to happen on the web interface. If I fire the same query on other triple stores with the same data, I do get all results.

Moreover, if I fire this query using their command line tool on the same machine as the database, I do get all results (millions). Maybe it is using a different protocol with the local database. If I specify the hostname and port explicitly on the command line, I get 1030 results...

Is there a way to specify that I want all results from anzograph over http?

I have found the service_graph_rowset_limit setting and changed its value to 100000000 in both config/settings_standalone.conf and config/settings.conf, (and restarted the database) but to no avail.

1

There are 1 best solutions below

4
On

let me start by thanking you for pointing this issue out. You have identified a regression of a fix, that had been intended to protect the web UI from freezing on unbounded result sets, but affected the regular sparql endpoint user as well.

Our Anzo customers do not see this issue, as they use the internal gRPC API directly.

We have produced a fix that will be in our upcoming anzograph 2.4.0 and in our upcoming patch release 2.3.2 set of images. Older releases will receive this fix as well (when we have a shipment vehicle).

If it is urgent to you I can provide you both a point fix (root.war file). What exact image are you using?

Best - Frank