@prefix this: . @prefix sub: . @prefix np: . @prefix grlc: . @prefix dct: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix prov: . @prefix foaf: . sub:Head { this: a np:Nanopublication; np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo . } sub:assertion { sub:get-outputs-for-project a grlc:grlc-query; dct:description "Returns all outputs (e.g. publications) linked to the given project via frapo:hasOutput, with the output's label and source nanopublication, ordered by latest first."; dct:license ; rdfs:label "Get outputs for project"; grlc:endpoint ; grlc:sparql """prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix nt: prefix frapo: select ?publication ?publication_label ?date ?np (\"^\" as ?np_label) where { graph npa:graph { ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . } ?np dct:created ?date . ?np np:hasAssertion ?a . ?np np:hasPublicationInfo ?pi . } values ?_project_multi_iri {} graph ?a { ?_project_multi_iri frapo:hasOutput ?publication . } optional { graph ?pi { ?publication nt:hasLabelFromApi ?publication_label . } } } order by desc(?date)""" . } sub:provenance { sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 . } sub:pubinfo { orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" . this: dct:created "2026-06-30T13:50:59Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-outputs-for-project; rdfs:label "Get outputs for project"; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "MyYkiItYWLfRs8htrYvCfRuKdztawKSc9hHCv5LuNvHzZjbIv6WhiCbmgBAt2g09Y5pP2f7c58nqII8w1mSlEUEB7OhTAVxU0v15piXoyazbtSlMUtcEwgiqHlLOcstWIOij3bPR8nL+kqA7ZEdAz4dty3+r9/i++81P3B2RtXA="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }