[ { "@id": "https://w3id.org/np/RAnuA4OwDnmA1MQP_3uteR6aWkfrxe8d_tpHEBSnYYxJQ/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/RAnuA4OwDnmA1MQP_3uteR6aWkfrxe8d_tpHEBSnYYxJQ", "http://purl.org/dc/terms/created": [ { "@value": "2026-08-11T08:46:47Z", "@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/RAnuA4OwDnmA1MQP_3uteR6aWkfrxe8d_tpHEBSnYYxJQ/get-project-people-institutions" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get the people and institutions of a project" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate": [ { "@id": "http://purl.org/np/RAcm8OurwUk15WOgBM9wySo-T3a5h6as4K8YR5MBrrxUc" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate": [ { "@id": "https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8" }, { "@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/RAnuA4OwDnmA1MQP_3uteR6aWkfrxe8d_tpHEBSnYYxJQ/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": "XJqleLmdglNFLcdVpRhJq479Hg9C1uJUF2/yqCUSVIqP+OjgCDEU1DF4bzbigfFEZ35A4WcuZBowJusa0rQf5zn+vxS5TQexSpikq573qWsg26osN8nLxiwAYDsmoUrDeKFPhrpRQohxVsfluEMt9TFaDdad3gA+43tONMU/7zI=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAnuA4OwDnmA1MQP_3uteR6aWkfrxe8d_tpHEBSnYYxJQ" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAnuA4OwDnmA1MQP_3uteR6aWkfrxe8d_tpHEBSnYYxJQ/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAnuA4OwDnmA1MQP_3uteR6aWkfrxe8d_tpHEBSnYYxJQ/get-project-people-institutions", "@type": [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get the people and institutions of a project" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/full" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "prefix rdfs: \nprefix np: \nprefix npa: \nprefix npx: \nprefix nt: \nprefix gen: \nprefix ff: \nprefix foaf: \n\nselect ?relation ?relation_label ?agent ?agent_label ?np (\"^\" as ?np_label)\nwhere {\n values ?_space_multi_iri {}\n service {\n select (group_concat(distinct ?mpk; separator=\" \") as ?memberPubkeys) where {\n graph npa:graph { npa:hasCurrentSpaceState ?stateG . }\n values ?_space_multi_iri {}\n graph ?stateG {\n ?ri a gen:RoleInstantiation ; npa:forSpace ?_space_multi_iri ; npa:forAgent ?memberAgent ; npa:hasRoleType ?rt .\n filter(?rt in (gen:AdminRole, gen:MaintainerRole, gen:MemberRole))\n ?acct a npa:AccountState ; npa:agent ?memberAgent ; npa:pubkey ?mpk .\n }\n }\n }\n graph npa:graph {\n ?np npa:hasValidSignatureForPublicKeyHash ?npPubkey .\n filter not exists { ?invNp npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?npPubkey . }\n filter not exists { ?supNp npx:supersedes ?np . }\n filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . }\n ?np np:hasAssertion ?a .\n ?np np:hasPublicationInfo ?pi .\n }\n filter(contains(?memberPubkeys, ?npPubkey))\n {\n # People: one nanopub per role instantiation.\n graph ?pi { ?np npx:hasNanopubType gen:RoleInstantiation }\n graph ?a { ?project ?relation ?agent }\n filter(?relation in (ff:has-principal-investigator, ff:has-project-leader,\n ff:has-data-steward, ff:has-participant))\n optional { graph ?pi { ?agent foaf:name ?agentName } }\n }\n union\n {\n # Institutions: asserted in each project's own root definition.\n graph ?a {\n ?project a gen:Space .\n ?project ?relation ?agent .\n }\n filter(?relation in (ff:has-lead-institution, ff:has-partner-institution, ff:has-funder))\n optional { graph ?pi { ?agent rdfs:label ?agentName } }\n optional { graph ?a { ?project rdfs:label ?projectLabelFromDef } }\n }\n filter(?project = ?_space_multi_iri || strstarts(str(?project), concat(str(?_space_multi_iri), \"/\")))\n optional { graph ?pi { ?project nt:hasLabelFromApi ?projectLabelFromApi } }\n bind(coalesce(?projectLabelFromApi, ?projectLabelFromDef, \"\") as ?project_label)\n bind(coalesce(?agentName, \"\") as ?agent_label)\n bind(if(?relation = ff:has-principal-investigator, 1,\n if(?relation = ff:has-project-leader, 2,\n if(?relation = ff:has-data-steward, 3,\n if(?relation = ff:has-participant, 4,\n if(?relation = ff:has-lead-institution, 5,\n if(?relation = ff:has-partner-institution, 6, 7)))))) as ?relation_order)\n bind(replace(strafter(str(?relation), \"https://w3id.org/fair/ff/terms/has-\"), \"-\", \" \") as ?relation_label)\n}\norder by ?project ?relation_order ?agent_label" } ] } ] }, { "@id": "https://w3id.org/np/RAnuA4OwDnmA1MQP_3uteR6aWkfrxe8d_tpHEBSnYYxJQ/Head", "@graph": [ { "@id": "https://w3id.org/np/RAnuA4OwDnmA1MQP_3uteR6aWkfrxe8d_tpHEBSnYYxJQ", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAnuA4OwDnmA1MQP_3uteR6aWkfrxe8d_tpHEBSnYYxJQ/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAnuA4OwDnmA1MQP_3uteR6aWkfrxe8d_tpHEBSnYYxJQ/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAnuA4OwDnmA1MQP_3uteR6aWkfrxe8d_tpHEBSnYYxJQ/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAnuA4OwDnmA1MQP_3uteR6aWkfrxe8d_tpHEBSnYYxJQ/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAnuA4OwDnmA1MQP_3uteR6aWkfrxe8d_tpHEBSnYYxJQ/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] } ]