[ { "@id": "https://w3id.org/np/RAdwV588EdTzQ6UhsYX_hmg5GvOJbKvFjMOcEIpVNxyLg/Head", "@graph": [ { "@id": "https://w3id.org/np/RAdwV588EdTzQ6UhsYX_hmg5GvOJbKvFjMOcEIpVNxyLg", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAdwV588EdTzQ6UhsYX_hmg5GvOJbKvFjMOcEIpVNxyLg/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAdwV588EdTzQ6UhsYX_hmg5GvOJbKvFjMOcEIpVNxyLg/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAdwV588EdTzQ6UhsYX_hmg5GvOJbKvFjMOcEIpVNxyLg/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAdwV588EdTzQ6UhsYX_hmg5GvOJbKvFjMOcEIpVNxyLg/pubinfo", "@graph": [ { "@id": "https://w3id.org/np/RAdwV588EdTzQ6UhsYX_hmg5GvOJbKvFjMOcEIpVNxyLg", "http://purl.org/dc/terms/created": [ { "@value": "2026-03-16T12:00:00Z", "@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/RAdwV588EdTzQ6UhsYX_hmg5GvOJbKvFjMOcEIpVNxyLg/get-future-planned-event-attendances" } ], "http://purl.org/nanopub/x/wasCreatedAt": [ { "@id": "https://nanodash.knowledgepixels.com/" } ] }, { "@id": "https://w3id.org/np/RAdwV588EdTzQ6UhsYX_hmg5GvOJbKvFjMOcEIpVNxyLg/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": "SXdYRW0GfRyFfjB/qb2oCkssqNjurwLcG2cZYklIAByeiocYrd6I4Lez5V/b4J/Ytgn1Y6oslbID0TgNwgPJ1TM21CnnczGLe85wg9Nrk1DN3dB/NUnUsv7DnnG4gSM1txI6v2JhPytWDWWrPYE6cmeVlA+4Hb6W8dwTpfQxO+4=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAdwV588EdTzQ6UhsYX_hmg5GvOJbKvFjMOcEIpVNxyLg" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAdwV588EdTzQ6UhsYX_hmg5GvOJbKvFjMOcEIpVNxyLg/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAdwV588EdTzQ6UhsYX_hmg5GvOJbKvFjMOcEIpVNxyLg/get-future-planned-event-attendances", "http://purl.org/dc/terms/description": [ { "@value": "This query returns the future events the given user plans to attend." } ], "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 future planned event attendances" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/type/e0c10d8a3e60586806c4b357bb4767f6c71c162e061be85cfe165eaf18b13f2f" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "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" } ] } ] }, { "@id": "https://w3id.org/np/RAdwV588EdTzQ6UhsYX_hmg5GvOJbKvFjMOcEIpVNxyLg/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAdwV588EdTzQ6UhsYX_hmg5GvOJbKvFjMOcEIpVNxyLg/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] } ]