@prefix this: . @prefix sub: . @prefix np: . @prefix grlc: . @prefix dct: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix ns1: . @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-presentations-for-event a grlc:grlc-query; dct:description "Returns all presentations of the given event, with label, date, time, location, presenter, and nanopub link. Only the latest non-invalidated nanopub per presentation URI is shown, so overriding nanopublications replace earlier versions."; dct:license ; rdfs:label "Get presentations for event"; grlc:endpoint ; grlc:sparql """prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix wd: prefix schema: select ?presentation ?presentation_label ?date ?time ?location ?speaker ?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 np:hasAssertion ?a . ?np npx:introduces ?presentation . } { select ?presentation (max(?npdate2) as ?latestdate) 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 ?presentation . } } group by ?presentation } filter(?npdate = ?latestdate) values ?_event_multi_iri {} graph ?a { ?presentation a wd:Q604733 . ?presentation dct:isPartOf ?_event_multi_iri . ?presentation wd:P823 ?speaker . } optional { graph ?a { ?presentation rdfs:label ?presentation_label . } } optional { graph ?a { ?presentation dct:date ?olddate . } } optional { graph ?a { ?presentation schema:startDate ?startDate . } } optional { graph ?a { ?presentation schema:endDate ?endDate . } } optional { graph ?a { ?presentation schema:location ?location . } } bind(coalesce(strbefore(str(?startDate), \"T\"), str(?olddate)) as ?date) bind(substr(strafter(str(?startDate), \"T\"), 1, 5) as ?starttime) bind(substr(strafter(str(?endDate), \"T\"), 1, 5) as ?endtime) bind(coalesce(concat(?starttime, \"\\u2013\", ?endtime), ?starttime) as ?time) bind(coalesce(str(?startDate), str(?olddate)) as ?sortkey) } order by desc(?sortkey)""" . } 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:15:40Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-presentations-for-event; npx:supersedes ; nt:wasCreatedFromProvenanceTemplate ns1:RAcm8OurwUk15WOgBM9wySo-T3a5h6as4K8YR5MBrrxUc; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "pq6CBAWkP4lLQd/BvHlDeER2wlgD3UVRNoHeOknazA4sarl3DpIND0OOY2pXOBVXxqWHPs5sDHJJTn0oGmAS0lwDPlGa96/+BftbMwwEPGF2A5nKQ5K91JPEbRkrxiQ4y6gnWjlUS58DbIL+INNpbnwB3d69XB7AuRY17WWy8zM="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }