Matches in Nanopublications for { <https://w3id.org/np/RABpgTBJhHNi77O5grL35QxjyHeIJSeWdw8GYbH8ob2DM/get-upcoming-events> ?p ?o ?g. }
Showing items 1 to 6 of
6
with 100 items per page.
- get-upcoming-events type grlc-query assertion.
- get-upcoming-events label "Get upcoming events" assertion.
- get-upcoming-events description "Returns all upcoming events that are defined as Spaces, ordered by start date." assertion.
- get-upcoming-events sparql "prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> prefix dct: <http://purl.org/dc/terms/> prefix np: <http://www.nanopub.org/nschema#> prefix npa: <http://purl.org/nanopub/admin/> prefix npx: <http://purl.org/nanopub/x/> prefix gen: <https://w3id.org/kpxl/gen/terms/> prefix schema: <http://schema.org/> prefix xsd: <http://www.w3.org/2001/XMLSchema#> select ?event ?event_label ?date ?description ?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 npx:introduces ?event . ?np np:hasAssertion ?a . } graph ?a { ?event a gen:Space . ?event a gen:Event . ?event rdfs:label ?event_label . ?event schema:startDate ?datetime . optional { ?event dct:description ?description . } } bind(xsd:date(substr(str(?datetime), 0, 11)) as ?date) filter(?date >= xsd:date(substr(str(now()), 0, 11))) } order by ?date" assertion.
- get-upcoming-events endpoint 8ad572d99071cc1ba0c16e54087b43594bdd9e8b2cfb62d2a0b16945fc49e53c assertion.
- get-upcoming-events license LICENSE-2.0 assertion.