@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-messages-about-this-resource-only a grlc:grlc-query; dct:description "This query returns plain-text messages and discourse statements (schema:Statement) about the given resource itself (not about its sub-spaces or maintained resources)."; dct:license ; rdfs:label "Get messages about this resource only"; 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 foaf:name "Tobias Kuhn" . this: dct:created "2026-08-28T12:16:23Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-messages-about-this-resource-only; prov:wasDerivedFrom ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "fO51IUGjsrSneiBPajFXi79ceqgGTFOvYZvMJnYBqiNhWLC15cO9D9LcmCLSrDqtLPNYPfVAPa3ISegkQX4z5nvTQDoyv4UQvbWxiq4GeOLphOz11qKqZbvNvS3JBWRlu2bSP6O6b9wskJg8310xNjydN+g99bnJLUZ5MMyVHmU="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }