Markdown for LLMs
LDC-E8208 — Second template in one label
The source Markdown for this article. Copy it into your assistant or download it as a text file.
# LDC-E8208 — Second template in one label
## What it means
A label carries at most one predicate template: one relation has one
verbal shape, and two competing sentences on the same label can never
agree. When a label declares a second template — in the same label
block or in a repeated label for the same language — the compiler stops
at the second one and asks to keep only one.
Merging the two sentences into a single template is the whole fix.
## Example
```law
language "law.core" version "0.2";
package demo.diag version "0.1.0";
namespace "urn:law:demo:diag";
entity C { label ru-KZ official "C"; }
relation r(a: C) kind empirical {
label ru-KZ official "r" { template "{a}"; template "and {a}"; }
}
```
## Fix
```law
language "law.core" version "0.2";
package demo.diag version "0.1.0";
namespace "urn:law:demo:diag";
entity C { label ru-KZ official "C"; }
relation r(a: C) kind empirical {
label ru-KZ official "r" { template "{a}"; }
}
```
## Engine message
The engine reports this in its own wording:
```text
example.law:7:48: error LDC-E8208: second predicate template in label "ru-KZ": a label has one template (§218.2)
```
## Related
- [Vocabulary](/constructs/vocabulary/) — how names are declared and which positions take them.