LDC-Q2010 — The label reader takes one or two arguments, not three
For LLMs5 sections
What it means
Section titled “What it means”Labels name the human-readable titles attached to a node, optionally in one language. The reader therefore takes the node plus at most one language: a third argument has no meaning, so the engine stops the query instead of ignoring it.
Drop the extra argument. To read labels in every language, pass the node alone.
Example
Section titled “Example”Both queries below run against this package:
language "law.core" version "0.2";package demo.diagnostics version "0.1.0";namespace "urn:law:demo:diagnostics";
entity Applicant;relation resident(a: Applicant) kind institutional;relation permit_eligible(a: Applicant) kind institutional;
rule PermitEligibility strict { for a: Applicant; when resident(a); then permit_eligible(a);}Three arguments are one too many:
from r in rules select labels(r.id, r.id, r.id)from r in rules select rDocumentation for Arxo. Writings — blog.arxo.io.
Anonymous visit counts on stats.arxo.io, no cookies.