[ { "@id": "https://w3id.org/np/RAsn9MZVmu3xLIdXHrTe6JWCX7SLw5tyUQW1bnAOVEw6U/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAsn9MZVmu3xLIdXHrTe6JWCX7SLw5tyUQW1bnAOVEw6U/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAsn9MZVmu3xLIdXHrTe6JWCX7SLw5tyUQW1bnAOVEw6U/Head", "@graph": [ { "@id": "https://w3id.org/np/RAsn9MZVmu3xLIdXHrTe6JWCX7SLw5tyUQW1bnAOVEw6U", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAsn9MZVmu3xLIdXHrTe6JWCX7SLw5tyUQW1bnAOVEw6U/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAsn9MZVmu3xLIdXHrTe6JWCX7SLw5tyUQW1bnAOVEw6U/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAsn9MZVmu3xLIdXHrTe6JWCX7SLw5tyUQW1bnAOVEw6U/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAsn9MZVmu3xLIdXHrTe6JWCX7SLw5tyUQW1bnAOVEw6U/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAsn9MZVmu3xLIdXHrTe6JWCX7SLw5tyUQW1bnAOVEw6U/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. An agent counts as human only if it is identified by an ORCID iD and is not introduced as a bot or other software agent; agents whose kind is unknown are left out." } ], "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 # only agents known to be human, i.e. identified by an ORCID iD:\n filter(strstarts(str(?user_iri), \"https://orcid.org/\") || strstarts(str(?user_iri), \"http://orcid.org/\"))\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/RAsn9MZVmu3xLIdXHrTe6JWCX7SLw5tyUQW1bnAOVEw6U/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/RAsn9MZVmu3xLIdXHrTe6JWCX7SLw5tyUQW1bnAOVEw6U", "http://purl.org/dc/terms/created": [ { "@value": "2026-11-09T13:37:03Z", "@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/RAsn9MZVmu3xLIdXHrTe6JWCX7SLw5tyUQW1bnAOVEw6U/get-top-creators-last30d" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RAqitc_T2_z-K4FvGy-U0iPbJIsKz-TODLf2Vok1NHkQ8" } ], "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/RAsn9MZVmu3xLIdXHrTe6JWCX7SLw5tyUQW1bnAOVEw6U/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": "A7u3QqtKSF7C0R1OfK/QxbH1kWQW1EM6/Mma0s6/9OUTDN5vZhiS+JvOuwqQkr1vKuRMHunPNAFG0YY59wKDKgxMjx0VCvffy99OhX6Gdt8TLi28dJiXyDz9/BRhw3OQFteEGJVeBfZ3Wk54Xd8o1/o/kGuir4L4K1s3a0UJhAM=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAsn9MZVmu3xLIdXHrTe6JWCX7SLw5tyUQW1bnAOVEw6U" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] } ]