Full identifier: https://w3id.org/np/RAJli_clBRLj-0p5gSCevnwa17tznKXDgd45UUWgsp1ew/get-planned-event-attendances
Assigned to 1 class:
Described in 1 nanopublication:
| Nanopublication | Part | Subject | Predicate | Object | Published By | Published On |
|---|---|---|---|---|---|---|
|
links a nanopublication to its pubinfo
http://www.nanopub.org/nschema#hasPublicationInfo
pubinfo
|
get-planned-event-attendances
|
Get planned event attendances - This query returns the events the given user plans to attend.
|
Tobias Kuhn
|
2026-02-24T12:49:38.482Z
|
||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-planned-event-attendances
|
Tobias Kuhn
|
2026-02-24T12:49:38.482Z
|
|||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-planned-event-attendances
|
Tobias Kuhn
|
2026-02-24T12:49:06.901Z
|
|||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-planned-event-attendances
|
Get planned event attendances
|
Tobias Kuhn
|
2026-02-24T12:49:06.901Z
|
||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-planned-event-attendances
|
Tobias Kuhn
|
2026-02-24T12:49:06.901Z
|
|||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-planned-event-attendances
|
This query returns the events the given user plans to attend.
|
Tobias Kuhn
|
2026-02-24T12:49:06.901Z
|
||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-planned-event-attendances
|
Tobias Kuhn
|
2026-02-24T12:49:06.901Z
|
|||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-planned-event-attendances
|
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 gen: <https://w3id.org/kpxl/gen/terms/>
prefix schema: <http://schema.org/>
select distinct ?event ?event_label ?date ?np ("^" as ?np_label) where {
graph npa:graph {
?np npx:hasNanopubType gen:plansToAttend .
?np npa:hasValidSignatureForPublicKeyHash ?pubkey .
filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }
?np npx:signedBy ?_user_iri .
?np np:hasAssertion ?a .
}
graph ?a {
?_user_iri gen:plansToAttend ?event .
optional { ?event rdfs:label ?event_label }
optional { ?event dct:date ?date1 }
}
optional {
bind(iri(concat("https://w3id.org/np/l/nanopub-query-1.1/repo/type/", sha256(str(gen:Space)))) as ?space_repo)
service ?space_repo {
graph npa:graph {
?nps npx:introduces ?event .
?nps npa:hasValidSignatureForPublicKeyHash ?pks .
filter not exists { ?npsx npx:invalidates ?nps ; npa:hasValidSignatureForPublicKeyHash ?pks . }
?nps np:hasAssertion ?as .
}
graph ?as {
?event schema:startDate ?datetime .
bind(xsd:date(substr(str(?datetime), 0, 11)) as ?date2)
}
}
}
bind(coalesce(?date1, ?date2) as ?date)
} order by desc(?date)
|
Tobias Kuhn
|
2026-02-24T12:49:06.901Z
|
||
|
links a nanopublication to its pubinfo
http://www.nanopub.org/nschema#hasPublicationInfo
pubinfo
|
get-planned-event-attendances
|
Tobias Kuhn
|
2026-02-24T12:49:06.901Z
|