@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-statements-with-evidence a ; dct:description "Returns all nanopublications typed as schema:Statement (npx:hasNanopubType), with the statement text (rdf:value) and the evidence it cites (cito:citesAsEvidence). Retracted and superseded nanopublications are left out."; dct:license ; rdfs:label "Get statements with evidence"; ; """prefix rdf: prefix dct: prefix np: prefix npa: prefix npx: prefix cito: prefix schema: select ?Statement ?Evidence_multi_iri ?Evidence_label_multi ?np (\"^\" as ?np_label) where { select ?np ?created ?Statement (group_concat(distinct str(?evidence); separator=\" \") as ?Evidence_multi_iri) (group_concat(distinct ?evidenceLabel; separator=\"\\n\") as ?Evidence_label_multi) where { graph npa:graph { ?np npx:hasNanopubType schema:Statement ; npa:hasValidSignatureForPublicKeyHash ?pubkey ; np:hasAssertion ?a ; np:hasPublicationInfo ?pi ; dct:created ?created . filter not exists { ?npi npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } } graph ?pi { ?np npx:hasNanopubType schema:Statement . } graph ?a { ?s rdf:value ?Statement . } optional { graph ?a { ?s cito:citesAsEvidence ?evidence . } bind(replace(str(?evidence), \"^.*[/#]\", \"\") as ?evidenceLabel) } } group by ?np ?created ?Statement } order by desc(?created)""" . } sub:provenance { sub:assertion prov:wasAttributedTo orcid:0000-0001-8492-0354 . } sub:pubinfo { orcid:0000-0001-8492-0354 foaf:name "Ashley Caselli" . this: dct:created "2026-08-24T16:02:56.459Z"^^xsd:dateTime; dct:creator orcid:0000-0001-8492-0354; dct:license ; npx:embeds sub:get-statements-with-evidence; npx:supersedes ; npx:wasCreatedAt ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCaQXE2B2hJ6QdWxaWerU4F/XOtCQdj2OkdrIYd1kpMY9hIUh8boxaO3uOBeqvvqKLf5HjpRF4DT1eghOSsa2Dhd5HRTM/XIamvwWkHpN4oB3Ml19pAAzjTqczYmFLfgG67mGL5+vSA8VEdHtKQCrvP4SpTibMBP1qaxt3k1tqD6wIDAQAB"; npx:hasSignature "O67rb3NXML4gP4B/dl1j5TPm0JoSW0KEUEi+2ixMaNHTzpXfMAgh1H1dFuKSCdYHNbogJ4/vKWBSaM2tf50jtgPXgMm1uLR5Ia8pc75W0ghgv5U8seM8A0d1nyRb+5WWdzf6ISOYteow35KIr6rAZr7jOhdfAByCl7DNxghl7wM="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0001-8492-0354 . }