Full identifier: https://w3id.org/np/RAYtPECxCxpoEIAQuB0WJtDMw7TQjZFLt938It2oo6IgQ/get-active-users-last-6m
Assigned to 1 class:
Nanopublication | Part | Subject | Predicate | Object | Published By | Published On |
---|---|---|---|---|---|---|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-active-users-last-6m
|
Tobias Kuhn
|
2025-09-01T07:50:01.491Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-active-users-last-6m
|
Get active users of last 6 months
|
Tobias Kuhn
|
2025-09-01T07:50:01.491Z
|
||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-active-users-last-6m
|
Tobias Kuhn
|
2025-09-01T07:50:01.491Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-active-users-last-6m
|
This query returns the user IDs of all active users of the last 6 months.
|
Tobias Kuhn
|
2025-09-01T07:50:01.491Z
|
||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-active-users-last-6m
|
Tobias Kuhn
|
2025-09-01T07:50:01.491Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-active-users-last-6m
|
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix dct: <http://purl.org/dc/terms/>
prefix np: <http://www.nanopub.org/nschema#>
prefix npa: <http://purl.org/nanopub/admin/>
prefix npx: <http://purl.org/nanopub/x/>
prefix prov: <http://www.w3.org/ns/prov#>
select distinct ?user where {
{ graph npa:graph {
bind(now() - "P6M"^^xsd:duration as ?sixmonthsago)
?np dct:creator ?user .
?np dct:created ?date .
filter(?date > ?sixmonthsago)
} }
union
{
graph npa:graph {
bind(now() - "P6M"^^xsd:duration as ?sixmonthsago)
?np np:hasAssertion ?assertion .
?np np:hasProvenance ?prov .
?np dct:created ?date .
filter(?date > ?sixmonthsago)
}
graph ?prov {
?assertion prov:wasAttributedTo ?user .
}
}
filter not exists {
graph npa:graph { ?np npa:hasSubIri ?user . }
}
} order by ?user
|
Tobias Kuhn
|
2025-09-01T07:50:01.491Z
|
||
links a nanopublication to its pubinfo
http://www.nanopub.org/nschema#hasPublicationInfo
pubinfo
|
get-active-users-last-6m
|
Tobias Kuhn
|
2025-09-01T07:50:01.491Z
|