rows { options { physical_type: PHYSICAL_STREAM_TYPE_QUADS max_name_table_size: 128 max_prefix_table_size: 16 max_datatype_table_size: 16 logical_type: LOGICAL_STREAM_TYPE_DATASETS version: 2 } } rows { prefix { value: "https://w3id.org/np/" } } rows { name { value: "RAFFNXu9xSNHBDh4tFjTdI8t4lceePnYoQJ5neB-Wh-J4" } } rows { namespace { name: "this" value { prefix_id: 1 } } } rows { prefix { value: "https://w3id.org/np/RAFFNXu9xSNHBDh4tFjTdI8t4lceePnYoQJ5neB-Wh-J4/" } } rows { name { } } rows { namespace { name: "sub" value { prefix_id: 2 } } } rows { prefix { value: "http://www.nanopub.org/nschema#" } } rows { namespace { name: "np" value { prefix_id: 3 name_id: 2 } } } rows { prefix { value: "http://purl.org/dc/terms/" } } rows { namespace { name: "dct" value { prefix_id: 4 name_id: 2 } } } rows { prefix { value: "https://w3id.org/np/o/ntemplate/" } } rows { namespace { name: "nt" value { prefix_id: 5 name_id: 2 } } } rows { prefix { value: "http://purl.org/nanopub/x/" } } rows { namespace { name: "npx" value { prefix_id: 6 name_id: 2 } } } rows { prefix { value: "http://www.w3.org/2001/XMLSchema#" } } rows { namespace { name: "xsd" value { prefix_id: 7 name_id: 2 } } } rows { prefix { value: "http://www.w3.org/2000/01/rdf-schema#" } } rows { namespace { name: "rdfs" value { prefix_id: 8 name_id: 2 } } } rows { prefix { value: "https://orcid.org/" } } rows { namespace { name: "orcid" value { prefix_id: 9 name_id: 2 } } } rows { prefix { value: "http://www.w3.org/ns/prov#" } } rows { namespace { name: "prov" value { prefix_id: 10 name_id: 2 } } } rows { prefix { value: "http://xmlns.com/foaf/0.1/" } } rows { namespace { name: "foaf" value { prefix_id: 11 name_id: 2 } } } rows { name { value: "hasAssertion" } } rows { name { value: "assertion" } } rows { name { value: "Head" } } rows { quad { s_iri { prefix_id: 1 name_id: 1 } p_iri { prefix_id: 3 name_id: 3 } o_iri { prefix_id: 2 } g_iri { } } } rows { name { value: "hasProvenance" } } rows { name { value: "provenance" } } rows { quad { p_iri { prefix_id: 3 } o_iri { prefix_id: 2 } } } rows { name { value: "hasPublicationInfo" } } rows { name { value: "pubinfo" } } rows { quad { p_iri { prefix_id: 3 } o_iri { prefix_id: 2 } } } rows { prefix { value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#" } } rows { name { value: "type" } } rows { name { value: "Nanopublication" } } rows { quad { p_iri { prefix_id: 12 } o_iri { prefix_id: 3 } } } rows { name { value: "get-mira-record-info" } } rows { name { value: "description" } } rows { quad { s_iri { prefix_id: 2 } p_iri { prefix_id: 4 } o_literal { lex: "Shows the stored information about any MIRA record -- question, claim, evidence item, study, protocol, request or source document -- as a property/value table, one row per populated field, so a single view serves every element type. Fields absent from a given record simply produce no row. Referenced records are shown by their own statement. Takes the part IRI in the partid placeholder." } g_iri { prefix_id: 2 name_id: 4 } } } rows { name { value: "license" } } rows { prefix { value: "http://www.apache.org/licenses/" } } rows { name { value: "LICENSE-2.0" } } rows { quad { p_iri { prefix_id: 4 name_id: 14 } o_iri { prefix_id: 13 } } } rows { prefix { value: "https://w3id.org/kpxl/grlc/" } } rows { name { value: "grlc-query" } } rows { quad { p_iri { prefix_id: 12 name_id: 10 } o_iri { prefix_id: 14 name_id: 16 } } } rows { name { value: "label" } } rows { quad { p_iri { prefix_id: 8 } o_literal { lex: "Get the information about a MIRA record" } } } rows { name { value: "endpoint" } } rows { prefix { value: "https://w3id.org/np/l/nanopub-query-1.1/repo/type/" } } rows { name { value: "5ee93356ac9163d743a44466ee5cae3e537a0bb429b81354f72799d7f700c947" } } rows { quad { p_iri { prefix_id: 14 } o_iri { prefix_id: 15 } } } rows { name { value: "sparql" } } rows { quad { p_iri { prefix_id: 14 } o_literal { lex: "prefix rdf: \nprefix dct: \nprefix sioc: \nprefix mira: \nprefix np: \nprefix npa: \nprefix npx: \nprefix foaf: \n\nselect ?Property_noheader ?Property_label\n (group_concat(replace(str(?val), \'[\\r\\n]+\', \' \'); separator=\'\\n\') as ?Value_multi_val_noheader)\n (group_concat(replace(str(?vallabel), \'[\\r\\n]+\', \' \'); separator=\'\\n\') as ?Value_label_multi)\nwhere {\n {\n select ?ord ?Property_noheader ?Property_label ?val (min(?vallabelRaw) as ?vallabel) where {\n # The nanopublication that defines this record: the newest one whose assertion types\n # it as a MIRA record. The type repository holds only current versions, so this is\n # normally the only candidate; the limit guards against a second claimant.\n {\n select ?dnp ?da where {\n graph npa:graph { ?dnp np:hasAssertion ?da ; dct:created ?ddate . }\n graph ?da { ?_partid_iri a ?recordType . }\n values ?recordType { mira:Question mira:Claim mira:Evidence mira:Study\n mira:Protocol mira:Request mira:SourceDocument }\n } order by desc(?ddate) limit 1\n }\n {\n graph ?da { ?_partid_iri a ?iri }\n values (?iri ?typeName) {\n (mira:Question \"Research question\") (mira:Claim \"Claim\")\n (mira:Evidence \"Evidence item\") (mira:Study \"Study\")\n (mira:Protocol \"Protocol\") (mira:Request \"Request\")\n (mira:SourceDocument \"Source document\")\n }\n bind(1 as ?ord) bind(rdf:type as ?Property_noheader) bind(\'Type:\' as ?Property_label)\n bind(?typeName as ?lit)\n } union {\n graph ?da { ?_partid_iri dct:title ?lit }\n bind(2 as ?ord) bind(dct:title as ?Property_noheader) bind(\'Statement:\' as ?Property_label)\n } union {\n graph ?da { ?_partid_iri sioc:content ?lit }\n bind(3 as ?ord) bind(sioc:content as ?Property_noheader) bind(\'Detail:\' as ?Property_label)\n } union {\n graph ?da { ?_partid_iri mira:addresses ?iri }\n bind(10 as ?ord) bind(mira:addresses as ?Property_noheader) bind(\'Addresses question:\' as ?Property_label)\n } union {\n graph ?da { ?_partid_iri mira:observationStatement ?iri }\n bind(11 as ?ord) bind(mira:observationStatement as ?Property_noheader) bind(\'Observation of claim:\' as ?Property_label)\n } union {\n graph ?da { ?_partid_iri mira:observationBase ?iri }\n bind(12 as ?ord) bind(mira:observationBase as ?Property_noheader) bind(\'Based on data:\' as ?Property_label)\n } union {\n graph ?da { ?_partid_iri mira:is_grounded_in ?iri }\n bind(13 as ?ord) bind(mira:is_grounded_in as ?Property_noheader) bind(\'Grounded in study:\' as ?Property_label)\n } union {\n graph ?da { ?_partid_iri mira:sourceDocument ?iri }\n bind(14 as ?ord) bind(mira:sourceDocument as ?Property_noheader) bind(\'Reported in:\' as ?Property_label)\n } union {\n graph ?da { ?_partid_iri mira:follows ?iri }\n bind(15 as ?ord) bind(mira:follows as ?Property_noheader) bind(\'Follows protocol:\' as ?Property_label)\n } union {\n graph ?da { ?_partid_iri mira:grounds ?iri }\n bind(16 as ?ord) bind(mira:grounds as ?Property_noheader) bind(\'Grounds evidence:\' as ?Property_label)\n } union {\n graph ?da { ?_partid_iri mira:request_for ?iri }\n bind(17 as ?ord) bind(mira:request_for as ?Property_noheader) bind(\'Requests study:\' as ?Property_label)\n } union {\n graph ?da { ?_partid_iri mira:request_target ?iri }\n bind(18 as ?ord) bind(mira:request_target as ?Property_noheader) bind(\'Targets claim:\' as ?Property_label)\n } union {\n graph ?da { ?_partid_iri mira:describesActivity ?iri }\n bind(19 as ?ord) bind(mira:describesActivity as ?Property_noheader) bind(\'Describes activity:\' as ?Property_label)\n } union {\n graph npa:graph { ?dnp dct:creator ?iri ; np:hasPublicationInfo ?dpi . }\n bind(30 as ?ord) bind(dct:creator as ?Property_noheader) bind(\'Created by:\' as ?Property_label)\n } union {\n graph npa:graph { ?dnp dct:created ?lit . }\n bind(31 as ?ord) bind(dct:created as ?Property_noheader) bind(\'Created:\' as ?Property_label)\n }\n # One label lookup serving every IRI-valued branch above. ?iri must be coalesced to\n # a dummy first: left unbound on the literal-valued branches it would join against\n # every titled resource in the repository and attach a stray label to them.\n bind(coalesce(str(?iri), str(?lit)) as ?val)\n bind(coalesce(?iri, ) as ?target)\n optional {\n graph npa:graph { ?tnp npx:introduces ?target ; np:hasAssertion ?ta . }\n graph ?ta { ?target dct:title ?tt . }\n }\n optional { graph ?dpi { ?target foaf:name ?an . } }\n bind(coalesce(?typeName, ?tt, ?an, \'\') as ?vallabelRaw)\n } group by ?ord ?Property_noheader ?Property_label ?val\n }\n} group by ?ord ?Property_noheader ?Property_label order by ?ord" } } } rows { name { value: "wasAttributedTo" } } rows { name { value: "0000-0002-1267-0234" } } rows { quad { s_iri { prefix_id: 2 name_id: 4 } p_iri { prefix_id: 10 name_id: 21 } o_iri { prefix_id: 9 } g_iri { prefix_id: 2 name_id: 7 } } } rows { name { value: "name" } } rows { quad { s_iri { prefix_id: 9 name_id: 22 } p_iri { prefix_id: 11 } o_literal { lex: "Tobias Kuhn" } g_iri { prefix_id: 2 name_id: 9 } } } rows { name { value: "created" } } rows { datatype { value: "http://www.w3.org/2001/XMLSchema#dateTime" } } rows { quad { s_iri { prefix_id: 1 name_id: 1 } p_iri { prefix_id: 4 name_id: 24 } o_literal { lex: "2026-10-01T11:41:52Z" datatype: 1 } } } rows { name { value: "creator" } } rows { quad { p_iri { } o_iri { prefix_id: 9 name_id: 22 } } } rows { prefix { value: "https://creativecommons.org/licenses/by/4.0/" } } rows { quad { p_iri { prefix_id: 4 name_id: 14 } o_iri { prefix_id: 16 name_id: 2 } } } rows { name { value: "embeds" } } rows { quad { p_iri { prefix_id: 6 name_id: 26 } o_iri { prefix_id: 2 name_id: 12 } } } rows { quad { p_iri { prefix_id: 8 name_id: 17 } o_literal { lex: "Get the information about a MIRA record" } } } rows { name { value: "wasCreatedFromProvenanceTemplate" } } rows { name { value: "RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU" } } rows { quad { p_iri { prefix_id: 5 name_id: 27 } o_iri { prefix_id: 1 } } } rows { name { value: "wasCreatedFromPubinfoTemplate" } } rows { name { value: "RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8" } } rows { quad { p_iri { prefix_id: 5 } o_iri { prefix_id: 1 } } } rows { name { value: "RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI" } } rows { quad { o_iri { } } } rows { name { value: "wasCreatedFromTemplate" } } rows { name { value: "RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k" } } rows { quad { p_iri { prefix_id: 5 } o_iri { prefix_id: 1 } } } rows { name { value: "sig" } } rows { name { value: "hasAlgorithm" } } rows { quad { s_iri { prefix_id: 2 } p_iri { prefix_id: 6 } o_literal { lex: "RSA" } } } rows { name { value: "hasPublicKey" } } rows { quad { p_iri { } o_literal { lex: "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" } } } rows { name { value: "hasSignature" } } rows { quad { p_iri { } o_literal { lex: "ppBuq7i90WppbXpuJBKsVzUULOklu9/+AdCiYjxXGdJn2FowaCpwz6YfUrgsaN+GzpN0KW5Cfvj2CeC0wy+RwD0P4wsE7Gu2LKHiUs4NKcOWgYfADIKShyRB/dn2lGnVmL9RseEEsqO230eW5KEZwQfVeMhdGtVrpgTxjGIbi64=" } } } rows { name { value: "hasSignatureTarget" } } rows { quad { p_iri { } o_iri { prefix_id: 1 name_id: 1 } } } rows { name { value: "signedBy" } } rows { quad { p_iri { prefix_id: 6 name_id: 39 } o_iri { prefix_id: 9 name_id: 22 } } }