[ { "@id": "https://w3id.org/np/RAoYaaobJq-kITaJxLuzApn0cheIsECBwkp4DrNI_6d_Y/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAoYaaobJq-kITaJxLuzApn0cheIsECBwkp4DrNI_6d_Y/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAoYaaobJq-kITaJxLuzApn0cheIsECBwkp4DrNI_6d_Y/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAoYaaobJq-kITaJxLuzApn0cheIsECBwkp4DrNI_6d_Y/get-outputs-for-project", "http://purl.org/dc/terms/description": [ { "@value": "Returns all outputs (e.g. publications) linked to the given project via frapo:hasOutput, with the output's label, its type(s) and publication date (when described by a space member), restricted to links and descriptions authored by a member, maintainer, or admin of the project's space." } ], "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 outputs for 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 dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix nt: \nprefix frapo: \nprefix gen: \nprefix fabio: \n\nselect ?publication ?publication_label\n (group_concat(distinct str(?type); separator=\" \") as ?type_multi_iri)\n (group_concat(distinct ?typeLabel; separator=\"\\n\") as ?type_label_multi)\n (sample(?pubdate0) as ?pubdate)\n ?np (\"^\" as ?np_label)\nwhere {\n values ?_project_multi_iri {}\n service {\n select (group_concat(?mpk; separator=\" \") as ?memberPubkeys) where {\n graph npa:graph { npa:hasCurrentSpaceState ?stateG . }\n values ?_project_multi_iri {}\n graph ?stateG {\n ?_project_multi_iri npa:isMaintainedBy? ?space .\n ?ri a gen:RoleInstantiation ; npa:forSpace ?space ; npa:forAgent ?agent ; npa:hasRoleType ?roleType .\n filter(?roleType in (gen:AdminRole, gen:MaintainerRole, gen:MemberRole))\n ?acct a npa:AccountState ; npa:agent ?agent ; npa:pubkey ?mpk .\n }\n }\n }\n graph npa:graph {\n ?np npa:hasValidSignatureForPublicKeyHash ?npPubkey .\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?npPubkey . }\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 graph ?a { ?_project_multi_iri frapo:hasOutput ?publication . }\n optional { graph ?pi { ?publication nt:hasLabelFromApi ?publication_label . } }\n optional {\n graph npa:graph {\n ?dnp npa:hasValidSignatureForPublicKeyHash ?dpk .\n filter not exists { ?dnpx npx:invalidates ?dnp ; npa:hasValidSignatureForPublicKeyHash ?dpk . }\n filter not exists { ?dnp npx:hasNanopubType npx:ExampleNanopub . }\n ?dnp np:hasAssertion ?da .\n }\n filter(contains(?memberPubkeys, ?dpk))\n graph ?da {\n ?publication a ?type .\n filter(strstarts(str(?type), \"http://purl.org/spar/fabio/\"))\n optional { ?publication dct:date ?pubdate0 }\n }\n bind(strafter(str(?type), \"http://purl.org/spar/fabio/\") as ?typeLabel)\n }\n}\ngroup by ?publication ?publication_label ?np\norder by desc(?pubdate)" } ] } ] }, { "@id": "https://w3id.org/np/RAoYaaobJq-kITaJxLuzApn0cheIsECBwkp4DrNI_6d_Y/Head", "@graph": [ { "@id": "https://w3id.org/np/RAoYaaobJq-kITaJxLuzApn0cheIsECBwkp4DrNI_6d_Y", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAoYaaobJq-kITaJxLuzApn0cheIsECBwkp4DrNI_6d_Y/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAoYaaobJq-kITaJxLuzApn0cheIsECBwkp4DrNI_6d_Y/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAoYaaobJq-kITaJxLuzApn0cheIsECBwkp4DrNI_6d_Y/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAoYaaobJq-kITaJxLuzApn0cheIsECBwkp4DrNI_6d_Y/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/RAoYaaobJq-kITaJxLuzApn0cheIsECBwkp4DrNI_6d_Y", "http://purl.org/dc/terms/created": [ { "@value": "2026-06-30T14:21:04Z", "@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/RAoYaaobJq-kITaJxLuzApn0cheIsECBwkp4DrNI_6d_Y/get-outputs-for-project" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RACRdb5AKQssLHZvSqZFZIpRM7n4Omkk7eBLQkXKt-8v0" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get outputs for 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/RARW4MsFkHuwjycNElvEVtuMjpf4yWDL10-0C5l2MqqRQ" }, { "@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/RAoYaaobJq-kITaJxLuzApn0cheIsECBwkp4DrNI_6d_Y/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": "MvqeMgVXKgPt6Ue4+b8s9aI8hhoRybC/mfinEGbCo40SeSS6Ock6A/jF0YDRY1sPaupGCzHaak65UFHOV40PKQVBv7Bq6lu0odPEPrOAVLi/k+9npb/coTfQh6VeHLF2FRmoNYsAjo3ASMpFubzXMfTEZ3E0A3rnxhn3pDKaWDI=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAoYaaobJq-kITaJxLuzApn0cheIsECBwkp4DrNI_6d_Y" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] } ]