List space observers
type: Nanopublication
has assertion: assertion
has provenance: provenance
has publication info: pubinfo
created: 2026-06-09T13:07:49Z
creator: Tobias Kuhn
license: https://creativecommons.org/licenses/by/4.0/
embeds: List space observers

List space observers
type: grlc-query
license: LICENSE-2.0
endpoint: spaces
sparql: prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> prefix dct: <http://purl.org/dc/terms/> prefix np: <http://www.nanopub.org/nschema#> prefix npa: <http://purl.org/nanopub/admin/> prefix gen: <https://w3id.org/kpxl/gen/terms/> prefix schema: <http://schema.org/> select ?member ?role_assignments_multi_iri ?role_assignments_label_multi where { { select ?member (max(?higher) as ?maxHigher) (group_concat(?latestNp; separator=" ") as ?role_assignments_multi_iri) (group_concat(?roleLabel; separator="\n") as ?role_assignments_label_multi) where { { select ?member ?roleProp (max(?higher0) as ?higher) (sample(?roleLabel0) as ?roleLabel) (strafter(max(concat(coalesce(str(?dateNp),""), " ", str(?grantNp))), " ") as ?latestNp) where { values ?_space_multi_iri {} graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?g . } graph ?g { ?ri a gen:RoleInstantiation ; npa:forSpace ?_space_multi_iri ; npa:forAgent ?member ; npa:viaNanopub ?grantNp . } bind(exists { graph ?g { ?ri npa:inverseProperty gen:hasAdmin } } as ?isAdmin) optional { graph npa:spacesGraph { ?ri (npa:regularProperty|npa:inverseProperty) ?ropExt } } optional { graph ?g { ?ri (npa:regularProperty|npa:inverseProperty) ?ropState } } bind(coalesce(?ropExt,?ropState) as ?roleProp) bind(exists { graph npa:spacesGraph { ?rd a npa:RoleDeclaration ; npa:hasRoleType gen:MaintainerRole ; (gen:hasRegularProperty|gen:hasInverseProperty) ?roleProp } } as ?isMaintainer) bind(exists { graph npa:spacesGraph { ?rd a npa:RoleDeclaration ; npa:hasRoleType gen:MemberRole ; (gen:hasRegularProperty|gen:hasInverseProperty) ?roleProp } } as ?isMember) bind(if(?isAdmin||?isMaintainer||?isMember,1,0) as ?higher0) optional { graph npa:graph { ?grantNp dct:created ?dateNp } } optional { graph ?g { ?raRole a gen:RoleAssignment ; npa:forSpace ?_space_multi_iri ; gen:hasRole ?role . } graph npa:spacesGraph { ?rd2 a npa:RoleDeclaration ; (gen:hasRegularProperty|gen:hasInverseProperty) ?roleProp ; npa:viaNanopub ?roleNp ; npa:role ?role . } g…

sig
has algorithm: RSA
signed by: Tobias Kuhn