@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-fdo-attributes dcterms:description "This query returns all FDO attributes with their definitions";
dcterms:license ;
a ;
rdfs:label "Get FDO attributes";
;
"""prefix rdfs:
prefix dct:
prefix np:
prefix npa:
prefix npx:
select ?np ?label ?attribute ?creator ?date where {
graph npa:graph {
?np npa:hasValidSignatureForPublicKey ?pubkey .
filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . }
?np dct:created ?date .
?np npx:hasNanopubType .
?np npx:introduces ?attribute .
optional { ?np rdfs:label ?label }
optional { ?np npx:signedBy ?creator }
}
} 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-06-04T11:35:53.941Z"^^xsd:dateTime;
dcterms:creator orcid:0000-0002-1267-0234;
dcterms:license ;
npx:embeds sub:get-fdo-attributes;
npx:wasCreatedAt ;
nt:wasCreatedFromProvenanceTemplate ;
nt:wasCreatedFromPubinfoTemplate ,
;
nt:wasCreatedFromTemplate .
sub:sig npx:hasAlgorithm "RSA";
npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB";
npx:hasSignature "dhLEQ4NHYsK4p8yzDgzR1ZhGn6qFSnacZqQOlo/UqvqDd+peTYOncLbU9NszgQrPofEY2+DSfRk1B4Ou2U+IzBCU3utQrbVDweeyHFgRHObMecpq+eCR9+hb10lcR3Sr0k5+aFgxq8qpxmesUXww2VtMxrEhwBiBCgYXd1k5lkQ=";
npx:hasSignatureTarget this:;
npx:signedBy orcid:0000-0002-1267-0234 .
}