Skip to content
Alpha: see what works today →
Menu

Not shown

Not every record a source sends ends up in a view. Nothing is deleted to hide it: the record stays in the pod, exactly as it arrived, and the derivations leave it out of every entry. When the reason no longer holds, the next build shows it again.

Why it is in no view

A record no entry joins is hidden, never deleted. Each reason the derivations left it out for is a row, with the thing that reason rests on, where there is one.

6 rows

The query: queries/questions/record/Why it is in no view.rq on GitHub
PREFIX cascade: <https://ns.cascadeprotocol.org/cascade#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT ?record ?recordLabel ?why ?because ?becauseLabel
WHERE {
  ?record a cascade:Record ; cascade:leftOutFor ?leftOut .
  ?leftOut cascade:leftOutReason ?why .
  OPTIONAL { ?leftOut cascade:leftOutBecauseOf ?because }
  OPTIONAL { ?leftOut cascade:leftOutBecauseOf ?because . ?because rdfs:label ?becauseLabel }
  OPTIONAL { ?record rdfs:label ?recordLabel }
}
ORDER BY ?why ?recordLabel ?record ?because

The terms it uses: cascade:Record, cascade:leftOutFor, cascade:leftOutReason, cascade:leftOutBecauseOf, rdfs:label.

Run it yourself, from the runtime's root:

npm run ask -- alex-rivera "record/Why it is in no view"

Or in GraphDB, open the saved query record/Why it is in no view in the repository alex-rivera.