[ { "@id": "https://w3id.org/np/RAcc10UGVZy8dMcf-5WPw9xIsussvuD5lK39M2eBw8riY/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/RAcc10UGVZy8dMcf-5WPw9xIsussvuD5lK39M2eBw8riY", "http://purl.org/dc/terms/created": [ { "@value": "2026-11-12T08:28:07.749+01: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/licenses/by/4.0/" } ], "http://purl.org/nanopub/x/embeds": [ { "@id": "https://w3id.org/np/RAcc10UGVZy8dMcf-5WPw9xIsussvuD5lK39M2eBw8riY/get-top-software-agent-nanopublishers" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RAitUNrvDueL4UXsk7m2nRA9ixfiilkYb8gPkXfHDKp-M" } ], "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/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/RAcc10UGVZy8dMcf-5WPw9xIsussvuD5lK39M2eBw8riY/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": "Oji1iKKopMF9EF1+9jQi8euVTsCu+dqyNsiA0/jk8dTANIr02eGaCe16qf/GXkqjUkHP/d4075fsopbLshHs8lYkLaTA5JWsVJAsOteUHg9v7zJDPt2UIMtqHYuEqDsFSHiVV670kvF30A+BpAzpZdGLI7BOnd06YpsCqyd9jnw=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAcc10UGVZy8dMcf-5WPw9xIsussvuD5lK39M2eBw8riY" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAcc10UGVZy8dMcf-5WPw9xIsussvuD5lK39M2eBw8riY/Head", "@graph": [ { "@id": "https://w3id.org/np/RAcc10UGVZy8dMcf-5WPw9xIsussvuD5lK39M2eBw8riY", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAcc10UGVZy8dMcf-5WPw9xIsussvuD5lK39M2eBw8riY/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAcc10UGVZy8dMcf-5WPw9xIsussvuD5lK39M2eBw8riY/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAcc10UGVZy8dMcf-5WPw9xIsussvuD5lK39M2eBw8riY/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAcc10UGVZy8dMcf-5WPw9xIsussvuD5lK39M2eBw8riY/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAcc10UGVZy8dMcf-5WPw9xIsussvuD5lK39M2eBw8riY/get-top-software-agent-nanopublishers", "http://purl.org/dc/terms/description": [ { "@value": "This query returns the 10 software agents that published most nanopublications during the last 90 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 a software agent if it is introduced as a bot or other software agent." } ], "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 software agent nanopublishers of the last 90 days" } ], "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 npa: \nprefix npx: \nprefix dct: \nprefix xsd: \nprefix prov: \n\nselect ?user_iri where {\n # resolve the signing 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 # keep only agents that are introduced as bots or other software agents:\n {\n select distinct ?user_iri where {\n values ?agent_type { npx:Bot npx:SoftwareAgent prov:SoftwareAgent }\n graph ?agent_graph {\n ?user_iri a ?agent_type .\n }\n }\n }\n # count their nanopublications of the last 90 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 dct:created ?date .\n filter(?date > now() - \"P90D\"^^xsd:dayTimeDuration)\n }\n }\n group by ?pubkey\n }\n filter(sha256(?pubkey) = ?pubkey_hash)\n}\ngroup by ?user_iri\norder by desc(sum(?np_count))\nlimit 10" } ] } ] }, { "@id": "https://w3id.org/np/RAcc10UGVZy8dMcf-5WPw9xIsussvuD5lK39M2eBw8riY/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAcc10UGVZy8dMcf-5WPw9xIsussvuD5lK39M2eBw8riY/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] } ]