Hi,

I am having a problem about ARQ's parse time of a big result set. (ARQ
version 2.9.4)

I execute two queries which produce similar result sets. I attached them.

The first one contains a filter block ("one_of_filter" type) and returns
around 9000 results. On the other hand, the second one doesn't have a
filter block and has a limit element to produce same number of results with
the former query. (Not the same results, but only the same result count)

The problem is that it takes 60 seconds to parse the result of the first
query while it only takes 0.4 seconds to parse the result of the second
query. I'm executing these queries on a sparql endpoint of drugbank dataset
which is loaded on a local 4Store server. ( Here's the link to download
considered drugbank dataset:
https://docs.google.com/file/d/0B3zcaLjQc0_yaEdsTUdxQ1ZJc28/edit?usp=sharing)

I execute the query with the code given below:

QueryExecution queryExecution = QueryExecutionFactory.sparqlService("
http://localhost:8000/sparql/";, query);
ResultSet resultSet = queryExecution.execSelect();
while (resultSet.hasNext()) { resultSet.next(); ... }

Reading the first result of two queries take similar times. But reading the
all result set of the first query takes a long time. Do you have any idea
why parsing two queries are different?

Best Regards,
Burak Yönyül

Reply via email to