Hi Mike,
Thank you very much for your reply.
I have tried a similar query on an empty database, but it still hangs.
I tried to test your suggestion with SNARL, but Gradle can't find the dependency "com.complexible.stardog.protocols.snarl:client:2.1.3". I also tried to find it from maven repository but I didn't make it.
The queries we use are ordinary queries with long filter expressions, you can try the following query on an empty database. I think it will prove my point:
SELECT (count(*) as ?total)
WHERE { ?s ?p ?o.
FILTER ( ?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test" ||?s = "test"||?s = "test"||?s = "test"||?s = "test")
}
When we have the default prefixes rdf, rdfs, xsd and owl, the aforementioned query will hang. But if you delete one ||?s="test" from the filter expression or just remove one prefix, you can receive the response quickly. That's why I assume the length of this query causes such type of problems. Moreover, when the query is hang, I also cannot see anything from the query management.
If you cannot reproduce the problem, you may try to make the query longer and see what will happen. Otherwise I will send you our data and see if it is our fault.
Thank you very much for your help in advance. Have a nice day.
Regards,
Yang
在 2015年1月2日星期五UTC+1下午1时46分37秒,Michael Grove写道: