@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-rocrate-list dcterms:description "This query returns a list of all RO-Crates.";
dcterms:license ;
a ;
rdfs:label "Get RO-Crate list";
;
"""prefix schema:
prefix rdfs:
prefix dct:
prefix np:
prefix npa:
prefix npx:
select ?rocrate ?rocrate_label ?np ?date where {
graph npa:graph {
?np npx:hasNanopubType npx:RoCrateNanopub .
?np npa:hasValidSignatureForPublicKeyHash ?pubkey .
filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }
?np dct:created ?date .
?np npx:introduces ?rocrate .
?np np:hasAssertion ?a .
}
graph ?a {
?rocrate schema:name ?rocrate_label .
}
}
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: dcterms:created "2025-11-19T15:16:31.402Z"^^xsd:dateTime;
dcterms:creator orcid:0000-0002-1267-0234;
dcterms:license ;
npx:embeds sub:get-rocrate-list;
npx:wasCreatedAt ;
nt:wasCreatedFromProvenanceTemplate ;
nt:wasCreatedFromPubinfoTemplate ,
;
nt:wasCreatedFromTemplate .
sub:sig npx:hasAlgorithm "RSA";
npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCjDGQCS1S+SRnERDuYDXOugdYUP0efEquHJEEHAbU/uLzBVlga89zqrNPCS7fBE6lArBUWEmT8eLKdMapyqvAzI1J3jUWTMhDJF+XFBkUiuiFfNSc4vJJcmi0yujtnuzXsRIG202jyaP4f5ULoskFwaZOSBZJfiE0dsB3D7DTIAQIDAQAB";
npx:hasSignature "XQQQk7lqCd2BExm2hohTcUdFZTOPt0uxu0dGgN/ILfJ0/9GbY/t26WWjpz+HTdx/XWP0xQ+RYK/h7+slrPIxwnzxv8Yh8RNDWXR4mVJYHvfWZvuD+8ZXltqMEHZSFXemM706Qfg5RZAlHbiLzctwbOhVMuaNMNXJalwOswlntrA=";
npx:hasSignatureTarget this:;
npx:signedBy orcid:0000-0002-1267-0234 .
}