[ { "@id": "https://w3id.org/np/RADVP6aiUj4NuMLlhhZNmfr71Z6IMY6kVZ6YW5jIi5u2o/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/RADVP6aiUj4NuMLlhhZNmfr71Z6IMY6kVZ6YW5jIi5u2o", "http://purl.org/dc/terms/created": [ { "@value": "2025-07-27T09:29:37.147Z", "@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/RADVP6aiUj4NuMLlhhZNmfr71Z6IMY6kVZ6YW5jIi5u2o/get-quarterly-active-organic-user-count" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RAxbzOjj7pF5ltM_Khyf4ZgGmmi_oszSLlCbeabDWe50o" } ], "http://purl.org/nanopub/x/wasCreatedAt": [ { "@id": "https://nanodash.knowledgepixels.com/" } ], "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/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/RADVP6aiUj4NuMLlhhZNmfr71Z6IMY6kVZ6YW5jIi5u2o/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": "N36DMG2zcI4/kOy66yC0PlwWyZKDmAFHE9ej9jo2aqrQbUWqjbzQ2rhnToq4uGOo3d7lfE+75312HYHKQmAr5opx4YmkJZ4JefPpqE/NwLYWAuaKlceUlscULy+axNOrwiRLuccRl6NvW+o0a7W500KGbajMEjSW9IjLkj9Ex68=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RADVP6aiUj4NuMLlhhZNmfr71Z6IMY6kVZ6YW5jIi5u2o" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RADVP6aiUj4NuMLlhhZNmfr71Z6IMY6kVZ6YW5jIi5u2o/assertion", "@graph": [ { "@id": "https://w3id.org/np/RADVP6aiUj4NuMLlhhZNmfr71Z6IMY6kVZ6YW5jIi5u2o/get-quarterly-active-organic-user-count", "http://purl.org/dc/terms/description": [ { "@value": "Returns the number of active users per quarter since 2022. Two sequences of non-organic acquisition (as part of university course) are filtered 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 quarterly active organic 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 ?quarter (count(distinct ?userid) as ?usercount) where {\r\n { graph npa:graph {\r\n ?np npa:hasValidSignatureForPublicKey ?pubkey .\r\n ?np dct:creator ?userid .\r\n ?np dct:created ?date .\r\n } }\r\n union\r\n {\r\n graph npa:graph {\r\n ?np npa:hasValidSignatureForPublicKey ?pubkey .\r\n ?np np:hasAssertion ?assertion .\r\n ?np np:hasProvenance ?prov .\r\n ?np dct:created ?date .\r\n }\r\n graph ?prov {\r\n ?assertion prov:wasAttributedTo ?userid .\r\n }\r\n }\r\n filter not exists {\r\n graph npa:graph { ?np npa:hasSubIri ?userid . }\r\n }\r\n filter(str(?date) > \"2022\")\r\n filter(str(?date) < \"2023-10-03\" || str(?date) > \"2023-10-12\")\r\n filter(str(?date) < \"2024-09-27\" || str(?date) > \"2024-10-07\")\r\n bind(substr(str(?date), 0, 8) as ?month)\r\n bind(replace(?month, \"-0[1-3]$\", \"-Q1\") as ?quarter_temp1)\r\n bind(replace(?quarter_temp1, \"-0[4-6]$\", \"-Q2\") as ?quarter_temp2)\r\n bind(replace(?quarter_temp2, \"-0[7-9]$\", \"-Q3\") as ?quarter_temp3)\r\n bind(replace(?quarter_temp3, \"-1[0-9]$\", \"-Q4\") as ?quarter)\r\n}\r\ngroup by ?quarter\r\norder by desc(?quarter)" } ] } ] }, { "@id": "https://w3id.org/np/RADVP6aiUj4NuMLlhhZNmfr71Z6IMY6kVZ6YW5jIi5u2o/Head", "@graph": [ { "@id": "https://w3id.org/np/RADVP6aiUj4NuMLlhhZNmfr71Z6IMY6kVZ6YW5jIi5u2o", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RADVP6aiUj4NuMLlhhZNmfr71Z6IMY6kVZ6YW5jIi5u2o/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RADVP6aiUj4NuMLlhhZNmfr71Z6IMY6kVZ6YW5jIi5u2o/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RADVP6aiUj4NuMLlhhZNmfr71Z6IMY6kVZ6YW5jIi5u2o/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RADVP6aiUj4NuMLlhhZNmfr71Z6IMY6kVZ6YW5jIi5u2o/provenance", "@graph": [ { "@id": "https://w3id.org/np/RADVP6aiUj4NuMLlhhZNmfr71Z6IMY6kVZ6YW5jIi5u2o/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] } ]