Matches in Nanopublications for { ?s ?p ?o <https://w3id.org/np/RASCJYIMuvPs1MuCQaS9UcARQJ6VpEk1xm5hAepZRYV7Y/assertion>. }
Showing items 1 to 6 of
6
with 100 items per page.
- get-active-user-count-in-time-period type grlc-query assertion.
- get-active-user-count-in-time-period label "Get active user counts in time period" assertion.
- get-active-user-count-in-time-period description "This query returns the number of active users, separated by whether they are an ORCID or not, for the given time period (start and end date)." assertion.
- get-active-user-count-in-time-period 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 (count(distinct ?userid) as ?userCount) ?isOrcid where { graph npa:graph { ?np npa:hasValidSignatureForPublicKey ?pubkey . ?np npx:signedBy ?userid . ?np dct:created ?date . } filter not exists { graph npa:graph { ?np npa:hasSubIri ?userid . } } bind(substr(str(?date), 1, 10) as ?dateStr) filter(?dateStr >= ?_startDate) filter(?dateStr <= ?_endDate) bind(strstarts(str(?userid), "https://orcid.org/") as ?isOrcid) } group by ?isOrcid order by ?isOrcid" assertion.
- get-active-user-count-in-time-period endpoint full assertion.
- get-active-user-count-in-time-period license LICENSE-2.0 assertion.