@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: np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo; a np:Nanopublication . } sub:assertion { sub:get-thanks dct:description "This query returns all thanks, possibly restricted by thanker, thanked, and/or thank reason."; dct:license ; a ; rdfs:label "Get thanks"; ; """prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix thank: select (?__thanker_iri as ?thanker) (?__thanked_iri as ?thanked) (?__thankReason_iri as ?thankReason) ?comment ?np ?date where { graph npa:graph { ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } ?np dct:created ?date . ?np npx:signedBy ?__thanker_iri . ?np np:hasAssertion ?a . } graph ?a { ?thanks a thank:Thanks . ?thanks thank:hasThanked ?__thanked_iri . ?thanks thank:hasThanker ?__thanker_iri . ?thanks thank:thanksFor ?__thankReason_iri . optional { ?thanks rdfs:comment ?comment . } } } 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-01-09T15:17:47.542Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-thanks; npx:wasCreatedAt ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCjDGQCS1S+SRnERDuYDXOugdYUP0efEquHJEEHAbU/uLzBVlga89zqrNPCS7fBE6lArBUWEmT8eLKdMapyqvAzI1J3jUWTMhDJF+XFBkUiuiFfNSc4vJJcmi0yujtnuzXsRIG202jyaP4f5ULoskFwaZOSBZJfiE0dsB3D7DTIAQIDAQAB"; npx:hasSignature "M9ajejnbOrHf+dZPrASzMizVawlfzV0ShL0AuuIQvvB3KjzNL/A0i61R+csLa2Qz5DyCiCN8G+GujWYMTIa3Zm+0mBQK2P/T4j1W4lI+rQ/MbYVYTVDehioNd0awUh76xwX7NYmgXV4T3zpIB7YWfTIWyHcYLf5WIrvhDu+IpKw="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }