https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8/Head
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8
http://www.nanopub.org/nschema#hasAssertion
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8/assertion
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8
http://www.nanopub.org/nschema#hasProvenance
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8/provenance
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8
http://www.nanopub.org/nschema#hasPublicationInfo
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8/pubinfo
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.nanopub.org/nschema#Nanopublication
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8/assertion
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8/get-weekly-active-user-count
http://purl.org/dc/terms/description
Returns the number of active users per week (Mon-Sun).
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8/get-weekly-active-user-count
http://purl.org/dc/terms/license
http://www.apache.org/licenses/LICENSE-2.0
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8/get-weekly-active-user-count
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
https://w3id.org/kpxl/grlc/grlc-query
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8/get-weekly-active-user-count
http://www.w3.org/2000/01/rdf-schema#label
Get weekly active user count
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8/get-weekly-active-user-count
https://w3id.org/kpxl/grlc/endpoint
https://w3id.org/np/l/nanopub-query-1.1/repo/full
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8/get-weekly-active-user-count
https://w3id.org/kpxl/grlc/sparql
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix np: <http://www.nanopub.org/nschema#>
prefix npa: <http://purl.org/nanopub/admin/>
prefix npx: <http://purl.org/nanopub/x/>
prefix xsd: <http://www.w3.org/2001/XMLSchema#>
prefix dct: <http://purl.org/dc/terms/>
prefix prov: <http://www.w3.org/ns/prov#>
prefix foaf: <http://xmlns.com/foaf/0.1/>
select ?week (substr(str(min(?date)), 0, 11) as ?firstday) (count(distinct ?userid) as ?usercount) where {
{ graph npa:graph {
?np npa:hasValidSignatureForPublicKey ?pubkey .
?np dct:creator ?userid .
?np dct:created ?date .
} }
union
{
graph npa:graph {
?np npa:hasValidSignatureForPublicKey ?pubkey .
?np np:hasAssertion ?assertion .
?np np:hasProvenance ?prov .
?np dct:created ?date .
?np dct:creator ?tool .
values ?tool { <https://fip-wizard.ds-wizard.org/wizard> }
}
graph ?prov {
?assertion prov:wasAttributedTo ?userid .
}
}
filter not exists {
graph npa:graph { ?np npa:hasSubIri ?userid . }
}
bind(if(month(?date) <= 2, year(?date) - 1, year(?date)) as ?y)
bind(if(month(?date) <= 2, month(?date) + 9, month(?date) - 3) as ?m)
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)
bind(?daynum + 1 - xsd:integer((?daynum + 1) / 7) * 7 as ?dow)
bind(xsd:integer((?daynum - ?dow) / 7) as ?week)
}
group by ?week
order by desc(?week)
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8/provenance
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8/assertion
http://www.w3.org/ns/prov#wasAttributedTo
https://orcid.org/0000-0002-1267-0234
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8/pubinfo
https://orcid.org/0000-0002-1267-0234
http://xmlns.com/foaf/0.1/name
Tobias Kuhn
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8
http://purl.org/dc/terms/created
2026-03-19T09:29:33Z
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8
http://purl.org/dc/terms/creator
https://orcid.org/0000-0002-1267-0234
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8
http://purl.org/dc/terms/license
https://creativecommons.org/licenses/by/4.0/
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8
http://purl.org/nanopub/x/embeds
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8/get-weekly-active-user-count
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8
http://purl.org/nanopub/x/supersedes
https://w3id.org/np/RABPc0UAibVoesWzEbNBJIr193Zs9mR04DRWjEDXTWLDE
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8
https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate
http://purl.org/np/RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8
https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate
https://w3id.org/np/RA0J4vUn_dekg-U1kK3AOEt02p9mT2WO03uGxLDec1jLw
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8
https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate
https://w3id.org/np/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8
https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate
https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8
https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate
https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8/sig
http://purl.org/nanopub/x/hasAlgorithm
RSA
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8/sig
http://purl.org/nanopub/x/hasPublicKey
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8/sig
http://purl.org/nanopub/x/hasSignature
eVoFHlaZPj7neTsofU9xTZbRy/lUQAsQ/wrNaaPdZ0oQ3filwS+ctVF+igL5uBfOyXJ5ZYdAqCzfk6qpk+fERCvKDENeTM+jJeoNy4pQSRG+X72dLh7Ouz9kEhH2UMgJObEvkuHrlXa9IHuz0NwOZy81hY3NM+6r3RcaQBSVRrQ=
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8/sig
http://purl.org/nanopub/x/hasSignatureTarget
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8
https://w3id.org/np/RAKOqSZjnWlrD9eRQRcL2T53RyPZ3D6qCXZaz9ef-Wfl8/sig
http://purl.org/nanopub/x/signedBy
https://orcid.org/0000-0002-1267-0234