. . . . "This query returns the questions asked about a resource (a space, a maintained resource, or any other entity, including part-level resources), together with who asked them and when, and their answers and other follow-up contributions. Questions are schema:Question nodes anchored to the resource via schema:about, following the Nanoarguments discourse model; answers are discourse contributions (schema:Statement) targeting the question via as:inReplyTo. Each answer is identified by its own nanopublication rather than by its statement node, so that several answers remain distinct even when the template they were created from reuses one statement IRI. Answers published by an admin, maintainer, or member of the space that maintains the resource are marked with a check mark; the maintaining space and its validated member public-key hashes are resolved server-side from the spaces repo (/repo/spaces). Retracted nanopublications and example nanopublications are excluded." . . . "Get questions and answers about a resource" . . "prefix rdf: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix prov: \nprefix foaf: \nprefix schema: \nprefix as: \nprefix gen: \n\nselect ?question ?question_label ?asked_by (min(?asked_byName) as ?asked_by_label) ?date\n (group_concat(distinct ?anp; separator=\" \") as ?answers_multi_iri)\n (group_concat(?ansLabel; separator=\"\\n\") as ?answers_label_multi)\n (str(?question) as ?reply_target)\n ?np ?np_label\nwhere {\n graph npa:graph {\n ?np npa:hasValidSignatureForPublicKeyHash ?pubkey .\n filter not exists {\n ?npi npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey .\n }\n ?np np:hasAssertion ?qa ; np:hasProvenance ?qprov ; np:hasPublicationInfo ?qpi ;\n dct:created ?date .\n }\n graph ?qa {\n ?question a schema:Question ; rdf:value ?question_label .\n values ?_resource_multi_iri {}\n ?question schema:about ?_resource_multi_iri .\n }\n filter not exists { graph ?qpi { ?np npx:hasNanopubType npx:ExampleNanopub } }\n optional { graph ?qprov { ?qa prov:wasAttributedTo ?asked_by } }\n optional { graph ?qpi { ?asked_by foaf:name ?asked_byName } }\n optional {\n select ?question ?anp (min(?lbl) as ?ansLabel) where {\n service {\n select (group_concat(?mpk; separator=\" \") as ?memberPubkeys) where {\n graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?stateG . }\n values ?_resource_multi_iri {}\n graph ?stateG {\n ?_resource_multi_iri npa:isMaintainedBy? ?space .\n ?ri a gen:RoleInstantiation ; npa:forSpace ?space ; npa:forAgent ?magent ;\n npa:hasRoleType ?rt .\n filter(?rt in (gen:AdminRole, gen:MaintainerRole, gen:MemberRole))\n ?acct a npa:AccountState ; npa:agent ?magent ; npa:pubkey ?mpk .\n }\n }\n }\n graph ?qa2 {\n ?question a schema:Question .\n values ?_resource_multi_iri {}\n ?question schema:about ?_resource_multi_iri .\n }\n graph npa:graph {\n ?anp npa:hasValidSignatureForPublicKeyHash ?apubkey .\n filter not exists {\n ?anpi npx:invalidates ?anp ; npa:hasValidSignatureForPublicKeyHash ?apubkey .\n }\n ?anp np:hasAssertion ?aa ; np:hasProvenance ?aprov ; np:hasPublicationInfo ?api ;\n dct:created ?adate .\n }\n graph ?aa {\n ?ans as:inReplyTo ?question ; rdf:value ?ansText .\n }\n filter not exists { graph ?api { ?anp npx:hasNanopubType npx:ExampleNanopub } }\n optional { graph ?aprov { ?aa prov:wasAttributedTo ?answerer } }\n optional { graph ?api { ?answerer foaf:name ?aname } }\n bind(concat(\n if(contains(?memberPubkeys, ?apubkey), \"✓ \", \"\"),\n replace(replace(str(?ansText), \"\\\\\\\\\", \"\\\\\\\\\\\\\\\\\"), \"[\\r\\n]+\", \"\\\\\\\\n\"),\n \" — \", coalesce(?aname, str(?answerer), \"unknown\"),\n \", \", substr(str(?adate), 1, 10)\n ) as ?lbl)\n }\n group by ?question ?anp\n }\n bind(\"^\" as ?np_label)\n}\ngroup by ?question ?question_label ?asked_by ?date ?np ?np_label\norder by desc(?date)" . . "2026-08-17T13:46:50Z"^^ . . . . . "Get questions and answers about a resource" . . . . . . "RSA" . "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" . "IjjOATu32cFV3XjNW+HjmBTZPMq+OQHYHqqNdRP44pMutuEdDqaxuSjMWiVcN2dgyjQjgm5e10u4DDHygjfOGt2FsG7ICsOYxjoy1AeISCvvehit30An64XY9ayFMD+vmPIRNlkf+LS0TsJPRnnIwHMxHVEYGXaLhhZ1QAMvimo=" . . .