On 2 August 2016 at 20:41, Markus Kroetzsch markus.kroetzsch@tu-dresden.de wrote:
I just proposed the simple and straightforward way to solve the practical problem at hand. It leads to shorter, more readable queries that execute faster. (I don't claim originality for this; it is the obvious solution to the problem and most people would arrive at exactly the same conclusion).
As an aside, storing "pagecount" as a simple number also allows us to do a query to trivially find entries with "pagecount=0" - ie, no project links. I know this used to be challenging for WDQ; is it an easy thing to do in SPARQL or would this be useful added functionality?