⚡️ Ideas
Denis Bogdanas Denis Bogdanas Oct 9, 2025

Searches - Implement negation of PARENT DESCENDANTS WITH REFS constraint

Explain the problem as you see it

Right now the query clause NOT: PARENT DESCENDANTS WITH REFS does not work. Computation never finishes.

Why is this a problem for you?

It is useful if I have a bunch of queries for a certain #tag with various constraints, all under one node, and I want to find all #tag that was not covered by those queries. Incredibly useful when I'm classifying instances of a tag and want to find what is left out.

Suggest a solution

Such a query is an instance of Russell Paradox. So understandably it cannot be computed. But it is easy to get around it. Queries with constraints referring to parent/grandparent should simply not search inside themselves.