Skip to content
Alpha: see what works today →
Menu

Named question about pod

How many judgments count

The lens decides which judgments count, and only those shape the views. Here they are by verdict, by the reason a machine gave for it, and by whether a person or a machine made them; a retraction has no verdict. Asked under each lens, the rows show which kinds one lens counts and the other does not.

The query

PREFIX cascade: <https://ns.cascadeprotocol.org/cascade#>
PREFIX prov: <http://www.w3.org/ns/prov#>

SELECT ?verdict ?justification ?madeBy (COUNT(DISTINCT ?judgment) AS ?judgments)
WHERE {
  VALUES ?madeBy { prov:Person prov:SoftwareAgent }
  ?judgment cascade:countsUnderLens true ; prov:wasAttributedTo ?agent .
  FILTER EXISTS { ?agent a ?madeBy }
  OPTIONAL { ?judgment cascade:verdict ?verdict }
  OPTIONAL { ?judgment cascade:justification ?justification }
}
GROUP BY ?verdict ?justification ?madeBy
ORDER BY ?verdict ?justification ?madeBy

Terms it reads

cascade:countsUnderLens · cascade:justification · cascade:verdict · prov:Person · prov:SoftwareAgent · prov:wasAttributedTo

Rules and decision notes that name it

No rule or decision note writes its path.

Its rows on Alex Rivera's pod

8 rows, as Alex Rivera's explorer shows them.

verdictmadeByjudgmentsjustification
cascade:Aboutprov:Person3
cascade:Differentprov:Person2
cascade:Erroneousprov:Person1
cascade:Sameprov:Person2
cascade:Sameprov:SoftwareAgent5cascade:SameCode
cascade:Sameprov:SoftwareAgent1cascade:SameCodeAndDate
cascade:Sameprov:SoftwareAgent3cascade:SameCodeAndPeriod
cascade:Sameprov:SoftwareAgent1cascade:SameMappedCodeAndDate

queries/questions/pod/How many judgments count.rq on GitHub ↗