Named question about profile
Which judgments name it
An About or a NotAbout judgment names a patient profile as its member and says whether it is the subject's; until an About counts that no counting NotAbout outranks, the records that name the profile are in no view. Rows come in the order the judgments were made.
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 DISTINCT ?profile ?profileLabel ?made ?judgment ?judgmentLabel ?verdict ?counts
WHERE {
?version cascade:patient ?profile .
?judgment a cascade:Judgment ; prov:hadMember ?profile ; prov:generatedAtTime ?made .
OPTIONAL { ?judgment cascade:verdict ?verdict }
OPTIONAL { ?judgment cascade:countsUnderLens ?counted }
BIND (COALESCE(?counted, false) AS ?counts)
OPTIONAL { ?profile rdfs:label ?profileLabel }
OPTIONAL { ?judgment rdfs:label ?judgmentLabel }
}
ORDER BY ?profileLabel ?profile ?made ?judgment
Terms it reads
cascade:Judgment · cascade:countsUnderLens · cascade:patient · 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
4 rows, as Alex Rivera's explorer shows them.
| profile | made | judgment | verdict | counts |
|---|---|---|---|---|
| Patient profile · Larkspur Valley Health · first received 2026-10-14 | 2026-10-14T15:42:30Z | About · the patient · 2026-10-14 · a patient profile | cascade:About | true |
| Patient profile · Larkspur Valley Health · first received 2027-03-18 | 2027-03-18T12:00:30Z | About · the patient · 2027-03-18 · a patient profile | cascade:About | true |
| Patient profile · Meridian Health System · first received 2026-09-01 | 2026-09-01T10:00:30Z | About · the patient · 2026-09-01 · a patient profile | cascade:About | true |
| Patient profile · Meridian Health System · first received 2027-02-10 | 2027-02-10T17:21:30Z | About · the patient · 2027-02-10 · a patient profile | cascade:About | false |
queries/questions/profile/Which judgments name it.rq on GitHub ↗