[ { "@id": "https://w3id.org/np/RAnXC2CRPMtNsmKczHgxU1KmCS56hNaC0rMDCYadISMC0/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAnXC2CRPMtNsmKczHgxU1KmCS56hNaC0rMDCYadISMC0/get-fair-compendium-claims", "http://purl.org/dc/terms/description": [ { "@value": "Returns the claims (AIDA sentences) that are candidates for a FAIR Compendium of Contributed Knowledge ('partid'): all AIDA sentence nanopublications signed with a public key declared by the agent the compendium covers, whose sentence is derived (prov:wasDerivedFrom) from a paper of the compendium, i.e. a scholarly work whose author list contains the covered agent and whose publication date falls in the covered year. Matching is done by public key rather than npx:signedBy. The compendium's covered agent and year are resolved from its latest non-invalidated defining nanopub." } ], "http://purl.org/dc/terms/license": [ { "@id": "http://www.apache.org/licenses/LICENSE-2.0" } ], "@type": [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get claims for FAIR Compendium" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/full" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "prefix rdf: \r\nprefix rdfs: \r\nprefix dct: \r\nprefix gen: \r\nprefix np: \r\nprefix npa: \r\nprefix npx: \r\nprefix bibo: \r\nprefix prov: \r\nprefix hycl: \r\n\r\nselect distinct ?aida ?aida_label ?paper ?paper_label ?np (\"^\" as ?np_label) where {\r\n service {\r\n graph npa:graph {\r\n ?dnp npa:hasValidSignatureForPublicKeyHash ?dpk ;\r\n (npx:introduces|npx:describes|npx:embeds) ?_partid_iri ;\r\n dct:created ?ddate ;\r\n np:hasAssertion ?da .\r\n filter not exists { ?inv npx:invalidates ?dnp ; npa:hasValidSignatureForPublicKeyHash ?dpk . }\r\n filter not exists {\r\n ?dnp2 npa:hasValidSignatureForPublicKeyHash ?pk2 ;\r\n (npx:introduces|npx:describes|npx:embeds) ?_partid_iri ;\r\n dct:created ?ddate2 .\r\n filter not exists { ?inv2 npx:invalidates ?dnp2 ; npa:hasValidSignatureForPublicKeyHash ?pk2 . }\r\n filter(?ddate2 > ?ddate)\r\n }\r\n }\r\n graph ?da {\r\n ?_partid_iri gen:coversAgent ?agent ;\r\n gen:coversTime ?year .\r\n }\r\n }\r\n graph ?gk { ?kd npx:declaredBy ?agent ; npx:hasPublicKey ?pubkey . }\r\n graph npa:graph {\r\n ?np npa:hasValidSignatureForPublicKey ?pubkey ;\r\n npa:hasValidSignatureForPublicKeyHash ?pkh ;\r\n np:hasAssertion ?a .\r\n optional { ?np rdfs:label ?nplabel }\r\n filter not exists { ?npi npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pkh . }\r\n filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . }\r\n }\r\n graph ?a {\r\n ?aida rdf:type hycl:AIDA-Sentence ;\r\n prov:wasDerivedFrom ?paper .\r\n }\r\n graph npa:graph {\r\n ?pnp npa:hasValidSignatureForPublicKeyHash ?ppkh ;\r\n (npx:introduces|npx:describes) ?paper ;\r\n np:hasAssertion ?pa .\r\n filter not exists { ?pnpi npx:invalidates ?pnp ; npa:hasValidSignatureForPublicKeyHash ?ppkh . }\r\n }\r\n graph ?pa {\r\n ?paper dct:date ?pdate ;\r\n bibo:authorList ?al .\r\n ?al ?memberprop ?agent .\r\n optional { ?paper dct:title ?ptitle }\r\n }\r\n filter(strstarts(str(?memberprop), 'http://www.w3.org/1999/02/22-rdf-syntax-ns#_'))\r\n filter(strstarts(str(?pdate), str(?year)))\r\n bind(replace(coalesce(?nplabel, str(?aida)), '^AIDA sentence: ', '') as ?aida_label)\r\n bind(coalesce(?ptitle, str(?paper)) as ?paper_label)\r\n} order by ?paper ?aida" } ] } ] }, { "@id": "https://w3id.org/np/RAnXC2CRPMtNsmKczHgxU1KmCS56hNaC0rMDCYadISMC0/Head", "@graph": [ { "@id": "https://w3id.org/np/RAnXC2CRPMtNsmKczHgxU1KmCS56hNaC0rMDCYadISMC0", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAnXC2CRPMtNsmKczHgxU1KmCS56hNaC0rMDCYadISMC0/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAnXC2CRPMtNsmKczHgxU1KmCS56hNaC0rMDCYadISMC0/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAnXC2CRPMtNsmKczHgxU1KmCS56hNaC0rMDCYadISMC0/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAnXC2CRPMtNsmKczHgxU1KmCS56hNaC0rMDCYadISMC0/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAnXC2CRPMtNsmKczHgxU1KmCS56hNaC0rMDCYadISMC0/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAnXC2CRPMtNsmKczHgxU1KmCS56hNaC0rMDCYadISMC0/pubinfo", "@graph": [ { "@id": "https://orcid.org/0000-0002-1267-0234", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Tobias Kuhn" } ] }, { "@id": "https://w3id.org/np/RAnXC2CRPMtNsmKczHgxU1KmCS56hNaC0rMDCYadISMC0", "http://purl.org/dc/terms/created": [ { "@value": "2026-07-27T17:07:58.843+02:00", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://purl.org/dc/terms/creator": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ], "http://purl.org/dc/terms/license": [ { "@id": "https://creativecommons.org/publicdomain/zero/1.0/" } ], "http://purl.org/nanopub/x/embeds": [ { "@id": "https://w3id.org/np/RAnXC2CRPMtNsmKczHgxU1KmCS56hNaC0rMDCYadISMC0/get-fair-compendium-claims" } ], "http://purl.org/nanopub/x/wasCreatedAt": [ { "@id": "http://localhost:37373/" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate": [ { "@id": "https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate": [ { "@id": "https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8" }, { "@id": "https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate": [ { "@id": "https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k" } ] }, { "@id": "https://w3id.org/np/RAnXC2CRPMtNsmKczHgxU1KmCS56hNaC0rMDCYadISMC0/sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "Jmf5/KaN2MOs6TpuNNZkmxoOzm1DquLrSpZDGnDU8IB3jyGILpffp+nflY99MPu7xIhbBLCBj71oNsG2/Rl3/ksqRD87LOumW+Dcu9Z/uLo0Yu+ur6cuZzZ/Vrp34b3T3DXrk0tcQzcdzhMbYLXkZFeU6AnedCvf0R6LxmsDAc4=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAnXC2CRPMtNsmKczHgxU1KmCS56hNaC0rMDCYadISMC0" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] } ]