@prefix dcterms: .
@prefix this: .
@prefix sub: .
@prefix np: .
@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-news-content dcterms:description "This query returns the content (body) of the news entries.";
dcterms:license ;
a ;
rdfs:label "Get news content";
;
"""prefix rdfs:
prefix dct:
prefix np:
prefix npa:
prefix npx:
prefix schema:
select ?body ?np ?user ?date 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 {
?a rdfs:label ?body .
values ?_resource_multi_iri {}
?a schema:isPartOf ?_resource_multi_iri .
}
} order by desc(?date)""" .
}
sub:provenance {
sub:assertion prov:wasAttributedTo orcid:0000-0001-8492-0354 .
}
sub:pubinfo {
orcid:0000-0001-8492-0354 foaf:name "Ashley Caselli" .
this: dcterms:created "2025-11-03T18:00:43.672Z"^^xsd:dateTime;
dcterms:creator orcid:0000-0001-8492-0354;
dcterms:license ;
npx:embeds sub:get-news-content;
npx:wasCreatedAt ;
nt:wasCreatedFromProvenanceTemplate ;
nt:wasCreatedFromPubinfoTemplate ,
;
nt:wasCreatedFromTemplate .
sub:sig npx:hasAlgorithm "RSA";
npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCaQXE2B2hJ6QdWxaWerU4F/XOtCQdj2OkdrIYd1kpMY9hIUh8boxaO3uOBeqvvqKLf5HjpRF4DT1eghOSsa2Dhd5HRTM/XIamvwWkHpN4oB3Ml19pAAzjTqczYmFLfgG67mGL5+vSA8VEdHtKQCrvP4SpTibMBP1qaxt3k1tqD6wIDAQAB";
npx:hasSignature "KBwBV0BBbLni5+HLIbUe/6YeGS+ggM23TaiN7q0N+cSGfSU88ox6gGYniaAPfys5LzUDZf9Run9f+RtN1P98YDUwRulCf9rQr9s7TiVm0qoxubIdEqssjQ2aKXf/P9il62+/j/BIrOHV1IfmeEuqjlwRdG9AuukCV8d+WZaigiE=";
npx:hasSignatureTarget this:;
npx:signedBy orcid:0000-0001-8492-0354 .
}