[ { "@id": "https://w3id.org/np/RAuQwpHEb-wdxwXbDICg1HECtTmCUbM77VY8QNP9teu68/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/RAuQwpHEb-wdxwXbDICg1HECtTmCUbM77VY8QNP9teu68", "http://purl.org/dc/terms/created": [ { "@value": "2026-03-19T09:36:53.791Z", "@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/RAuQwpHEb-wdxwXbDICg1HECtTmCUbM77VY8QNP9teu68/get-weekly-active-human-user-count" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RAWuL4-SNVJ3J0M-A45D0wOwMgdZjOCUMeJGnzTWlmZv0" } ], "http://purl.org/nanopub/x/wasCreatedAt": [ { "@id": "https://nanodash.knowledgepixels.com/" } ], "http://www.w3.org/ns/prov#wasDerivedFrom": [ { "@id": "https://w3id.org/np/RAqLNf0-hUqFK9oAURrkWtF_AU27-u4unk5LJObU-U04s" } ], "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/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8" }, { "@id": "https://w3id.org/np/RARW4MsFkHuwjycNElvEVtuMjpf4yWDL10-0C5l2MqqRQ" }, { "@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/RAuQwpHEb-wdxwXbDICg1HECtTmCUbM77VY8QNP9teu68/sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "5104QmILa1BwuWYgHczhtksgJaKmDu633jicJcs1r7ep8WkvIf7nlQksMd6jlxouDLb6GqIs4Bq3AaIUmVl8Q7AbtR/LT9kCobRBbDOemqSekqV4NOd3EUE+Q8Vk77rNVy7DAroELbldsg72GMW8VemGuLXM3Igun31PJqH/JKM=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAuQwpHEb-wdxwXbDICg1HECtTmCUbM77VY8QNP9teu68" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAuQwpHEb-wdxwXbDICg1HECtTmCUbM77VY8QNP9teu68/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAuQwpHEb-wdxwXbDICg1HECtTmCUbM77VY8QNP9teu68/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAuQwpHEb-wdxwXbDICg1HECtTmCUbM77VY8QNP9teu68/Head", "@graph": [ { "@id": "https://w3id.org/np/RAuQwpHEb-wdxwXbDICg1HECtTmCUbM77VY8QNP9teu68", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAuQwpHEb-wdxwXbDICg1HECtTmCUbM77VY8QNP9teu68/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAuQwpHEb-wdxwXbDICg1HECtTmCUbM77VY8QNP9teu68/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAuQwpHEb-wdxwXbDICg1HECtTmCUbM77VY8QNP9teu68/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAuQwpHEb-wdxwXbDICg1HECtTmCUbM77VY8QNP9teu68/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAuQwpHEb-wdxwXbDICg1HECtTmCUbM77VY8QNP9teu68/get-weekly-active-human-user-count", "http://purl.org/dc/terms/description": [ { "@value": "Returns the number of active human users (with ORCID) 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 active human 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 rdfs: \r\nprefix np: \r\nprefix npa: \r\nprefix npx: \r\nprefix xsd: \r\nprefix dct: \r\nprefix prov: \r\nprefix foaf: \r\n\r\nselect ?week (substr(str(min(?date)), 0, 11) as ?firstday) (count(distinct ?userid) as ?usercount) where {\r\n graph npa:graph {\r\n ?np npa:hasValidSignatureForPublicKey ?pubkey .\r\n ?np npx:signedBy ?userid .\r\n ?np dct:created ?date .\r\n }\r\n filter(strstarts(str(?userid), \"https://orcid.org/\"))\r\n filter(?userid != )\r\n filter(?userid != )\r\n\r\n bind(if(month(?date) <= 2, year(?date) - 1, year(?date)) as ?y)\r\n bind(if(month(?date) <= 2, month(?date) + 9, month(?date) - 3) as ?m)\r\n bind(365*?y + xsd:integer(?y/4) - xsd:integer(?y/100) + xsd:integer(?y/400) + xsd:integer((153*?m + 2)/5) + day(?date) as ?daynum)\r\n bind(?daynum + 1 - xsd:integer((?daynum + 1) / 7) * 7 as ?dow)\r\n bind(xsd:integer((?daynum - ?dow) / 7) as ?week)\r\n}\r\ngroup by ?week\r\norder by desc(?week)" } ] } ] } ]