[ { "@id": "https://w3id.org/np/RAGr6BbuO49yvtLt9YhTD5MdkOe8Iuk24OVJ9mt4nyHzs/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAGr6BbuO49yvtLt9YhTD5MdkOe8Iuk24OVJ9mt4nyHzs/get-mira-studies", "http://purl.org/dc/terms/description": [ { "@value": "Lists every MIRA study with how much evidence is grounded in it, how many claims that evidence observes, how many protocols the study follows, and the source documents it is reported in. Shows which studies carry the weight of the graph. Runs against the shared MIRA record type repository." } ], "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": "MIRA studies (query)" } ], "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: \nprefix np: \nprefix foaf: \n\nselect ?study ?study_label ?flags ?evidence ?claims ?protocols\n ?source_multi_iri ?source_label_multi\n ?creator ?creator_label ?date ?np (\"^\" as ?np_label) where {\n {\n select ?study (sample(?t) as ?study_label) where {\n graph ?sa { ?study a mira:Study ; dct:title ?t . }\n } group by ?study\n }\n # evidence grounded in this study\n optional {\n select ?study (count(distinct ?e) as ?nev) where {\n graph ?eg { ?e mira:is_grounded_in ?study . }\n } group by ?study\n }\n # claims that evidence observes\n optional {\n select ?study (count(distinct ?c) as ?ncl) where {\n graph ?eg2 { ?e2 mira:is_grounded_in ?study ; mira:observationStatement ?c . }\n } group by ?study\n }\n # protocols the study follows\n optional {\n select ?study (count(distinct ?p) as ?nprot) where {\n graph ?pg { ?study mira:follows ?p . }\n } group by ?study\n }\n bind(coalesce(?nev, 0) as ?evidence)\n bind(coalesce(?ncl, 0) as ?claims)\n bind(coalesce(?nprot, 0) as ?protocols)\n # source documents, reached through the study's evidence or from the document itself\n optional {\n select ?study (group_concat(distinct ?src; separator=\" \") as ?source_multi_iri)\n (group_concat(?srcLabel; separator=\"\\n\") as ?source_label_multi) where {\n {\n select distinct ?study ?src where {\n { graph ?eg3 { ?e3 mira:is_grounded_in ?study ; mira:sourceDocument ?src . } }\n union\n { graph ?dg { ?src mira:describesActivity ?study . } }\n }\n }\n optional {\n select ?src (sample(?l) as ?lbl) where {\n graph ?sd { ?src dct:title ?l . }\n } group by ?src\n }\n bind(coalesce(?lbl, str(?src)) as ?srcLabel)\n } group by ?study\n }\n graph npa:graph { ?np npx:introduces ?study ; dct:creator ?creator ; dct:created ?date . }\n optional {\n select ?np (sample(?n) as ?creatorName) where {\n graph npa:graph { ?np np:hasPublicationInfo ?pi ; dct:creator ?c3 . }\n graph ?pi { ?c3 foaf:name ?n . }\n } group by ?np\n }\n bind(coalesce(?creatorName, '') as ?creator_label)\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) { (npx:ExampleNanopub \"Example\") }\n } group by ?np\n }\n bind(coalesce(?flagList, '') as ?flags)\n} order by desc(?evidence) lcase(str(?study_label))\n" } ] } ] }, { "@id": "https://w3id.org/np/RAGr6BbuO49yvtLt9YhTD5MdkOe8Iuk24OVJ9mt4nyHzs/Head", "@graph": [ { "@id": "https://w3id.org/np/RAGr6BbuO49yvtLt9YhTD5MdkOe8Iuk24OVJ9mt4nyHzs", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAGr6BbuO49yvtLt9YhTD5MdkOe8Iuk24OVJ9mt4nyHzs/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAGr6BbuO49yvtLt9YhTD5MdkOe8Iuk24OVJ9mt4nyHzs/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAGr6BbuO49yvtLt9YhTD5MdkOe8Iuk24OVJ9mt4nyHzs/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAGr6BbuO49yvtLt9YhTD5MdkOe8Iuk24OVJ9mt4nyHzs/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAGr6BbuO49yvtLt9YhTD5MdkOe8Iuk24OVJ9mt4nyHzs/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAGr6BbuO49yvtLt9YhTD5MdkOe8Iuk24OVJ9mt4nyHzs/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/RAGr6BbuO49yvtLt9YhTD5MdkOe8Iuk24OVJ9mt4nyHzs", "http://purl.org/dc/terms/created": [ { "@value": "2026-10-13T05:53:08Z", "@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/RAGr6BbuO49yvtLt9YhTD5MdkOe8Iuk24OVJ9mt4nyHzs/get-mira-studies" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "MIRA studies (query)" } ], "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/RAGr6BbuO49yvtLt9YhTD5MdkOe8Iuk24OVJ9mt4nyHzs/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": "Ha/EBt6j6MXo19GlOKCYntpFFEKkM14i/w6Jqeef6co3g27FVqL2Fn50M1/N7Sw4c7L89O17hus2eEceUHAXSIZvoTqR0T9ENvQ8pUb15qWuAtk49WngeTeTeJaalDIhSuxbBIAOpHvV2oCYMM1ONqSAZE1j+NvHOvpt5LrduGM=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAGr6BbuO49yvtLt9YhTD5MdkOe8Iuk24OVJ9mt4nyHzs" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] } ]