@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: np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo; a np:Nanopublication . } sub:assertion { sub:get-space-members dct:description "This query returns the members (of different roles) of a given Space."; dct:license ; a ; rdfs:label "Get Space members"; ; """prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix gen: select ?member ?role ?np ?pubkey ?date where { graph npa:graph { ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } ?np dct:created ?date . ?np np:hasAssertion ?a . } { { graph ?a { values ?__role_multi_iri {} filter(bound(?__role_multi_iri)) bind(?__role_multi_iri as ?r) ?member ?r . bind(?r as ?role) } } union { graph ?a { values ?__invrole_multi_iri {} filter(bound(?__invrole_multi_iri)) bind(?__invrole_multi_iri as ?i) ?i ?member . bind(?i as ?role) } } } } order by desc(?date)""" . } 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 "2025-09-22T10:11:09.808+02:00"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-space-members; npx:supersedes ; npx:wasCreatedAt ; prov:wasDerivedFrom ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "LpgHIf+KtbT/47NiDc1L9YSN26aUyoU/6Z2I9Robiq0kfw8XVvCuqIRLxH5feT7D5ip1UrWAr67mSLYYA8R4338lgHICeC+hFtRZPWt0DROyg3cdhrJNFDG4pIDIe51n+0EL887DuEojJ2mU6k8AQxI+76osmaE2ixCqL+RwVSg="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }