@prefix this: . @prefix sub: . @prefix np: . @prefix grlc: . @prefix dct: . @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-space-admin-pubkey-hashes a grlc:grlc-query; dct:description "Returns the public key hashes of the admins of a given space ref (space IRI + root definition), not merged across refs. Pass the ref's root nanopub (root_np); the query resolves the ref via npa:rootNanopub and returns, for each trust-state-validated admin RoleInstantiation (npa:inverseProperty gen:hasAdmin) scoped to that ref (npa:forSpaceRef), the admin agent and each of its AccountState pubkey hashes. Ref-scoped variant of get-space-admin-pubkey-hashes (which is IRI-keyed via npa:forSpace and merges all refs of an IRI)."; dct:license ; rdfs:label "Get space admin pubkey hashes (ref-scoped)"; grlc:endpoint ; grlc:sparql """prefix npa: prefix gen: select distinct ?agent ?pkh where { graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?g . } values ?_root_np_multi_iri {} graph npa:spacesGraph { ?ref npa:rootNanopub ?_root_np_multi_iri . } graph ?g { ?ri a gen:RoleInstantiation ; npa:inverseProperty gen:hasAdmin ; npa:forSpaceRef ?ref ; npa:forAgent ?agent . ?acct a npa:AccountState ; npa:agent ?agent ; npa:pubkey ?pkh . } }""" . } 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-06-16T12:50:54Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-space-admin-pubkey-hashes . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "bOycqUXcxBi3LLa/zWlJnQNmJcsGWZJtzbKXkP/px7s79KNQSJQtgjqAmKwNr7y9mxjY7/CgXn00T94jU9eCoSJvYhJb/50NjnoG2e2oaG6763Q5POKj6SivcKFroBOtww1sU+UWI4VInIk9GuAcOCHLiwsRlXoSG12guezo2BM="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }