Full identifier: https://w3id.org/np/RAF-LNZPrT11euM9NQGOLRrJg1pD02oXM5Cxb9XP7tBkU/get-space-member-roles
Assigned to 1 class:
Nanopublication | Part | Subject | Predicate | Object | Published By | Published On |
---|---|---|---|---|---|---|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-space-member-roles
|
Tobias Kuhn
|
2025-10-07T10:45:10.807Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-space-member-roles
|
Get Space member roles
|
Tobias Kuhn
|
2025-10-07T10:45:10.807Z
|
||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-space-member-roles
|
Tobias Kuhn
|
2025-10-07T10:45:10.807Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-space-member-roles
|
This query returns the roles of a given Space.
|
Tobias Kuhn
|
2025-10-07T10:45:10.807Z
|
||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-space-member-roles
|
Tobias Kuhn
|
2025-10-07T10:45:10.807Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-space-member-roles
|
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix dct: <http://purl.org/dc/terms/>
prefix owl: <http://www.w3.org/2002/07/owl#>
prefix np: <http://www.nanopub.org/nschema#>
prefix npa: <http://purl.org/nanopub/admin/>
prefix npx: <http://purl.org/nanopub/x/>
prefix gen: <https://w3id.org/kpxl/gen/terms/>
prefix schema: <http://schema.org/>
select ?role ?roleLabel ?roleName ?roleTitle ?roleAssignmentTemplate (group_concat(?reg; separator=' ') as ?regularProperties) (group_concat(?inv; separator=' ') as ?inverseProperties) ?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 ?rel_a .
}
graph ?rel_a {
values ?_space_multi_iri {}
?_space_multi_iri gen:hasRole ?role .
}
graph npa:graph {
?role_np npx:embeds ?role .
?role_np np:hasAssertion ?role_a .
}
graph ?role_a {
?role a gen:SpaceMemberRole .
?role rdfs:label ?roleLabel .
?role dct:title ?roleTitle .
?role schema:name ?roleName .
optional { ?role gen:hasRoleAssignmentTemplate ?roleAssignmentTemplate }
optional { ?role gen:hasRegularProperty ?reg }
optional { ?role gen:hasInverseProperty ?inv }
}
} group by ?role ?roleLabel ?roleName ?roleTitle ?roleAssignmentTemplate ?np ?pubkey ?date
order by desc(?date)
|
Tobias Kuhn
|
2025-10-07T10:45:10.807Z
|
||
links a nanopublication to its pubinfo
http://www.nanopub.org/nschema#hasPublicationInfo
pubinfo
|
get-space-member-roles
|
Tobias Kuhn
|
2025-10-07T10:45:10.807Z
|