@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-compendium-papers a ; dct:description "Returns the papers that are candidates for a FAIR Compendium of Contributed Knowledge ('partid'): all scholarly works on the network whose author list contains the agent the compendium covers and whose publication date falls in the covered year. The compendium's covered agent and year are resolved from its latest non-invalidated defining nanopub. The status column currently always shows 'suggested'; papers confirmed for inclusion will later show 'included'."; dct:license ; rdfs:label "Get papers for FAIR Compendium"; ; """prefix rdf: prefix rdfs: prefix dct: prefix bibo: prefix gen: prefix np: prefix npa: prefix npx: select ?paper ?paper_label ?date ?status ?np (\"^\" as ?np_label) where { service { graph npa:graph { ?dnp npa:hasValidSignatureForPublicKeyHash ?dpk ; (npx:introduces|npx:describes|npx:embeds) ?_partid_iri ; dct:created ?ddate ; np:hasAssertion ?da . filter not exists { ?inv npx:invalidates ?dnp ; npa:hasValidSignatureForPublicKeyHash ?dpk . } filter not exists { ?dnp2 npa:hasValidSignatureForPublicKeyHash ?pk2 ; (npx:introduces|npx:describes|npx:embeds) ?_partid_iri ; dct:created ?ddate2 . filter not exists { ?inv2 npx:invalidates ?dnp2 ; npa:hasValidSignatureForPublicKeyHash ?pk2 . } filter(?ddate2 > ?ddate) } } graph ?da { ?_partid_iri gen:coversAgent ?agent ; gen:coversTime ?year . } } graph npa:graph { ?np npa:hasValidSignatureForPublicKeyHash ?pubkeyhash ; (npx:introduces|npx:describes) ?paper ; np:hasAssertion ?a . filter not exists { ?npi npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkeyhash . } filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . } filter not exists { ?np2 npa:hasValidSignatureForPublicKeyHash ?ppk2 ; (npx:introduces|npx:describes) ?paper ; dct:created ?pdate2 . filter not exists { ?npi2 npx:invalidates ?np2 ; npa:hasValidSignatureForPublicKeyHash ?ppk2 . } ?np dct:created ?pdate . filter(?pdate2 > ?pdate) } } graph ?a { ?paper dct:date ?date ; bibo:authorList ?al . ?al ?memberprop ?agent . } filter(strstarts(str(?memberprop), 'http://www.w3.org/1999/02/22-rdf-syntax-ns#_')) filter(strstarts(str(?date), str(?year))) optional { graph ?a { ?paper dct:title ?titleRaw } } bind(coalesce(?titleRaw, str(?paper)) as ?paper_label) bind('suggested' as ?status) } order by ?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:50:42Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-fair-compendium-papers; rdfs:label "Get papers for FAIR Compendium"; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "EdIXfHpoEvEms//k1LB9sERVQj+2SXwz41LQdD1whUcGAG+q2HRsd6Ad4EhC3YCQGmc+YhWCFHI6S+MtVhy+JaxfVFuOUGnMGif+0/J1En3RIqFgg4vyeQIJ0YUngcuTNHUVj380a0bBJiQFty2ppHZYOGb62GY29IFSREBMPuA="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }