Skip to content
docs
Arxo ↗

LDC-Q4004 — The predicate is not declared by the target package

For LLMs5 sections

Every predicate named in a question over a package must be declared by that package: conditions and return values are matched against its vocabulary. An undeclared name stops the question, and the engine suggests the declared names that look closest, so a typo is easy to spot.

Use a predicate the target package declares, or check the spelling against the suggestion in the message.

LawQL
query q over "demo.diagnostics" { for x: Applicant; where resident(x); select nosuchpred(x); }
LawQL
from r in rules select r

The engine reports this in its own wording:

Output
LDC-Q4004: predicate 'nosuchpred' is not declared by the target package.

Documentation for Arxo. Writings — blog.arxo.io.

Anonymous visit counts on stats.arxo.io, no cookies.