[ { "@id": "https://w3id.org/np/RAKJFw-xIQ2r_aSKT4-6Pm3JkeqlWC_wmypfpA1JWPJl8/pubinfo", "@graph": [ { "@id": "https://orcid.org/0000-0002-1267-0234", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Tobias Kuhn" } ] }, { "@id": "https://w3id.org/np/RAKJFw-xIQ2r_aSKT4-6Pm3JkeqlWC_wmypfpA1JWPJl8", "http://purl.org/dc/terms/created": [ { "@value": "2026-06-08T09:19:09Z", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://purl.org/dc/terms/creator": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ], "http://purl.org/dc/terms/license": [ { "@id": "https://creativecommons.org/licenses/by/4.0/" } ], "http://purl.org/nanopub/x/embeds": [ { "@id": "https://w3id.org/np/RAKJFw-xIQ2r_aSKT4-6Pm3JkeqlWC_wmypfpA1JWPJl8/get-space-roles" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RAERgisNLMcIq9eZgXA6ASW3XaewAJIvMSGs4v1yn-FdM" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate": [ { "@id": "https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate": [ { "@id": "https://w3id.org/np/RA0J4vUn_dekg-U1kK3AOEt02p9mT2WO03uGxLDec1jLw" }, { "@id": "https://w3id.org/np/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw" }, { "@id": "https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate": [ { "@id": "https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k" } ] }, { "@id": "https://w3id.org/np/RAKJFw-xIQ2r_aSKT4-6Pm3JkeqlWC_wmypfpA1JWPJl8/sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "eH3/jQbz448WQYqUmOTBVO0mL+TaCHUMEpoU/FdGYpEkzQ0Wi/Ysa2gCWFv0S4AUVJNDRDoh9SmgNd7v/+NyqQYBnDMHhNj99GwWF/wWt1TVJWGVyBsSM1qIx0yItfmGqLCrWVivT+2wBJtEJer0p5SoUT/+HwN9US9kOR4HZ00=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAKJFw-xIQ2r_aSKT4-6Pm3JkeqlWC_wmypfpA1JWPJl8" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAKJFw-xIQ2r_aSKT4-6Pm3JkeqlWC_wmypfpA1JWPJl8/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAKJFw-xIQ2r_aSKT4-6Pm3JkeqlWC_wmypfpA1JWPJl8/get-space-roles", "http://purl.org/dc/terms/description": [ { "@value": "Returns the member roles attached to the given space(s): trust-state-validated gen:RoleAssignments from the current space-state graph of the spaces repo (/repo/spaces), joined to their RoleDeclaration for the role's regular/inverse properties (space-separated), role tier (npa:hasRoleType), plus the role's label/name/title and role-assignment template. Pass one or more space IRIs." } ], "http://purl.org/dc/terms/license": [ { "@id": "http://www.apache.org/licenses/LICENSE-2.0" } ], "@type": [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get space roles" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/spaces" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "prefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix schema: \nprefix gen: \n\nselect ?role ?roleLabel ?roleName ?roleTitle ?roleAssignmentTemplate ?roleType\n (group_concat(distinct ?reg; separator=\" \") as ?regularProperties)\n (group_concat(distinct ?inv; separator=\" \") as ?inverseProperties)\n ?ra_np where {\n graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?g . }\n values ?_space_multi_iri {}\n graph ?g {\n ?ra a gen:RoleAssignment ;\n npa:forSpace ?_space_multi_iri ;\n gen:hasRole ?role ;\n npa:viaNanopub ?ra_np .\n }\n graph npa:spacesGraph {\n ?roleDecl a npa:RoleDeclaration ;\n npa:role ?role ;\n npa:viaNanopub ?role_np .\n optional { ?roleDecl gen:hasRegularProperty ?reg }\n optional { ?roleDecl gen:hasInverseProperty ?inv }\n optional { ?roleDecl npa:hasRoleType ?roleType }\n }\n graph npa:graph { ?role_np np:hasAssertion ?role_a . }\n optional { graph ?role_a { ?role rdfs:label ?roleLabel } }\n optional { graph ?role_a { ?role dct:title ?roleTitle } }\n optional { graph ?role_a { ?role schema:name ?roleName } }\n optional { graph ?role_a { ?role gen:hasRoleAssignmentTemplate ?roleAssignmentTemplate } }\n} group by ?role ?roleLabel ?roleName ?roleTitle ?roleAssignmentTemplate ?roleType ?ra_np" } ] } ] }, { "@id": "https://w3id.org/np/RAKJFw-xIQ2r_aSKT4-6Pm3JkeqlWC_wmypfpA1JWPJl8/Head", "@graph": [ { "@id": "https://w3id.org/np/RAKJFw-xIQ2r_aSKT4-6Pm3JkeqlWC_wmypfpA1JWPJl8", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAKJFw-xIQ2r_aSKT4-6Pm3JkeqlWC_wmypfpA1JWPJl8/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAKJFw-xIQ2r_aSKT4-6Pm3JkeqlWC_wmypfpA1JWPJl8/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAKJFw-xIQ2r_aSKT4-6Pm3JkeqlWC_wmypfpA1JWPJl8/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAKJFw-xIQ2r_aSKT4-6Pm3JkeqlWC_wmypfpA1JWPJl8/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAKJFw-xIQ2r_aSKT4-6Pm3JkeqlWC_wmypfpA1JWPJl8/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] } ]