@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-agent-pubkey-hashes a ; dct:description "Returns the trust-state-validated (agent, public-key-hash) pairs for the given agent(s), from npa:AccountState in the current space-state graph of the spaces repo (/repo/spaces). Pass one or more agent IRIs (e.g. ORCIDs)."; dct:license ; rdfs:label "Get agent pubkey hashes"; ; """prefix npa: select distinct (?_agent_multi_iri as ?agent) ?pkh where { graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?g . } values ?_agent_multi_iri {} graph ?g { ?acct a npa:AccountState ; npa:agent ?_agent_multi_iri ; 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-05-26T14:25:12Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-agent-pubkey-hashes; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "R57L+JFVUu9hHhvsMKhBBkaTa6BRRObcQiL7iolDbNYs6y185555oyYtBAkggDVkSPsmK8o4yuZqNdPkpiBke+sAT1nFd6AsmAYI1qa+GkSBDRnRTA8fu0flHKcySXH2NdC1mb0LIZsarEHGgWPvklj14JPrc1Jf6qCj6ZMqORk="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }