@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-all-cs dcterms:description "This query returns all case studies";
dcterms:license ;
a ;
rdfs:label "Get case studies";
;
"""\"PREFIX rdfs:
PREFIX dct:
PREFIX np:
PREFIX npa:
PREFIX npx:
PREFIX fff:
SELECT DISTINCT ?np ?date ?label ?userStory
WHERE {
## Info about this repo
npa:thisRepo ?repoPred ?repoObj .
## Search for valid nanopublications
GRAPH npa:graph {
?np npa:hasValidSignatureForPublicKey ?pubkey .
FILTER NOT EXISTS {
?invalid npx:invalidates ?np ;
npa:hasValidSignatureForPublicKey ?pubkey .
}
?np dct:created ?date .
?np np:hasAssertion ?a .
OPTIONAL { ?np rdfs:label ?label }
}
## Look inside the assertion graph
GRAPH ?a {
?userStory a fff:Case-Study .
}
}
ORDER BY DESC(?date)\"""" .
}
sub:provenance {
sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 .
}
sub:pubinfo {
orcid:0000-0002-0319-6542 foaf:name "Dario Bijker" .
orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" .
orcid:0000-0003-2195-3997 foaf:name "Barbara Magagna" .
this: dcterms:created "2025-12-29T00:02:24.030Z"^^xsd:dateTime;
dcterms:creator orcid:0000-0002-0319-6542, orcid:0000-0002-1267-0234, orcid:0000-0003-2195-3997;
dcterms:license ;
npx:embeds sub:get-all-cs;
npx:supersedes ;
npx:wasCreatedAt ;
prov:wasDerivedFrom ,
, ,
;
nt:wasCreatedFromProvenanceTemplate ;
nt:wasCreatedFromPubinfoTemplate ,
, ,
, ;
nt:wasCreatedFromTemplate .
sub:sig npx:hasAlgorithm "RSA";
npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCM0tu3I/KK6A/qPha/6pfngQZ4LBQpLnKAcIUuZLnSEb0epJ2IoY3zh/4N42us/6LpCHgZZZtSOTm5/KVo+OTDIqo294PpEZAO70u5DcMcGMC5OufzxGKs3Dwdo6XqPiDHxXuiaKCTO7/ABWAi7CtFoMrqJAHfeyqe82dAiH2IiwIDAQAB";
npx:hasSignature "WpcyoJjmfcYWGV07kkTGq5Od9nIgoR935mIe0LbAj3ar3SyfsuxgBHItaTcHB8/dasEMBGkXGNz78+2zIFOFMlYyQI23OuBsWQxWiMrjB+BaagIZPeIUTa0dYn+dWHaILITvjJTyuzH7gELJynaEkod2UVX35LI4PIzBPDMECbs=";
npx:hasSignatureTarget this:;
npx:signedBy orcid:0000-0003-2195-3997 .
}