@prefix this: . @prefix sub: . @prefix np: . @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-testimonials-by-project-leads a ; dct:description "This query returns the testimonials (about any entity) authored by any of the project leads of the given project."; dct:license ; rdfs:label "Get testimonials by project leads"; ; """prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix schema: prefix gen: select ?author ?author_label ?about ?about_label ?text ?date ?np (\"^\" as ?np_label) where { graph npa:graph { ?lead_np np:hasAssertion ?lead_a . ?lead_np npa:hasValidSignatureForPublicKeyHash ?lead_pubkey . filter not exists { ?lead_npx npx:invalidates ?lead_np ; npa:hasValidSignatureForPublicKeyHash ?lead_pubkey . } } graph ?lead_a { ?_project_iri gen:hasProjectLead ?author . } graph npa:graph { ?np npx:hasNanopubType gen:Testimonial . ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . filter not exists { ?npx2 npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } ?np npx:introduces ?testimonial . ?np np:hasAssertion ?a . ?np dct:created ?date . } graph ?a { ?testimonial dct:description ?text . ?testimonial schema:author ?author . optional { ?testimonial schema:about ?about . } optional { ?author rdfs:label ?author_label . } optional { ?about rdfs:label ?about_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-04-15T13:00:33Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-testimonials-by-project-leads; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "le5aV4G+T7K2rWD5/B1R9U5TeMoH6lMIBq6oyZs/ik2n0skHbNAAyiHOK0CJGGMnvgL/oi2NI9MX4n7ZbSRl4W84Kmfji+j039KUcflEAfhxBdDnsPrQbSNWjf9QidEHl7vKr05IBFHdKxl9XmtVC0J8JqGYZVm+Ysat0oEng8s="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }