@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-presentations-for-event a grlc:grlc-query; dct:description "Returns all presentations of the given event, with label, start and end time, location, speaker (with name), and nanopub link, ordered chronologically."; 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 foaf: prefix nt: prefix schema: prefix schemaold: select ?presentation ?presentation_label ?start ?end ?location ?speaker ?speaker_label ?np (\"^\" as ?np_label) 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 np:hasAssertion ?a . ?np np:hasPublicationInfo ?pi . ?np npx:introduces ?presentation . } values ?_event_multi_iri {} graph ?a { ?presentation a wd:Q604733 . ?presentation dct:isPartOf ?_event_multi_iri . } optional { graph ?a { ?presentation rdfs:label ?presentation_label } } optional { graph ?a { ?presentation schema:startDate ?startNew } } optional { graph ?a { ?presentation schemaold:startDate ?startOld } } optional { graph ?a { ?presentation dct:date ?startLegacy } } optional { graph ?a { ?presentation schema:endDate ?endNew } } optional { graph ?a { ?presentation schemaold:endDate ?endOld } } optional { graph ?a { ?presentation schema:location ?locNew } } optional { graph ?a { ?presentation schemaold:location ?locOld } } optional { graph ?a { ?presentation wd:P823 ?speaker } } optional { graph ?pi { ?speaker foaf:name ?speakerName } } optional { graph ?pi { ?speaker nt:hasLabelFromApi ?speakerApiName } } bind(coalesce(?startNew, ?startOld, ?startLegacy) as ?start) bind(coalesce(?endNew, ?endOld) as ?end) bind(coalesce(?locNew, ?locOld) as ?location) bind(coalesce(?speakerName, ?speakerApiName) as ?speaker_label) } order by coalesce(str(?start), \"9999\") ?presentation_label""" . } 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-28T07:25:37Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-presentations-for-event; rdfs:label "Get presentations for event"; prov:wasDerivedFrom ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "Oit+OpqsLvdaZytdlp8xxBZKCBXqdXZ5PKfiLxEdD4VF7KmhzyhGWiJfiDT48DJXY1NmNhrc4l1vK5o/fHIyzwoIn6diIJUSDTweGZgBT1y8rXFggDnUMzUWJw6g5vdpYMWvJJVn5A9othVU+0siSqjUUb4hqfVqhDEqbj6imSg="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }