@prefix this: . @prefix sub: . @prefix np: . @prefix grlc: . @prefix dct: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix prov: . sub:Head { this: a np:Nanopublication; np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo . } sub:assertion { sub:get-messages-about-resource a grlc:grlc-query; dct:description "This query returns plain-text messages and discourse statements (schema:Statement) about the given resource."; dct:license ; rdfs:label "Get messages about resource"; grlc:endpoint ; grlc:sparql """prefix rdf: prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix schema: prefix schemah: select ?text (group_concat(distinct concat('link'); separator=\", \") as ?link) ?user ?date ?np (\"^\" as ?np_label) where { graph npa:graph { ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } ?np dct:created ?date . ?np dct:creator ?user . ?np np:hasAssertion ?a . } graph ?a { values ?_resource_multi_iri {} { ?a rdfs:label ?text . ?a schema:about|schemah:about ?_resource_multi_iri . bind(?a as ?s) } union { ?s a ?stype . filter(?stype in (schema:Statement, schemah:Statement)) ?s rdf:value ?text . ?s schema:about|schemah:about ?_resource_multi_iri . } optional { ?s rdfs:seeAlso ?link . } } } group by ?text ?user ?date ?np order by desc(?date)""" . } sub:provenance { sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 . } sub:pubinfo { orcid:0000-0002-1267-0234 "Tobias Kuhn" . this: dct:created "2026-08-19T11:54:47Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-messages-about-resource; npx:supersedes ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "kpILr9sjHke8z0xf1o4AvPxAnUt/yzCiyrLAEK6msii1L2DLZHzRuiKjNo5WIjEs1VZbJjbivYo8h7bY3z0N+Ukp/yPY7A3vK0RTSQ1h0dK37xmPZOKTpyx6UUsBGdA8+cBx0E8ptAuCBCrOBWnbHL6gLpVpakIz+FevI7lqAmI="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }