Skip to content
Alpha: see what works today →
Menu

Cascade queries

Every query cascade-vocabulary publishes, by kind: what it is for, as its file says, its text, the terms it reads, and, for a named question or a view, its rows on Alex Rivera's example pod. The queries are read from queries/.

Named questions · Views · Labels · Matcher rules · Derivations · Lenses · Tables

Named questions

What a person asks of a pod, by the kind of thing the question is about. Each is answered from the views alone.

About the entry

About the judgment

About the pod

About the profile

About the record

Views

The queries that make each view file of a pod, which an app reads without the records behind it.

Labels

The query that gives every record, entry and judgment a name.

Matcher rules

The query each rule of the matcher runs to say when two records match.

Derivations

The queries that derive statements from a pod's records, for the questions and views to read.

Lenses

The queries that decide which judgments count.

Tables

The queries that read the reference tables an app holds against a pod's entries.

Read from cascade-vocabulary at https://github.com/the-cascade-protocol/cascade-vocabulary/tree/c2d3ad17d0e4de9427a9cdfc3db0a8753a624993/; the example pod may have been built from another commit.