Get open-ended space info
has assertion: assertion
has provenance: provenance
has publication info: pubinfo
type: Nanopublication
created: 2026-08-24T08:51:35Z
creator: Tobias Kuhn
license: https://creativecommons.org/licenses/by/4.0/
embeds: Get open-ended space info

Get open-ended space info
description: Returns key-value facts for display on the page of an open-ended space (alliance, community, division, group, organization, outlet, or program): its type(s), parent space, alternative IDs, description(s), and admins. Type, alternative IDs, and description are read from the resource's latest non-invalidated definition nanopub. The parent space is taken from the server-computed space state (npa:isSubSpaceOf) in the spaces repository, so implicit sub-space nesting is covered too, and its label is resolved from the parent's own latest definition. Admins are the validated admins (npa:hasRoleType gen:AdminRole) of the governing space, also resolved via the spaces repository. Rows whose values are absent are omitted. Each property occupies one row; the Value column is a multi-value cell so properties with several values (multiple types, alternative IDs, or admins) list them all in a single row. Both columns use the '_noheader' convention so the redundant header row is dropped. This is the open-ended counterpart of the time-limited space info query, which shows date and location instead of parent space and alternative IDs.
license: LICENSE-2.0
type: grlc-query
endpoint: full
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 owl: <http://www.w3.org/2002/07/owl#> 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/> select distinct ?Property_noheader ?Property_label ?Value_multi_val_noheader ?Value_label_multi where { values ?_resource_multi_iri {} graph npa:graph { ?np npx:introduces ?_resource_multi_iri ; npa:hasValidSignatureForPublicKeyHash ?pubkey ; np:hasAssertion ?a . filter not exists { ?inv npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } } graph ?a { ?_resource_multi_iri a gen:Space . } optional { select (group_concat(?typeIriS; separator="\n") as ?typeVal) (group_concat(?typeLocal; separator="\n") as ?typeLabel) where { select distinct ?typeIriS ?typeLocal where { values ?_resource_multi_iri {} graph npa:graph { ?npt npx:introduces ?_resource_multi_iri ; npa:hasValidSignatureForPublicKeyHash ?pkt ; np:hasAssertion ?at . filter not exists { ?invt npx:invalidates ?npt ; npa:hasValidSignatureForPublicKeyHash ?pkt . } } graph ?at { ?_resource_multi_iri a ?typeIri . filter(?typeIri != gen:Space && ?typeIri != gen:MaintainedResource) } bind(str(?typeIri) as ?typeIriS) bind(replace(str(?typeIri), '^.*[/#]', '') as ?typeLocal) } } having (count(?typeIriS) > 0) } optional { select (group_concat(?parent2; separator="\n") as ?parentVal) (group_concat(?parentName; separator="\n") as ?parentLabel) where { select ?parent2 (max(?parentName0) as ?parentName) 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 ?gp . } graph ?gp { ?_resource_multi_iri npa:isSubSpaceOf ?parent . } } optional { graph npa:graph { ?npp npx:in…

sig
has algorithm: RSA
signed by: Tobias Kuhn