https://w3id.org/np/RAJfsoLrJdrUBtsTp9VkygaR26Su2Dkvgobt2c6NxiYig
type: Nanopublication
has assertion: assertion
has provenance: provenance
has publication info: pubinfo
created: 2026-06-09T12:33:26Z
creator: Tobias Kuhn
license: https://creativecommons.org/licenses/by/4.0/
embeds: List space roles
supersedes: RAbqRZXXyAUHrjKpViJFBzn T kN3zdKASsn3-X4W-5-0

sig
has algorithm: RSA
signed by: Tobias Kuhn

List space roles
type: grlc-query
description: This query lists the roles assigned in a given space, with a human-readable label, the date, the source nanopublication, and the template for assigning a user to the role.
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 npx: <http://purl.org/nanopub/x/> prefix schema: <http://schema.org/> prefix gen: <https://w3id.org/kpxl/gen/terms/> select distinct ?role (coalesce(?roleTitle, ?roleLabel, ?roleName) as ?role_label) ?roleAssignmentTemplate ?date ?np ("^" as ?np_label) where { graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?g . } values ?_space_multi_iri {} graph ?g { ?ra a gen:RoleAssignment ; npa:forSpace ?_space_multi_iri ; gen:hasRole ?role ; npa:viaNanopub ?np . } graph npa:graph { ?np dct:created ?date . } graph npa:spacesGraph { ?roleDecl a npa:RoleDeclaration ; npa:role ?role ; npa:viaNanopub ?role_np . } graph npa:graph { ?role_np np:hasAssertion ?role_a . } optional { graph ?role_a { ?role rdfs:label ?roleLabel } } optional { graph ?role_a { ?role dct:title ?roleTitle } } optional { graph ?role_a { ?role schema:name ?roleName } } optional { graph ?role_a { ?role gen:hasRoleAssignmentTemplate ?roleAssignmentTemplate } } } order by desc(?date)