https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM/Head https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM http://www.nanopub.org/nschema#hasAssertion https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM/assertion https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM http://www.nanopub.org/nschema#hasProvenance https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM/provenance https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM http://www.nanopub.org/nschema#hasPublicationInfo https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM/pubinfo https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.nanopub.org/nschema#Nanopublication https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM/assertion https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM/get-space-people-institutions http://www.w3.org/1999/02/22-rdf-syntax-ns#type https://w3id.org/kpxl/grlc/grlc-query https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM/get-space-people-institutions http://www.w3.org/2000/01/rdf-schema#label Get the people and institutions per project for a space and its sub-spaces https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM/get-space-people-institutions https://w3id.org/kpxl/grlc/endpoint https://w3id.org/np/l/nanopub-query-1.1/repo/full https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM/get-space-people-institutions https://w3id.org/kpxl/grlc/sparql prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> prefix np: <http://www.nanopub.org/nschema#> prefix npa: <http://purl.org/nanopub/admin/> prefix npx: <http://purl.org/nanopub/x/> prefix nt: <https://w3id.org/np/o/ntemplate/> prefix gen: <https://w3id.org/kpxl/gen/terms/> prefix ff: <https://w3id.org/fair/ff/terms/> prefix foaf: <http://xmlns.com/foaf/0.1/> select ?project ?project_label ?relation ?relation_label ?agent ?agent_label ?np ("^" as ?np_label) where { values ?_space_multi_iri {} service <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> { select (group_concat(distinct ?mpk; separator=" ") as ?memberPubkeys) where { graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?stateG . } values ?_space_multi_iri {} graph ?stateG { ?ri a gen:RoleInstantiation ; npa:forSpace ?_space_multi_iri ; npa:forAgent ?memberAgent ; npa:hasRoleType ?rt . filter(?rt in (gen:AdminRole, gen:MaintainerRole, gen:MemberRole)) ?acct a npa:AccountState ; npa:agent ?memberAgent ; npa:pubkey ?mpk . } } } graph npa:graph { ?np npa:hasValidSignatureForPublicKeyHash ?npPubkey . filter not exists { ?invNp npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?npPubkey . } filter not exists { ?supNp npx:supersedes ?np . } filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . } ?np np:hasAssertion ?a . ?np np:hasPublicationInfo ?pi . } filter(contains(?memberPubkeys, ?npPubkey)) { # People: one nanopub per role instantiation. graph ?pi { ?np npx:hasNanopubType gen:RoleInstantiation } graph ?a { ?project ?relation ?agent } filter(?relation in (ff:has-principal-investigator, ff:has-project-leader, ff:has-data-steward, ff:has-participant)) optional { graph ?pi { ?agent foaf:name ?agentName } } } union { # Institutions: asserted in each project's own root definition. graph ?a { ?project a gen:Space . ?project ?relation ?agent . } filter(?relation in (ff:has-lead-institution, ff:has-partner-institution, ff:has-funder)) optional { graph ?pi { ?agent rdfs:label ?agentName } } optional { graph ?a { ?project rdfs:label ?projectLabelFromDef } } } filter(?project = ?_space_multi_iri || strstarts(str(?project), concat(str(?_space_multi_iri), "/"))) optional { graph ?pi { ?project nt:hasLabelFromApi ?projectLabelFromApi } } bind(coalesce(?projectLabelFromApi, ?projectLabelFromDef, "") as ?project_label) bind(coalesce(?agentName, "") as ?agent_label) bind(if(?relation = ff:has-principal-investigator, 1, if(?relation = ff:has-project-leader, 2, if(?relation = ff:has-data-steward, 3, if(?relation = ff:has-participant, 4, if(?relation = ff:has-lead-institution, 5, if(?relation = ff:has-partner-institution, 6, 7)))))) as ?relation_order) bind(replace(strafter(str(?relation), "https://w3id.org/fair/ff/terms/has-"), "-", " ") as ?relation_label) } order by ?project ?relation_order ?agent_label https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM/provenance https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM/assertion http://www.w3.org/ns/prov#wasAttributedTo https://orcid.org/0000-0002-1267-0234 https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM/pubinfo https://orcid.org/0000-0002-1267-0234 http://xmlns.com/foaf/0.1/name Tobias Kuhn https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM http://purl.org/dc/terms/created 2026-08-11T08:46:47Z https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM http://purl.org/dc/terms/creator https://orcid.org/0000-0002-1267-0234 https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM http://purl.org/dc/terms/license https://creativecommons.org/licenses/by/4.0/ https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM http://purl.org/nanopub/x/embeds https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM/get-space-people-institutions https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM http://www.w3.org/2000/01/rdf-schema#label Get the people and institutions per project for a space and its sub-spaces https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate http://purl.org/np/RAcm8OurwUk15WOgBM9wySo-T3a5h6as4K8YR5MBrrxUc https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8 https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM/sig http://purl.org/nanopub/x/hasAlgorithm RSA https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM/sig http://purl.org/nanopub/x/hasPublicKey MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM/sig http://purl.org/nanopub/x/hasSignature AXZkVcWyn5gm93RjC8ubJYMyCxAUHhbCsFhrXdyoNGFldpTwX5Bs8+CnYj/210kVFgobxSMkNfrDn3eYhZE2E0eKiApOxgd2zUZgNw86IalRf3+8vXKwoEiiXDg6qDLmm+qorwumb6xXXqs2FSIuNBC6+BDufqA7p17PLXiNo9o= https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM/sig http://purl.org/nanopub/x/hasSignatureTarget https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM https://w3id.org/np/RAzoNCUS_Nl52UI2eApkIQnQB_D_edxq7CNGfgDSXpaiM/sig http://purl.org/nanopub/x/signedBy https://orcid.org/0000-0002-1267-0234