docs← Back to article

Markdown for LLMs

literals

The source Markdown for this article. Copy it into your assistant or download it as a text file.

Download this articlePlain text ↗
# literals

Every use of a `predicate` inside a `node`: the `context` path where the use sits and its `polarity`. Heads appear with the head context, so readers are found by excluding it. A literals row proves that the predicate is mentioned there. It proves nothing about whether the literal holds or the rule that holds it fires.

## Fields

From the live dictionary on the reference fixture:

| field |
|---|
| `node` |
| `context` |
| `predicate` |
| `polarity` |
| `package` |
| `path` |

## Example

One meaningful query on the reference fixture (6 rows):

```lawq
from l in literals where l.predicate == "urn:law:demo:lawqlbase#eligible" select l.node as reader, l.context as context
```