Skip to content
Alpha: see what works today →
Menu

Named question about record

Which entry shows it

A record is shown in at most one entry, in the view of its kind. The entry joins it with every record judged to be the same thing. A record in no entry is hidden, and Not shown says why.

The query

PREFIX cascade: <https://ns.cascadeprotocol.org/cascade#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT ?record ?recordLabel ?entry ?entryLabel ?view
WHERE {
  { SELECT ?entry ?entryLabel
    WHERE { { SELECT DISTINCT ?entry WHERE { GRAPH ?shownIn { ?entry cascade:entryMember ?member } } }
            OPTIONAL { ?entry rdfs:label ?entryLabel } } }
  GRAPH ?view { ?entry cascade:entryMember ?record }
  ?record a cascade:Record .
  OPTIONAL { ?record rdfs:label ?recordLabel }
}
ORDER BY ?recordLabel ?record ?entry

Terms it reads

cascade:Record · cascade:entryMember · 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 21 rows, as Alex Rivera's explorer shows them. Every row of every question is in answers.json.

recordentryview
Allergy · Latex · Meridian Health System · alg-latex-1Allergy entry · Latexhttps://pod.alex-rivera.example/clinical/allergies.ttl
Allergy · Peanuts · own entryAllergy entry · Peanutshttps://pod.alex-rivera.example/clinical/allergies.ttl
Allergy · Penicillin G · Meridian Health System · alg-pcn-1Allergy entry · Penicillinhttps://pod.alex-rivera.example/clinical/allergies.ttl
Allergy · Penicillin · Larkspur Valley Health · al-8237461Allergy entry · Penicillinhttps://pod.alex-rivera.example/clinical/allergies.ttl
Allergy · Penicillin · Larkspur Valley Health · lv-alg-101Allergy entry · Penicillinhttps://pod.alex-rivera.example/clinical/allergies.ttl
Allergy · Sulfamethoxazole · Larkspur Valley Health · al-8237462Allergy entry · Sulfamethoxazolehttps://pod.alex-rivera.example/clinical/allergies.ttl
Allergy · Sulfamethoxazole · Larkspur Valley Health · lv-alg-102Allergy entry · Sulfamethoxazolehttps://pod.alex-rivera.example/clinical/allergies.ttl
Allergy · Sulfamethoxazole · Meridian Health System · alg-sulfa-1Allergy entry · Sulfamethoxazolehttps://pod.alex-rivera.example/clinical/allergies.ttl
Condition · Acute bronchitis · Meridian Health System · cond-bronch-1Condition entry · Acute bronchitis · 2026-08-12https://pod.alex-rivera.example/clinical/conditions.ttl
Condition · Asthma · Larkspur Valley Health · lv-cond-202Condition entry · Asthma · 2008-09-01https://pod.alex-rivera.example/clinical/conditions.ttl

queries/questions/record/Which entry shows it.rq on GitHub ↗