. . . . "Lists every MIRA claim with the research question it addresses, a tally of the evidence and arguments supporting and opposing it, a derived status (contested when both exist, otherwise supported, disputed, or no evidence yet) and a flags column for record-level markers such as Example. Runs against the type repository of the shared MIRA record type, which holds the whole MIRA graph -- claims and the supports/opposes links alike -- so the endpoint is coupled to that type IRI (https://w3id.org/spaces/mira/r/MiraRecord). Flags are read from npx:hasNanopubType via a values table in the query, so a further marker is one row to add." . . . "Get MIRA claims with their evidence" . . "prefix mira: \nprefix dct: \nprefix npx: \nprefix npa: \n\nselect ?claim ?claim_label ?flags ?status ?supporting ?opposing\n ?question_multi_iri ?question_label_multi ?np (\"^\" as ?np_label) where {\n {\n select ?claim (sample(?t) as ?claim_label)\n (group_concat(distinct str(?q); separator=\" \") as ?question_multi_iri)\n (group_concat(distinct ?qt; separator=\"\\n\") as ?question_label_multi)\n where {\n graph ?ca { ?claim a mira:Claim ; dct:title ?t . }\n optional {\n graph ?qa { ?claim mira:addresses ?q . }\n optional { graph ?qd { ?q a mira:Question ; dct:title ?qt . } }\n }\n } group by ?claim\n }\n optional {\n select ?claim (count(distinct ?s) as ?sup) where {\n graph ?sg { ?s mira:supports ?claim . }\n } group by ?claim\n }\n optional {\n select ?claim (count(distinct ?o) as ?opp) where {\n graph ?og { ?o mira:opposes ?claim . }\n } group by ?claim\n }\n bind(coalesce(?sup, 0) as ?supporting)\n bind(coalesce(?opp, 0) as ?opposing)\n bind(if(?supporting > 0 && ?opposing > 0, \"contested\",\n if(?supporting > 0, \"supported\",\n if(?opposing > 0, \"disputed\", \"no evidence yet\"))) as ?status)\n # pubinfo triples are mirrored into npa:graph, so pin the graph: a variable\n # graph here matches both the nanopub's own pubinfo and npa:graph, doubling rows\n graph npa:graph { ?np npx:introduces ?claim . }\n # Record-level flags. To add a flag, add one row to the values table below; the\n # marker is read from the nanopublication's npx:hasNanopubType. The type repository\n # holds only the current version of each record, so ?np is unambiguous here.\n optional {\n select ?np (group_concat(distinct ?flag; separator=\", \") as ?flagList) where {\n graph npa:graph { ?np npx:hasNanopubType ?flagType . }\n values (?flagType ?flag) {\n (npx:ExampleNanopub \"Example\")\n }\n } group by ?np\n }\n bind(coalesce(?flagList, \"\") as ?flags)\n}" . . "Tobias Kuhn" . "2026-10-01T11:10:00Z"^^ . . . . . "Get MIRA claims with their evidence" . . . . . . "RSA" . "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" . "b4Wvk1n1H7b39OknIGMNZALiGW1vHVKRLS4RVAE5bWVqol/7mHfqBnMFNjy6JKpA8gUwKVzLg2tLp7e2tfKcOTKMcQKO3yPlVgggrYCYxiBXYo6cBU47dM3Yp/f4Gu4/E+tkxdJyyyx33iaN/nthAj4qM6BLkqFpXO+zjoOcQbI=" . . .