@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-space-admins a ; dct:description "Returns the admins of the given space(s): the trust-state-validated admin RoleInstantiations (npa:inverseProperty gen:hasAdmin) from the current space-state graph of the spaces repo (/repo/spaces), with each admin agent and the nanopublication that instantiated the role. Pass one or more space IRIs (e.g. a space and its alternative IDs)."; dct:license ; rdfs:label "Get space admins"; ; """prefix npa: prefix gen: select distinct ?agent ?np (\"^\" as ?np_label) where { graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?g . } values ?_space_multi_iri {} graph ?g { ?ri a gen:RoleInstantiation ; npa:inverseProperty gen:hasAdmin ; npa:forSpace ?_space_multi_iri ; npa:forAgent ?agent ; npa:viaNanopub ?np . } }""" . } 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-space-admins; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "o55Ng8wBLU5Ylc3Y6uqZT78cK/nxgEMmdH5A08mzJASfHn3d9MOWG+unu3Y5tOr7tgSpTXfmzfDIyfC8eBHzcpjsIKln5it+1faVOCr0X67QUDRhAYxat41NsTF+5m03b99btVmd8Bf03jSo2fW4xVsHAFN/EFjnQOZhR79SwdM="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }