-
Hello! I need to provide public access to SPARQL-enpoint. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
RDF4J computes cost estimates during query optimization: You could try to interpret these values but I think it won't work for most of your cases as you would need the real result set cardinalities. The best approach is to just limit the maximum query time by using |
Beta Was this translation helpful? Give feedback.
RDF4J computes cost estimates during query optimization:
rdf4j/core/queryalgebra/evaluation/src/test/java/org/eclipse/rdf4j/query/algebra/evaluation/impl/QueryCostEstimatesTest.java
Line 25 in e25913a
You could try to interpret these values but I think it won't work for most of your cases as you would need the real result set cardinalities.
The best approach is to just limit the maximum query time by using
setMaxQueryTime()
:https://rdf4j.org/javadoc/5.0.0/org/eclipse/rdf4j/query/Query.html#setMaxQueryTime(int)