@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 rdf:
prefix rdfs:
prefix dct:
prefix np:
prefix npa:
prefix npx:
prefix schema:
select ?text ?datePublished ?link ?np 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 {
?newsItem schema:headline ?headline .
?newsItem rdf:type schema:NewsArticle .
?newsItem schema:articleBody ?body .
optional { ?newsItem schema:datePublished ?datePublished . }
optional { ?newsItem schema:url ?link . }
values ?_resource_multi_iri {}
?newsItem schema:isPartOf ?_resource_multi_iri .
}
bind(concat(\"\", ?headline, \" ยท \", ?body, \"\") as ?text)
} order by desc(?datePublished)""" .
}
sub:provenance {
sub:assertion prov:wasAttributedTo orcid:0000-0001-8492-0354 .
}
sub:pubinfo {
orcid:0000-0001-8492-0354 foaf:name "Ashley Caselli" .
orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" .
this: dcterms:created "2025-12-11T08:35:47.970Z"^^xsd:dateTime;
dcterms:creator orcid:0000-0001-8492-0354, orcid:0000-0002-1267-0234;
dcterms:license ;
npx:embeds sub:get-news-content;
npx:supersedes ;
npx:wasCreatedAt ;
prov:wasDerivedFrom ;
nt:wasCreatedFromProvenanceTemplate ;
nt:wasCreatedFromPubinfoTemplate ,
, ,
, ;
nt:wasCreatedFromTemplate .
sub:sig npx:hasAlgorithm "RSA";
npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB";
npx:hasSignature "I5eHJIkIVHzClMDs96AOsmaxWyBCn6fGLYSjzv1NT0rO5cYkpXJlsIFNUiDydiDreRyEN/bnAChET31p4IqSWAMR87jCpUuym+XeRorRUpDbFy0J0fKZQ7ppsrMJxKjuBdg7g6Iyq5G31n3kkYgOQps3iZ7csEq1P158omzk4yI=";
npx:hasSignatureTarget this:;
npx:signedBy orcid:0000-0002-1267-0234 .
}