@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-author a ; dct:description "This query returns the testimonials by the given author."; dct:license ; rdfs:label "Get testimonials by author"; ; """prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix schema: prefix gen: select ?label ?about ?text ?date ?np (\"^\" as ?np_label) where { graph npa:graph { ?np npx:hasNanopubType gen:Testimonial . ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } ?np npx:introduces ?testimonial . ?np np:hasAssertion ?a . ?np dct:created ?date . } graph ?a { ?testimonial rdfs:label ?label . ?testimonial dct:description ?text . ?testimonial schema:author ?_author_iri . optional { ?testimonial schema:about ?about . } } } 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-10T14:50:10Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-testimonials-by-author; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "V+CRwVmtyUa5iJBIRilKQWxDPhkrmm2PX0+jOlKFieYWkYfrfuRcnfzq6H0FJ9UvoIU7+HkGFDpUIR/JHijY9iBQ+6LVi8DWUCdzHSa4c+yNEpCEhM5izDdJp9zOJneg+YXzoB22WXbyRwzrFmYhzIXWxsSfAne7mKJaTkey5sI="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }