. . . . "This query returns the future events the given user plans to attend." . . . "Get future planned event attendances" . . "prefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix gen: \nprefix schema: \nprefix xsd: \n\nselect distinct ?event ?event_label ?date ?np (\"^\" as ?np_label) where {\n graph npa:graph {\n ?np npx:hasNanopubType gen:plansToAttend .\n ?np npa:hasValidSignatureForPublicKeyHash ?pubkey .\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }\n ?np npx:signedBy ?_user_iri .\n ?np np:hasAssertion ?a .\n }\n graph ?a {\n ?_user_iri gen:plansToAttend ?event .\n optional { ?event rdfs:label ?event_label }\n optional { ?event dct:date ?date1 }\n }\n optional {\n bind(iri(concat(\"https://w3id.org/np/l/nanopub-query-1.1/repo/type/\", sha256(str(gen:Space)))) as ?space_repo)\n service ?space_repo {\n graph npa:graph {\n ?nps npx:introduces ?event .\n ?nps npa:hasValidSignatureForPublicKeyHash ?pks .\n filter not exists { ?npsx npx:invalidates ?nps ; npa:hasValidSignatureForPublicKeyHash ?pks . }\n ?nps np:hasAssertion ?as .\n }\n graph ?as {\n ?event schema:startDate ?datetime .\n bind(xsd:date(substr(str(?datetime), 0, 11)) as ?date2)\n }\n }\n }\n bind(coalesce(?date1, ?date2) as ?date)\n filter(?date >= xsd:date(substr(str(now()), 0, 11)))\n} order by ?date" . . "2026-03-16T12:00:00Z"^^ . . . . . "RSA" . "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" . "SXdYRW0GfRyFfjB/qb2oCkssqNjurwLcG2cZYklIAByeiocYrd6I4Lez5V/b4J/Ytgn1Y6oslbID0TgNwgPJ1TM21CnnczGLe85wg9Nrk1DN3dB/NUnUsv7DnnG4gSM1txI6v2JhPytWDWWrPYE6cmeVlA+4Hb6W8dwTpfQxO+4=" . . .