[ { "@id": "https://w3id.org/np/RACukHmzuKKvxudElenc0kX12E4umi9ExirfUVBXvVD3c/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/RACukHmzuKKvxudElenc0kX12E4umi9ExirfUVBXvVD3c", "http://purl.org/dc/terms/created": [ { "@value": "2026-03-19T09:44:12Z", "@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/RACukHmzuKKvxudElenc0kX12E4umi9ExirfUVBXvVD3c/get-weekly-new-user-count" } ], "http://www.w3.org/ns/prov#wasDerivedFrom": [ { "@id": "https://w3id.org/np/RAuQwpHEb-wdxwXbDICg1HECtTmCUbM77VY8QNP9teu68" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate": [ { "@id": "http://purl.org/np/RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate": [ { "@id": "https://w3id.org/np/RA0J4vUn_dekg-U1kK3AOEt02p9mT2WO03uGxLDec1jLw" }, { "@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/RACukHmzuKKvxudElenc0kX12E4umi9ExirfUVBXvVD3c/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": "M/p9gTpcndCgQRYX16rkEN7qtwqqYl/qzAhC9zkQFagXlihEfSiJH+9BO6Y/BsFPW8iOK767ldSa72fuY7IWxPqEGjhvSpEcTSF+RzmMr9n6Dqsf7orwdFetxazNurgZ13pE5DO6GYDIWrBwZpdFVVcL5pxUwRS1u0AMzUVmzpQ=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RACukHmzuKKvxudElenc0kX12E4umi9ExirfUVBXvVD3c" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RACukHmzuKKvxudElenc0kX12E4umi9ExirfUVBXvVD3c/assertion", "@graph": [ { "@id": "https://w3id.org/np/RACukHmzuKKvxudElenc0kX12E4umi9ExirfUVBXvVD3c/get-weekly-new-user-count", "http://purl.org/dc/terms/description": [ { "@value": "Returns the number of human users who published their first introduction nanopub per week (Mon-Sun)." } ], "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 weekly new user count" } ], "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 np: \nprefix npa: \nprefix npx: \nprefix xsd: \nprefix dct: \n\nselect ?week (substr(str(min(?firstdate)), 0, 11) as ?firstday) (count(distinct ?userid) as ?newusercount) where {\n {\n select ?userid (min(?date) as ?firstdate) where {\n graph npa:graph {\n ?np npa:hasValidSignatureForPublicKey ?pubkey .\n ?np npx:signedBy ?userid .\n ?np npx:hasNanopubType npx:declaredBy .\n ?np dct:created ?date .\n }\n filter(strstarts(str(?userid), \"https://orcid.org/\"))\n filter(?userid != )\n filter(?userid != )\n }\n group by ?userid\n }\n\n bind(if(month(?firstdate) <= 2, year(?firstdate) - 1, year(?firstdate)) as ?y)\n bind(if(month(?firstdate) <= 2, month(?firstdate) + 9, month(?firstdate) - 3) as ?m)\n bind(365*?y + xsd:integer(?y/4) - xsd:integer(?y/100) + xsd:integer(?y/400) + xsd:integer((153*?m + 2)/5) + day(?firstdate) as ?daynum)\n bind(?daynum + 1 - xsd:integer((?daynum + 1) / 7) * 7 as ?dow)\n bind(xsd:integer((?daynum - ?dow) / 7) as ?week)\n}\ngroup by ?week\norder by desc(?week)" } ] } ] }, { "@id": "https://w3id.org/np/RACukHmzuKKvxudElenc0kX12E4umi9ExirfUVBXvVD3c/provenance", "@graph": [ { "@id": "https://w3id.org/np/RACukHmzuKKvxudElenc0kX12E4umi9ExirfUVBXvVD3c/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RACukHmzuKKvxudElenc0kX12E4umi9ExirfUVBXvVD3c/Head", "@graph": [ { "@id": "https://w3id.org/np/RACukHmzuKKvxudElenc0kX12E4umi9ExirfUVBXvVD3c", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RACukHmzuKKvxudElenc0kX12E4umi9ExirfUVBXvVD3c/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RACukHmzuKKvxudElenc0kX12E4umi9ExirfUVBXvVD3c/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RACukHmzuKKvxudElenc0kX12E4umi9ExirfUVBXvVD3c/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] } ]