@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-members a ; dct:description "Returns the non-admin member RoleInstantiations of the given space(s) from the extraction graph (npa:spacesGraph) of the spaces repo (/repo/spaces): each member agent, the nanopublication that instantiated the membership, and the role's regular/inverse predicate. Admin RIs are excluded and invalidated nanopubs are filtered out. The caller is expected to gate members by role-predicate match. Pass one or more space IRIs."; dct:license ; rdfs:label "Get space members"; ; """prefix npa: prefix npx: prefix gen: select ?member ?regProp ?invProp ?np (\"^\" as ?np_label) where { values ?_space_multi_iri {} graph npa:spacesGraph { ?ri a gen:RoleInstantiation ; npa:forSpace ?_space_multi_iri ; npa:forAgent ?member ; npa:viaNanopub ?np . optional { ?ri npa:regularProperty ?regProp } optional { ?ri npa:inverseProperty ?invProp } filter not exists { ?ri npa:inverseProperty gen:hasAdmin } } filter not exists { graph npa:graph { ?invNp npx:invalidates ?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-members; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "EK89UXC/o+YTDYgY2ZkBaYjnuNbe0G5dZovNdTXej1WChWcuA7iFNNZl1MOQUtUvMJCtmj7nrpMDeArBW2qDjwUlpr4BZmp5Z0QhITwRHZWD3tDaN3l3Hi3Fp+XhvcF7Y/QA8JvOmI9F7siYM3AQz6rGdqT9BLqd4I/EOTwhIEg="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }