[ { "@id": "https://w3id.org/np/RAqitc_T2_z-K4FvGy-U0iPbJIsKz-TODLf2Vok1NHkQ8/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAqitc_T2_z-K4FvGy-U0iPbJIsKz-TODLf2Vok1NHkQ8/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAqitc_T2_z-K4FvGy-U0iPbJIsKz-TODLf2Vok1NHkQ8/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAqitc_T2_z-K4FvGy-U0iPbJIsKz-TODLf2Vok1NHkQ8/get-top-creators-last30d", "http://purl.org/dc/terms/description": [ { "@value": "This query returns the 10 human users who published most nanopublications during the last 30 days. Publishers are resolved via the trust network: only agents with an approved account are counted, and only the nanopublications signed with their own approved public keys. Agents that are introduced as bots or other software agents are excluded." } ], "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 the top-10 human nanopublishers of the last 30 days" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/last30d" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "prefix rdfs: \nprefix np: \nprefix npa: \nprefix npx: \nprefix xsd: \nprefix dct: \nprefix prov: \nprefix foaf: \n\nselect ?user_iri where {\n # count the nanopublications of the last 30 days per signing key:\n {\n select ?pubkey (count(distinct ?np) as ?np_count) where {\n graph npa:graph {\n ?np npa:hasValidSignatureForPublicKey ?pubkey .\n }\n }\n group by ?pubkey\n }\n bind(sha256(?pubkey) as ?pubkey_hash)\n # resolve the keys to their agents via the trust network (approved accounts only):\n {\n select ?user_iri ?pubkey_hash where {\n service {\n graph npa:graph {\n npa:hasCurrentTrustState ?trust_state .\n }\n graph ?trust_state {\n ?account a npa:AccountState ;\n npa:agent ?user_iri ;\n npa:pubkey ?pubkey_hash ;\n npa:trustStatus ?trust_status .\n }\n filter(?trust_status in (npa:loaded, npa:toLoad))\n }\n }\n }\n # exclude agents that are introduced as bots or other software agents:\n {\n select (group_concat(?software_agent_string; separator=' ') as ?software_agents) where {\n service {\n select distinct ?software_agent_string where {\n values ?agent_type { npx:Bot npx:SoftwareAgent prov:SoftwareAgent }\n graph ?agent_graph {\n ?software_agent a ?agent_type .\n }\n bind(concat('<', str(?software_agent), '>') as ?software_agent_string)\n }\n }\n }\n }\n filter(!contains(?software_agents, concat('<', str(?user_iri), '>')))\n}\ngroup by ?user_iri\norder by desc(sum(?np_count))\nlimit 10" } ] } ] }, { "@id": "https://w3id.org/np/RAqitc_T2_z-K4FvGy-U0iPbJIsKz-TODLf2Vok1NHkQ8/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/RAqitc_T2_z-K4FvGy-U0iPbJIsKz-TODLf2Vok1NHkQ8", "http://purl.org/dc/terms/created": [ { "@value": "2026-09-16T05:50:28Z", "@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/licenses/by/4.0/" } ], "http://purl.org/nanopub/x/introduces": [ { "@id": "https://w3id.org/np/RAqitc_T2_z-K4FvGy-U0iPbJIsKz-TODLf2Vok1NHkQ8/get-top-creators-last30d" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RADYMdJR0EUPNxDgT1RbYz75a1quOW8yyycYZ_KIKQr3M" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate": [ { "@id": "https://w3id.org/np/RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate": [ { "@id": "https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8" }, { "@id": "https://w3id.org/np/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw" }, { "@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/RAqitc_T2_z-K4FvGy-U0iPbJIsKz-TODLf2Vok1NHkQ8/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": "q8MiMlWcJ5WLToA8kYyv+0NVrCsNr+VhZlCq32I1axmxwyboJIvr+S7yu1PX0b29hKO1WlLq9O7Xzwtu89QSg0pFFe2y92ch+Wpjz9n1V7JQPi0NieRoC2aCnpFp0BVlI5g8qiwP7yD7YbVzlmilE7heJiMY6vjD/UP5DuTxrWE=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAqitc_T2_z-K4FvGy-U0iPbJIsKz-TODLf2Vok1NHkQ8" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAqitc_T2_z-K4FvGy-U0iPbJIsKz-TODLf2Vok1NHkQ8/Head", "@graph": [ { "@id": "https://w3id.org/np/RAqitc_T2_z-K4FvGy-U0iPbJIsKz-TODLf2Vok1NHkQ8", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAqitc_T2_z-K4FvGy-U0iPbJIsKz-TODLf2Vok1NHkQ8/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAqitc_T2_z-K4FvGy-U0iPbJIsKz-TODLf2Vok1NHkQ8/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAqitc_T2_z-K4FvGy-U0iPbJIsKz-TODLf2Vok1NHkQ8/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] } ]