https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs/Head https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs http://www.nanopub.org/nschema#hasAssertion https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs/assertion https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs http://www.nanopub.org/nschema#hasProvenance https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs/provenance https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs http://www.nanopub.org/nschema#hasPublicationInfo https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs/pubinfo https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.nanopub.org/nschema#Nanopublication https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs/assertion https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs/get-time-limited-space-info http://purl.org/dc/terms/description Returns key-value facts for display on the page of a time-limited space (project, initiative, campaign, or event): its type(s), date, location, description(s), and admins. Type, date, location, and description are read from a single winning definition nanopub: among all validly signed, non-invalidated nanopubs that introduce the resource and type it as gen:Space or gen:MaintainedResource, the one with the latest dct:created wins (ties broken by nanopub URI). This matters because successive definitions are chained by root definition rather than by npx:supersedes, and a resource IRI can be claimed by more than one space-ref, so the earlier plain not-invalidated filter merged the values of every past definition into one row. Admins are the validated admins (npa:hasRoleType gen:AdminRole) of the governing space, resolved via the spaces repository. An admin's display name is taken from the foaf:name in the spaces repository, which is only present for agents who have published an introduction; when that is absent it falls back to the foaf:name recorded in the pubinfo of the grant nanopub that materialised the role (npa:viaNanopub), and only then to the bare agent URI. Admins are grouped by agent so that each contributes exactly one value and one label, keeping the two lists aligned even when an agent holds the role through several grants naming them differently. 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. The website row shows the space's schema:url (http or https form) as a link, labelled with the bare host and path; the alternative-ID field (owl:sameAs) is deliberately not shown as a website, since it holds identifiers such as Wikidata items. Date and location rows are omitted when the corresponding values are not given, as is any row whose value is empty. Each property occupies one row; the Value column is a multi-value cell so properties with several values (multiple types or admins) list them all in a single row. Type labels are derived from the concatenated type IRIs by a single regex so the value and label lists always stay aligned. Both columns use the '_noheader' convention so the redundant header row is dropped. https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs/get-time-limited-space-info http://purl.org/dc/terms/license http://www.apache.org/licenses/LICENSE-2.0 https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs/get-time-limited-space-info http://www.w3.org/1999/02/22-rdf-syntax-ns#type https://w3id.org/kpxl/grlc/grlc-query https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs/get-time-limited-space-info http://www.w3.org/2000/01/rdf-schema#label Get time-limited space info https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs/get-time-limited-space-info https://w3id.org/kpxl/grlc/endpoint https://w3id.org/np/l/nanopub-query-1.1/repo/full https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs/get-time-limited-space-info https://w3id.org/kpxl/grlc/sparql prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> prefix dct: <http://purl.org/dc/terms/> prefix foaf: <http://xmlns.com/foaf/0.1/> 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 schemanew: <https://schema.org/> select distinct ?Property_noheader ?Property_label ?Value_multi_val_noheader ?Value_label_multi where { values ?_resource_multi_iri {} { select ?defNpS (group_concat(distinct ?typeIriS; separator="\n") as ?typeVal) (group_concat(distinct ?descEsc; separator="\n") as ?descVal) (min(?startDate0) as ?startDate) (min(?endDate0) as ?endDate) (min(?locationS0) as ?locationS) (min(?websiteS0) as ?websiteS) where { values ?_resource_multi_iri {} { select (max(?npS1) as ?defNpS) where { { select (max(?c0) as ?maxC) where { values ?_resource_multi_iri {} graph npa:graph { ?np0 npx:introduces ?_resource_multi_iri ; npa:hasValidSignatureForPublicKeyHash ?pk0 ; np:hasAssertion ?a0 ; dct:created ?c0 . filter not exists { ?inv0 npx:invalidates ?np0 ; npa:hasValidSignatureForPublicKeyHash ?pk0 . } } graph ?a0 { ?_resource_multi_iri a ?bt0 . filter(?bt0 in (gen:Space, gen:MaintainedResource)) } } } values ?_resource_multi_iri {} graph npa:graph { ?np1 npx:introduces ?_resource_multi_iri ; npa:hasValidSignatureForPublicKeyHash ?pk1 ; np:hasAssertion ?a1 ; dct:created ?maxC . filter not exists { ?inv1 npx:invalidates ?np1 ; npa:hasValidSignatureForPublicKeyHash ?pk1 . } } graph ?a1 { ?_resource_multi_iri a ?bt1 . filter(?bt1 in (gen:Space, gen:MaintainedResource)) } bind(str(?np1) as ?npS1) } } bind(iri(?defNpS) as ?defNp) graph npa:graph { ?defNp np:hasAssertion ?a . } optional { graph ?a { ?_resource_multi_iri a ?typeIri . filter(?typeIri != gen:Space && ?typeIri != gen:MaintainedResource) } bind(str(?typeIri) as ?typeIriS) } optional { graph ?a { ?_resource_multi_iri dct:description ?desc . } bind(replace(replace(str(?desc), "\\\\", "\\\\\\\\"), "[\r\n]+", "\\\\n") as ?descEsc) } optional { graph ?a { ?_resource_multi_iri schema:startDate ?startDate0 . } } optional { graph ?a { ?_resource_multi_iri schema:endDate ?endDate0 . } } optional { graph ?a { ?_resource_multi_iri schema:location ?location0 . } bind(str(?location0) as ?locationS0) } optional { graph ?a { ?_resource_multi_iri schema:url ?websiteA . } } optional { graph ?a { ?_resource_multi_iri schemanew:url ?websiteB . } } bind(coalesce(str(?websiteA), str(?websiteB)) as ?websiteS0) } group by ?defNpS } bind(replace(?typeVal, "[^\n]*[/#]", "") as ?typeLabel) optional { select (group_concat(?admin2; separator="\n") as ?adminVal) (group_concat(?adminName; separator="\n") as ?adminLabel) where { select ?admin2 (min(?adminNameC) as ?adminName) where { values ?_resource_multi_iri {} service <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> { graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?g . } optional { graph ?g { ?_resource_multi_iri npa:isMaintainedBy ?maint . } } bind(coalesce(?maint, ?_resource_multi_iri) as ?adminSpace) graph ?g { ?ri a gen:RoleInstantiation ; npa:forSpace ?adminSpace ; npa:hasRoleType gen:AdminRole ; npa:forAgent ?admin . } optional { graph ?g { ?ri npa:viaNanopub ?viaNp . } } optional { graph ?g { ?admin foaf:name ?adminName0 . } } } optional { graph npa:graph { ?viaNp np:hasPublicationInfo ?viaPi . } graph ?viaPi { ?admin foaf:name ?grantName . } } bind(coalesce(?adminName0, ?grantName, str(?admin)) as ?adminNameC) bind(str(?admin) as ?admin2) } group by ?admin2 } having (count(?admin2) > 0) } bind(coalesce(substr(str(?startDate), 1, 10), str(?startDate)) as ?sDay) bind(coalesce(substr(str(?endDate), 1, 10), "") as ?eDay) bind(coalesce(substr(str(?startDate), 12, 5), "") as ?sTime) bind(coalesce(substr(str(?endDate), 12, 5), "") as ?eTime) bind(coalesce(replace(substr(str(?startDate), 17), "^(:[0-9][0-9](\\.[0-9]+)?)?", ""), "") as ?tzRaw) bind(if(?tzRaw = "Z", "UTC", if(?tzRaw != "", concat("UTC", ?tzRaw), "")) as ?tzDisp) bind( if(?eDay != "", if(?sDay = ?eDay, if(?sTime != "" && ?eTime != "", concat(?sDay, ", ", ?sTime, "–", ?eTime, if(?tzDisp != "", concat(" (", ?tzDisp, ")"), "")), ?sDay), concat(?sDay, " – ", ?eDay)), ?sDay) as ?dateVal) values (?key ?Property_noheader ?Property_label) { ('Type' rdf:type 'Type:') ('Date' schema:startDate 'Date:') ('Location' schema:location 'Location:') ('Website' schema:url 'Website:') ('Description' dct:description 'Description:') ('Admins' gen:hasAdmin 'Admins:') } bind(if(?key='Type', ?typeVal, if(?key='Date', ?dateVal, if(?key='Location', ?locationS, if(?key='Website', ?websiteS, if(?key='Description', ?descVal, ?adminVal))))) as ?Value_multi_val_noheader) filter(bound(?Value_multi_val_noheader) && ?Value_multi_val_noheader != "") bind(if(?key='Type', ?typeLabel, if(?key='Admins', ?adminLabel, if(?key='Website', replace(replace(?websiteS, "^https?://", ""), "/$", ""), ''))) as ?Value_label_multi) } order by (if(?key='Type', 1, if(?key='Date', 2, if(?key='Location', 3, if(?key='Website', 4, if(?key='Description', 5, 6)))))) https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs/provenance https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs/assertion http://www.w3.org/ns/prov#wasAttributedTo https://orcid.org/0000-0002-1267-0234 https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs/pubinfo https://orcid.org/0000-0002-1267-0234 http://xmlns.com/foaf/0.1/name Tobias Kuhn https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs http://purl.org/dc/terms/created 2026-09-13T04:40:33Z https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs http://purl.org/dc/terms/creator https://orcid.org/0000-0002-1267-0234 https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs http://purl.org/dc/terms/license https://creativecommons.org/licenses/by/4.0/ https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs http://purl.org/nanopub/x/embeds https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs/get-time-limited-space-info https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs http://purl.org/nanopub/x/supersedes https://w3id.org/np/RAf608SUQKgbfzIYCV12C1DnuQNOx84fiwg7L84sq0AZQ https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs http://www.w3.org/2000/01/rdf-schema#label Get time-limited space info https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate https://w3id.org/np/RA-N4_kFxcruvBTlo1yJv29E4SLOXsx5KO_th69PprMrA https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8 https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate https://w3id.org/np/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs/sig http://purl.org/nanopub/x/hasAlgorithm RSA https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs/sig http://purl.org/nanopub/x/hasPublicKey MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs/sig http://purl.org/nanopub/x/hasSignature EnypteVB5oBE3J+XRixhHg3Ci2lADST2t3PY+uCGpTfLJeKZVS7j/MvVeIigF0elUuymzWccBiN3Q4f+6bOCoKPNGQseYji1pNCrldpaGHBgIBzIM4yRPDLbE1GF43Uv1tN6YvQH/4OQEY16QiKMtFLjJA2kjLaJwgKdQWlY734= https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs/sig http://purl.org/nanopub/x/hasSignatureTarget https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs https://w3id.org/np/RAYCGVHlXErsN5PsziJCB2wr3BzJoMFpchmhtamPKAtJs/sig http://purl.org/nanopub/x/signedBy https://orcid.org/0000-0002-1267-0234