Get agenda items for event
type: Nanopublication
has assertion: assertion
has provenance: provenance
has publication info: pubinfo
created: 2026-08-19T14:25:47Z
creator: Tobias Kuhn
license: https://creativecommons.org/licenses/by/4.0/
embeds: Get agenda items for event

Get agenda items for event
type: grlc-query
description: Returns all agenda items belonging to the given event, with label, description, related spaces, links, creator, and nanopub link. Only the latest non-invalidated nanopub per agenda item URI is shown, so overriding nanopublications replace earlier versions; items keep their original agenda position.
license: LICENSE-2.0
sparql: 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 schema: <http://schema.org/> prefix gen: <https://w3id.org/kpxl/gen/terms/> select ?item ?item_label ?description (group_concat(distinct str(?space); separator=" ") as ?spaces_multi_iri) (group_concat(distinct concat('link'); separator=", ") as ?link) ?creator ?np ("^" as ?np_label) (?np as ?override_target) where { graph npa:graph { ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . } ?np dct:created ?npdate . ?np dct:creator ?creator . ?np np:hasAssertion ?a . ?np npx:introduces ?item . } { select ?item (max(?npdate2) as ?latestdate) (min(?npdate2) as ?firstdate) where { graph npa:graph { ?np2 npa:hasValidSignatureForPublicKeyHash ?pubkey2 . filter not exists { ?npx2 npx:invalidates ?np2 ; npa:hasValidSignatureForPublicKeyHash ?pubkey2 . } filter not exists { ?np2 npx:hasNanopubType npx:ExampleNanopub . } ?np2 dct:created ?npdate2 . ?np2 npx:introduces ?item . } } group by ?item } filter(?npdate = ?latestdate) values ?_event_multi_iri {} graph ?a { ?item a gen:AgendaItem . ?item dct:isPartOf ?_event_multi_iri . optional { ?item rdfs:label ?item_label . } optional { ?item dct:description ?description . } optional { ?item schema:about ?space . } optional { ?item rdfs:seeAlso ?link . } } } group by ?item ?item_label ?description ?creator ?np ?firstdate order by asc(?firstdate)

sig
has algorithm: RSA
signed by: Tobias Kuhn