Named question about record
Which judgments name it
A judgment names records as its members: that two are the same, that they differ, or that one is wrong. Rows come in the order a person made the judgments, after a matcher's judgments, which carry no time. Counts says whether one counts under the lens the pod was built with; one that does not was retracted, replaced by a judgment not itself retracted, made with a reference table since replaced, or asserted with a rule query no current rule list runs.
The query
PREFIX cascade: <https://ns.cascadeprotocol.org/cascade#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?record ?recordLabel ?made ?judgment ?judgmentLabel ?verdict ?counts
WHERE {
?record a cascade:Record .
?judgment a cascade:Judgment ; prov:hadMember ?record .
OPTIONAL { ?judgment prov:generatedAtTime ?made }
OPTIONAL { ?judgment cascade:verdict ?verdict }
OPTIONAL { ?judgment cascade:countsUnderLens ?counted }
BIND (COALESCE(?counted, false) AS ?counts)
OPTIONAL { ?record rdfs:label ?recordLabel }
OPTIONAL { ?judgment rdfs:label ?judgmentLabel }
}
ORDER BY ?recordLabel ?record ?made ?judgment
Terms it reads
cascade:Judgment · cascade:Record · cascade:countsUnderLens · cascade:verdict · prov:generatedAtTime · prov:hadMember · rdfs:label
Rules and decision notes that name it
No rule or decision note writes its path.
Its rows on Alex Rivera's pod
The first 10 of 33 rows, as Alex Rivera's explorer shows them. Every row of every question is in answers.json.
| record | made | judgment | verdict | counts |
|---|---|---|---|---|
| Allergy · Penicillin G · Meridian Health System · alg-pcn-1 | 2027-04-02T20:00:00Z | Same · the patient · 2027-04-02 · Penicillin | cascade:Same | true |
| Allergy · Penicillin · Larkspur Valley Health · al-8237461 | Same · Cascade matcher · 5f006452 · Penicillin | cascade:Same | true | |
| Allergy · Penicillin · Larkspur Valley Health · al-8237461 | 2027-04-02T20:00:00Z | Same · the patient · 2027-04-02 · Penicillin | cascade:Same | true |
| Allergy · Penicillin · Larkspur Valley Health · lv-alg-101 | Same · Cascade matcher · 5f006452 · Penicillin | cascade:Same | true | |
| Allergy · Penicillin · Larkspur Valley Health · lv-alg-101 | 2027-04-02T20:00:00Z | Same · the patient · 2027-04-02 · Penicillin | cascade:Same | true |
| Allergy · Sulfamethoxazole · Larkspur Valley Health · al-8237462 | Same · Cascade matcher · 761cfeb7 · Sulfamethoxazole | cascade:Same | true | |
| Allergy · Sulfamethoxazole · Larkspur Valley Health · al-8237462 | 2026-12-02T19:00:00Z | Same · the patient · 2026-12-02 · Sulfamethoxazole | cascade:Same | true |
| Allergy · Sulfamethoxazole · Larkspur Valley Health · lv-alg-102 | Same · Cascade matcher · ee6f88c0 · Sulfamethoxazole | cascade:Same | true | |
| Allergy · Sulfamethoxazole · Meridian Health System · alg-sulfa-1 | Same · Cascade matcher · 761cfeb7 · Sulfamethoxazole | cascade:Same | true | |
| Allergy · Sulfamethoxazole · Meridian Health System · alg-sulfa-1 | Same · Cascade matcher · ee6f88c0 · Sulfamethoxazole | cascade:Same | true |
queries/questions/record/Which judgments name it.rq on GitHub ↗