@prefix this: . @prefix sub: . @prefix np: . @prefix dct: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix prov: . @prefix foaf: . sub:Head { this: a np:Nanopublication; np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo . } sub:assertion { sub:get-fair-compendia-for-user a ; dct:description "Returns the FAIR Compendia of Contributed Knowledge that cover the given user."; dct:license ; rdfs:label "Get FAIR Compendia of Contributed Knowledge for user"; ; """prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix gen: select ?compendium ?compendium_label ?covered_time ?date ?np (\"^\" as ?np_label) where { graph npa:graph { ?np npa:hasValidSignatureForPublicKeyHash ?pubkeyhash . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkeyhash . } filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . } ?np dct:created ?date . ?np np:hasAssertion ?a . } graph ?a { ?compendium a gen:FAIRCompendiumOfContributedKnowledge ; gen:coversAgent ?_user_iri . } optional { graph ?a { ?compendium rdfs:label ?rawlabel } } optional { graph ?a { ?compendium gen:coversTime ?rawtime } } bind(coalesce(?rawlabel, str(?compendium)) as ?compendium_label) bind(str(?rawtime) as ?covered_time) } 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: dct:created "2026-07-27T11:33:21Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-fair-compendia-for-user; rdfs:label "Get FAIR Compendia of Contributed Knowledge for user"; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "g02kgE8+i9WKO/KRjmXsW4lc47W48tiq+yyDEXP2moMbOLIG5zrrLuDNfPqXBeLwsZRpxW9Zc2wRYAij1dNrWhxS3JcKNAGSAyvxLgtue+22KkJBkO8pKLjI5wDDoaUfZ8Aqltw1GphgDjQGMznspApFl9KovQZp2vczETza6jE="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }