@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-science-live-credits dcterms:description "This query returns all Science Live credits.";
dcterms:license ;
a ;
rdfs:label "Get all Science Live credits";
;
"""prefix sl:
prefix rdfs:
prefix dct:
prefix np:
prefix npa:
prefix npx:
select ?credit ?points ?awardedAgent ?awardingAgent ?reason ?comment where {
graph npa:graph {
?np npx:hasNanopubType sl:ScienceLiveCredit .
?np npa:hasValidSignatureForPublicKeyHash ?pubkey .
filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }
?np dct:created ?date .
?np np:hasAssertion ?a .
?np npx:introduces ?credit .
}
graph ?a {
?credit a sl:ScienceLiveCredit .
?credit sl:hasCreditPoints ?points .
?credit sl:isAwardedTo ?awardedAgent .
?credit sl:isAwardedBy ?awardingAgent .
?credit sl:isAwardedFor ?reason .
?credit rdfs:comment ?comment .
}
}""" .
}
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-12-04T15:28:10.248Z"^^xsd:dateTime;
dcterms:creator orcid:0000-0002-1267-0234;
dcterms:license ;
npx:embeds sub:get-all-science-live-credits;
npx:wasCreatedAt ;
nt:wasCreatedFromProvenanceTemplate ;
nt:wasCreatedFromPubinfoTemplate ,
;
nt:wasCreatedFromTemplate .
sub:sig npx:hasAlgorithm "RSA";
npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB";
npx:hasSignature "6PcEXVbWl3n+8/3tFi6Y5wEDt1HmZ5v22M/GCq7ilMEMDtP36ecYvwr+CxUJ30zGyfMsbHxmOtqSADTXv9uWYsw1fYvovKzmbTkdVk1hokpLQwtOEEWKkY/rfyD/hhBaomb9fvMGfruZdY/GU/Lu2lsjkEodeC1f51sPuwck4YM=";
npx:hasSignatureTarget this:;
npx:signedBy orcid:0000-0002-1267-0234 .
}