Matches in Nanopublications for { <https://w3id.org/np/RA1Tz7srP6NDcaA0-cAl4nY1rASWmcFrhgxlVtwq_DLXY#get-monthly-active-user-count> ?p ?o ?g. }
Showing items 1 to 6 of
6
with 100 items per page.
- get-monthly-active-user-count type grlc-query assertion.
- get-monthly-active-user-count label "Get monthly active user count" assertion.
- get-monthly-active-user-count description "Returns the number of active users per month." assertion.
- get-monthly-active-user-count 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 ?month (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 . } graph ?prov { ?assertion prov:wasAttributedTo ?userid . } } filter not exists { graph npa:graph { ?np npa:hasSubIri ?userid . } } bind(substr(str(?date), 0, 8) as ?month) } group by ?month order by desc(?month)" assertion.
- get-monthly-active-user-count endpoint full assertion.
- get-monthly-active-user-count license LICENSE-2.0 assertion.