docs← Back to article

Markdown for LLMs

producers

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

Download this articlePlain text ↗
# producers

Кто производит предикат в пакете — правила с этой головой, их сила, полярность и якоря.

## Parameters

- `predicate`
- `pkg`

## Example

The filed example, as is:

```text
predicate=urn:kz:corpus:clir:labour-code#compensation_for_unused_leave_amount pkg=kz.corpus.labour_code
```

## Query

```lawq
from r in corpus("${pkg}").rules
where r.head_predicate == "${predicate}"
select r.id as producer, r.strength as strength, r.head_polarity as polarity, anchor(r.id) as anchors
```