@prefix this: . @prefix sub: . @prefix np: . @prefix grlc: . @prefix dct: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix prov: . @prefix foaf: . sub:Head { this: a np:Nanopublication; np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo . } sub:assertion { sub:get-agenda-items-for-event a grlc:grlc-query; dct: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."; dct:license ; rdfs:label "Get agenda items for event"; grlc:endpoint ; grlc:sparql """prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix schema: prefix gen: 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)""" . } sub:provenance { sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 . } sub:pubinfo { orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" . this: dct:created "2026-08-19T14:25:47Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-agenda-items-for-event; npx:supersedes ; rdfs:label "Get agenda items for event"; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "CkXcYS2yk07bdRyA4T2FBaC5v+NLHUdxs7SK0/b72j/ov2Dx4x0JUXmgRaZ0nf9XZNAYPuF06QEcdCNqD44j/1UGm7TgS3URvBJMzPRWIzOEumbXtae1wzhG/4kNKjqJfB+3P0PLAfT7l2aq91WHbrH4eJ3jTYBlrdXc3s/tBME="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }