[ { "@id": "https://w3id.org/np/RAH4TjgWYx-9Lo3VWeeLVg9xL8DFoCPAU5gQiwqkwJpV8/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAH4TjgWYx-9Lo3VWeeLVg9xL8DFoCPAU5gQiwqkwJpV8/get-mira-claims-with-evidence", "http://purl.org/dc/terms/description": [ { "@value": "Lists every MIRA claim with the research question it addresses and a tally of the evidence and arguments supporting and opposing it, plus a derived status: contested when both exist, supported, disputed, or no evidence yet. 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). It currently includes example records (npx:ExampleNanopub); add a filter excluding them once real MIRA records exist." } ], "http://purl.org/dc/terms/license": [ { "@id": "http://www.apache.org/licenses/LICENSE-2.0" } ], "@type": [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get MIRA claims with their evidence" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/type/5ee93356ac9163d743a44466ee5cae3e537a0bb429b81354f72799d7f700c947" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "prefix mira: \nprefix dct: \nprefix npx: \nprefix npa: \n\nselect ?claim ?claim_label ?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 graph npa:graph { ?np npx:introduces ?claim . }\n}" } ] } ] }, { "@id": "https://w3id.org/np/RAH4TjgWYx-9Lo3VWeeLVg9xL8DFoCPAU5gQiwqkwJpV8/pubinfo", "@graph": [ { "@id": "https://orcid.org/0000-0002-1267-0234", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Tobias Kuhn" } ] }, { "@id": "https://w3id.org/np/RAH4TjgWYx-9Lo3VWeeLVg9xL8DFoCPAU5gQiwqkwJpV8", "http://purl.org/dc/terms/created": [ { "@value": "2026-10-01T11:00:11Z", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://purl.org/dc/terms/creator": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ], "http://purl.org/dc/terms/license": [ { "@id": "https://creativecommons.org/licenses/by/4.0/" } ], "http://purl.org/nanopub/x/embeds": [ { "@id": "https://w3id.org/np/RAH4TjgWYx-9Lo3VWeeLVg9xL8DFoCPAU5gQiwqkwJpV8/get-mira-claims-with-evidence" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get MIRA claims with their evidence" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate": [ { "@id": "https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate": [ { "@id": "https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8" }, { "@id": "https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate": [ { "@id": "https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k" } ] }, { "@id": "https://w3id.org/np/RAH4TjgWYx-9Lo3VWeeLVg9xL8DFoCPAU5gQiwqkwJpV8/sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "J7/CcI0Dszb8rRMRD8TZ7k8fiPBSOW9E1Sg/1QAiZZpcM2hBU4Q71KxL+5bxp0pi/nYWngxpCSP5fSwgwHJDoFFCpC/PCISxqgM2Fmj402JVgm/cbUyW+h4f3XV9mLLA/orgiKuQ1BERNX1Jqz3nJ1t92a/ViABDFEX1ikebW48=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAH4TjgWYx-9Lo3VWeeLVg9xL8DFoCPAU5gQiwqkwJpV8" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAH4TjgWYx-9Lo3VWeeLVg9xL8DFoCPAU5gQiwqkwJpV8/Head", "@graph": [ { "@id": "https://w3id.org/np/RAH4TjgWYx-9Lo3VWeeLVg9xL8DFoCPAU5gQiwqkwJpV8", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAH4TjgWYx-9Lo3VWeeLVg9xL8DFoCPAU5gQiwqkwJpV8/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAH4TjgWYx-9Lo3VWeeLVg9xL8DFoCPAU5gQiwqkwJpV8/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAH4TjgWYx-9Lo3VWeeLVg9xL8DFoCPAU5gQiwqkwJpV8/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAH4TjgWYx-9Lo3VWeeLVg9xL8DFoCPAU5gQiwqkwJpV8/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAH4TjgWYx-9Lo3VWeeLVg9xL8DFoCPAU5gQiwqkwJpV8/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] } ]