@prefix this: . @prefix sub: . @prefix np: . @prefix dct: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix prov: . @prefix foaf: . sub:Head { this: a np:Nanopublication; np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo . } sub:assertion { sub:get-mira-requests a ; dct:description "Lists every MIRA request -- a unit of work the community can pick up -- with the study it asks for and the claim it would settle. Runs against the shared MIRA record type repository."; dct:license ; rdfs:label "MIRA requests (query)"; ; """prefix mira: prefix dct: prefix npx: prefix npa: prefix np: prefix foaf: select ?request ?request_label ?flags ?asks_for_multi_iri ?asks_for_label_multi ?would_settle_multi_iri ?would_settle_label_multi ?creator ?creator_label ?date ?np (\"^\" as ?np_label) where { { select ?request (sample(?t) as ?request_label) (group_concat(distinct str(?s); separator=\" \") as ?asks_for_multi_iri) (group_concat(distinct ?st; separator=\"\\n\") as ?asks_for_label_multi) (group_concat(distinct str(?c); separator=\" \") as ?would_settle_multi_iri) (group_concat(distinct ?ct; separator=\"\\n\") as ?would_settle_label_multi) where { graph ?ra { ?request a mira:Request ; dct:title ?t . } optional { graph ?ra { ?request mira:request_for ?s . } optional { graph ?sa { ?s a mira:Study ; dct:title ?st . } } } optional { graph ?ra { ?request mira:request_target ?c . } optional { graph ?cg { ?c a mira:Claim ; dct:title ?ct . } } } } group by ?request } graph npa:graph { ?np npx:introduces ?request ; dct:creator ?creator ; dct:created ?date . } optional { select ?np (sample(?n) as ?creatorName) where { graph npa:graph { ?np np:hasPublicationInfo ?pi ; dct:creator ?c9 . } graph ?pi { ?c9 foaf:name ?n . } } group by ?np } bind(coalesce(?creatorName, \"\") as ?creator_label) optional { select ?np (group_concat(distinct ?flag; separator=\", \") as ?flagList) where { graph npa:graph { ?np npx:hasNanopubType ?flagType . } values (?flagType ?flag) { (npx:ExampleNanopub \"Example\") } } group by ?np } bind(coalesce(?flagList, \"\") as ?flags) } order by desc(?date)""" . } sub:provenance { sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 . } sub:pubinfo { orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" . this: dct:created "2026-10-01T12:06:21Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-mira-requests; rdfs:label "MIRA requests (query)"; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "BP6dLV8Vd8GPt5cAldC8PsJSMC6qzdhLAEXbxjJqdk9O46AV8Uyo+T8tw9jSj52Q6EK7o5GYY4Jb9jqGEy9lnlfP8Iq1p4FmNMDZGQiL34VHSvlbhreYbCdGPKEMjUBomLc03hYWNMKcEcszuNT4DcclOi9BO8ijJFf5fzT7n3M="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }