[ { "@id": "https://w3id.org/np/RA2Oiy7ht4NcXjJr8mb-hgpVc1vwmUFyaypoll-XvPKso/provenance", "@graph": [ { "@id": "https://w3id.org/np/RA2Oiy7ht4NcXjJr8mb-hgpVc1vwmUFyaypoll-XvPKso/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RA2Oiy7ht4NcXjJr8mb-hgpVc1vwmUFyaypoll-XvPKso/Head", "@graph": [ { "@id": "https://w3id.org/np/RA2Oiy7ht4NcXjJr8mb-hgpVc1vwmUFyaypoll-XvPKso", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RA2Oiy7ht4NcXjJr8mb-hgpVc1vwmUFyaypoll-XvPKso/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RA2Oiy7ht4NcXjJr8mb-hgpVc1vwmUFyaypoll-XvPKso/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RA2Oiy7ht4NcXjJr8mb-hgpVc1vwmUFyaypoll-XvPKso/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RA2Oiy7ht4NcXjJr8mb-hgpVc1vwmUFyaypoll-XvPKso/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/RA2Oiy7ht4NcXjJr8mb-hgpVc1vwmUFyaypoll-XvPKso", "http://purl.org/dc/terms/created": [ { "@value": "2026-07-06T08:18:47Z", "@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/RA2Oiy7ht4NcXjJr8mb-hgpVc1vwmUFyaypoll-XvPKso/get-time-limited-space-info" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get time-limited space info" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate": [ { "@id": "https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate": [ { "@id": "https://w3id.org/np/RA0J4vUn_dekg-U1kK3AOEt02p9mT2WO03uGxLDec1jLw" }, { "@id": "https://w3id.org/np/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw" }, { "@id": "https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate": [ { "@id": "https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k" } ] }, { "@id": "https://w3id.org/np/RA2Oiy7ht4NcXjJr8mb-hgpVc1vwmUFyaypoll-XvPKso/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": "FbsqXfnQr3uUFKMYvlbXtk8S2E22CjoYMUIJ14AaGv3l851LZJ8X2ZzYRmsVwhgL1N+H5ssS3ACEUKPNI9XEEjurewEYwu2DvzbQun14C7c7lNiCKzonRO9Xr8mcquv0grbTUVrjxl5lp1nC+QzMJv2nrepHz2Vie+oyFu539Ao=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RA2Oiy7ht4NcXjJr8mb-hgpVc1vwmUFyaypoll-XvPKso" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RA2Oiy7ht4NcXjJr8mb-hgpVc1vwmUFyaypoll-XvPKso/assertion", "@graph": [ { "@id": "https://w3id.org/np/RA2Oiy7ht4NcXjJr8mb-hgpVc1vwmUFyaypoll-XvPKso/get-time-limited-space-info", "http://purl.org/dc/terms/description": [ { "@value": "Returns key-value facts specific to a time-limited space (project, initiative, campaign, or event) for display on its page: its date and, if available, its location. Values are read from the space's latest non-invalidated definition nanopub. The date row shows the start and end dates; when both fall on the same day, it shows the day with the start and end times (and the timezone offset); when the end date is absent, only the start date is shown. The location row shows the location URI as a link and is omitted when no location is given. Both columns use the '_noheader' convention so the redundant header row is dropped." } ], "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 time-limited space info" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/full" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "prefix rdf: \nprefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix gen: \nprefix schema: \n\nselect distinct ?Property_noheader ?Property_label ?Value_multi_val_noheader ?Value_label_multi where {\n values ?_resource_multi_iri {}\n graph npa:graph {\n ?np npx:introduces ?_resource_multi_iri ; npa:hasValidSignatureForPublicKeyHash ?pubkey ; np:hasAssertion ?a .\n filter not exists { ?inv npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }\n }\n graph ?a { ?_resource_multi_iri a gen:Space ; schema:startDate ?startDate . }\n optional { graph ?a { ?_resource_multi_iri schema:endDate ?endDate . } }\n optional { graph ?a { ?_resource_multi_iri schema:location ?location . } }\n\n bind(coalesce(substr(str(?startDate), 1, 10), str(?startDate)) as ?sDay)\n bind(coalesce(substr(str(?endDate), 1, 10), \"\") as ?eDay)\n bind(coalesce(substr(str(?startDate), 12, 5), \"\") as ?sTime)\n bind(coalesce(substr(str(?endDate), 12, 5), \"\") as ?eTime)\n bind(coalesce(replace(substr(str(?startDate), 17), \"^(:[0-9][0-9](\\\\.[0-9]+)?)?\", \"\"), \"\") as ?tzRaw)\n bind(if(?tzRaw = \"Z\", \"UTC\", if(?tzRaw != \"\", concat(\"UTC\", ?tzRaw), \"\")) as ?tzDisp)\n bind(\n if(?eDay != \"\",\n if(?sDay = ?eDay,\n if(?sTime != \"\" && ?eTime != \"\",\n concat(?sDay, \", \", ?sTime, \"\\u2013\", ?eTime, if(?tzDisp != \"\", concat(\" (\", ?tzDisp, \")\"), \"\")),\n ?sDay),\n concat(?sDay, \" \\u2013 \", ?eDay)),\n ?sDay)\n as ?dateVal)\n\n values (?key ?Property_noheader ?Property_label) {\n ('Date' schema:startDate 'Date:')\n ('Location' schema:location 'Location:')\n }\n bind(if(?key = 'Date', ?dateVal, str(?location)) as ?Value_multi_val_noheader)\n filter(bound(?Value_multi_val_noheader))\n bind('' as ?Value_label_multi)\n}\norder by (if(?key = 'Date', 1, 2))" } ] } ] } ]