[ { "@id": "https://w3id.org/np/RA0KJear7Y28-EUQKrcTbiSH37ml2IR9sHAP6zZ9VVQj0/assertion", "@graph": [ { "@id": "https://w3id.org/np/RA0KJear7Y28-EUQKrcTbiSH37ml2IR9sHAP6zZ9VVQj0/get-presentations-for-event", "http://purl.org/dc/terms/description": [ { "@value": "Returns all presentations of the given event, with label, date, time, location, and the people involved - the presenter first where known, then the authors - plus the nanopub link, in chronological order. Reads both the http:// and https:// schema.org namespaces." } ], "http://purl.org/dc/terms/license": [ { "@id": "http://www.apache.org/licenses/LICENSE-2.0" } ], "@type": [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get presentations for event" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/type/3952cad1a6d2561f045d33e5e79c03e7264b0a492b8becf6c62656c596cf398c" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "prefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix wd: \nprefix schema: \nprefix schemaold: \nprefix foaf: \nprefix pav: \n\nselect ?presentation ?presentation_label ?date ?time ?location ?people_multi_iri ?people_label_multi ?np (\"^\" as ?np_label) (?np as ?override_target) where {\n {\n select ?np ?presentation ?presentation_label ?startDate ?endDate ?location ?olddate\n (group_concat(distinct ?spk; separator=\" \") as ?spkIris)\n (group_concat(distinct ?spkLabel; separator=\"\\n\") as ?spkNames)\n (group_concat(distinct ?auth; separator=\" \") as ?authIris)\n (group_concat(distinct ?authLabel; separator=\"\\n\") as ?authNames)\n where {\n graph npa:graph {\n ?np npa:hasValidSignatureForPublicKeyHash ?pubkey .\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }\n filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . }\n ?np dct:created ?npdate .\n ?np np:hasAssertion ?a .\n ?np np:hasPublicationInfo ?pi .\n ?np npx:introduces ?presentation .\n }\n {\n select ?presentation (max(?npdate2) as ?latestdate) where {\n graph npa:graph {\n ?np2 npa:hasValidSignatureForPublicKeyHash ?pubkey2 .\n filter not exists { ?npx2 npx:invalidates ?np2 ; npa:hasValidSignatureForPublicKeyHash ?pubkey2 . }\n filter not exists { ?np2 npx:hasNanopubType npx:ExampleNanopub . }\n ?np2 dct:created ?npdate2 .\n ?np2 npx:introduces ?presentation .\n }\n } group by ?presentation\n }\n filter(?npdate = ?latestdate)\n values ?_event_multi_iri {}\n graph ?a {\n ?presentation a wd:Q604733 .\n ?presentation dct:isPartOf ?_event_multi_iri .\n }\n optional { graph ?a { ?presentation rdfs:label ?presentation_label . } }\n optional { graph ?a { ?presentation schema:startDate ?startDateA . } }\n optional { graph ?a { ?presentation schemaold:startDate ?startDateB . } }\n optional { graph ?a { ?presentation schema:endDate ?endDateA . } }\n optional { graph ?a { ?presentation schemaold:endDate ?endDateB . } }\n optional { graph ?a { ?presentation schema:location ?locationA . } }\n optional { graph ?a { ?presentation schemaold:location ?locationB . } }\n optional { graph ?a { ?presentation dct:date ?olddate . } }\n optional {\n graph ?a { ?presentation wd:P823 ?spk . }\n optional { graph ?pi { ?spk foaf:name ?spkName . } }\n bind(coalesce(?spkName, str(?spk)) as ?spkLabel)\n }\n optional {\n graph ?a { ?presentation pav:authoredBy ?auth . }\n filter(!bound(?spk) || str(?auth) != str(?spk))\n optional { graph ?pi { ?auth foaf:name ?authName . } }\n bind(coalesce(?authName, str(?auth)) as ?authLabel)\n }\n bind(coalesce(?startDateA, ?startDateB) as ?startDate)\n bind(coalesce(?endDateA, ?endDateB) as ?endDate)\n bind(coalesce(?locationA, ?locationB) as ?location)\n }\n group by ?np ?presentation ?presentation_label ?startDate ?endDate ?location ?olddate\n }\n bind(coalesce(strbefore(str(?startDate), \"T\"), str(?olddate)) as ?date)\n bind(substr(strafter(str(?startDate), \"T\"), 1, 5) as ?starttime)\n bind(substr(strafter(str(?endDate), \"T\"), 1, 5) as ?endtime)\n bind(coalesce(concat(?starttime, \"\\u2013\", ?endtime), ?starttime) as ?time)\n bind(coalesce(str(?startDate), str(?olddate)) as ?sortkey)\n bind(if(strlen(?spkIris) > 0 && strlen(?authIris) > 0, concat(?spkIris, \" \", ?authIris),\n concat(?spkIris, ?authIris)) as ?people_multi_iri)\n bind(if(strlen(?spkNames) > 0 && strlen(?authNames) > 0, concat(?spkNames, \"\\n\", ?authNames),\n concat(?spkNames, ?authNames)) as ?people_label_multi)\n} order by ?sortkey" } ] } ] }, { "@id": "https://w3id.org/np/RA0KJear7Y28-EUQKrcTbiSH37ml2IR9sHAP6zZ9VVQj0/provenance", "@graph": [ { "@id": "https://w3id.org/np/RA0KJear7Y28-EUQKrcTbiSH37ml2IR9sHAP6zZ9VVQj0/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RA0KJear7Y28-EUQKrcTbiSH37ml2IR9sHAP6zZ9VVQj0/pubinfo", "@graph": [ { "@id": "https://orcid.org/0000-0002-1267-0234", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Tobias Kuhn" } ] }, { "@id": "https://w3id.org/np/RA0KJear7Y28-EUQKrcTbiSH37ml2IR9sHAP6zZ9VVQj0", "http://purl.org/dc/terms/created": [ { "@value": "2026-08-28T11:28:13Z", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://purl.org/dc/terms/creator": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ], "http://purl.org/dc/terms/license": [ { "@id": "https://creativecommons.org/licenses/by/4.0/" } ], "http://purl.org/nanopub/x/embeds": [ { "@id": "https://w3id.org/np/RA0KJear7Y28-EUQKrcTbiSH37ml2IR9sHAP6zZ9VVQj0/get-presentations-for-event" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RAzwVkWqhZhHEGqQyukcR3jyIcLehE5eDSmCDv5yUHs6M" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get presentations for event" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate": [ { "@id": "http://purl.org/np/RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate": [ { "@id": "https://w3id.org/np/RA-N4_kFxcruvBTlo1yJv29E4SLOXsx5KO_th69PprMrA" }, { "@id": "https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8" }, { "@id": "https://w3id.org/np/RARJj78P72NR5edKOnu_f4ePE9NYYuW2m2pM-fEoobMBk" }, { "@id": "https://w3id.org/np/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate": [ { "@id": "https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k" } ] }, { "@id": "https://w3id.org/np/RA0KJear7Y28-EUQKrcTbiSH37ml2IR9sHAP6zZ9VVQj0/sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "OgS3DzpXudtiVuTDwxqhDyvMTVGpPPk1jLXWElPmJ/PKKVwWsJRts/QLAlWFbpr9XlBvc5M+us6v/7lFrTbKKKd5iW/Ivg6qB8PJPYrVf+X5GKI0VwRNB3cBbdvieMpoa1yDryNgWDJwT7ZYHg4hJhAybV7mD9W0QFK0/82B+L4=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RA0KJear7Y28-EUQKrcTbiSH37ml2IR9sHAP6zZ9VVQj0" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RA0KJear7Y28-EUQKrcTbiSH37ml2IR9sHAP6zZ9VVQj0/Head", "@graph": [ { "@id": "https://w3id.org/np/RA0KJear7Y28-EUQKrcTbiSH37ml2IR9sHAP6zZ9VVQj0", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RA0KJear7Y28-EUQKrcTbiSH37ml2IR9sHAP6zZ9VVQj0/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RA0KJear7Y28-EUQKrcTbiSH37ml2IR9sHAP6zZ9VVQj0/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RA0KJear7Y28-EUQKrcTbiSH37ml2IR9sHAP6zZ9VVQj0/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] } ]