. . . . "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 a single winning definition nanopub: among all validly signed, non-invalidated nanopubs that introduce the resource and type it as gen:Space, the one with the latest dct:created wins (ties broken by nanopub URI). This matters because successive space definitions are chained by root definition rather than by npx:supersedes, and a space IRI can be claimed by more than one space-ref, so a plain not-invalidated filter would merge the values of every past definition into one row. 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 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 or empty 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. 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. 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." . . . "Get open-ended space info" . . "prefix rdf: \nprefix rdfs: \nprefix dct: \nprefix foaf: \nprefix owl: \nprefix np: \nprefix npa: \nprefix npx: \nprefix gen: \n\nselect distinct ?Property_noheader ?Property_label ?Value_multi_val_noheader ?Value_label_multi where {\n values ?_resource_multi_iri {}\n\n {\n select ?defNpS\n (group_concat(distinct ?typeIriS; separator=\"\\n\") as ?typeVal)\n (group_concat(distinct ?altIriS; separator=\"\\n\") as ?altVal)\n (group_concat(distinct ?descEsc; separator=\"\\n\") as ?descVal)\n where {\n values ?_resource_multi_iri {}\n {\n select (max(?npS1) as ?defNpS) where {\n {\n select (max(?c0) as ?maxC) where {\n values ?_resource_multi_iri {}\n graph npa:graph {\n ?np0 npx:introduces ?_resource_multi_iri ;\n npa:hasValidSignatureForPublicKeyHash ?pk0 ;\n np:hasAssertion ?a0 ;\n dct:created ?c0 .\n filter not exists { ?inv0 npx:invalidates ?np0 ; npa:hasValidSignatureForPublicKeyHash ?pk0 . }\n }\n graph ?a0 { ?_resource_multi_iri a gen:Space . }\n }\n }\n values ?_resource_multi_iri {}\n graph npa:graph {\n ?np1 npx:introduces ?_resource_multi_iri ;\n npa:hasValidSignatureForPublicKeyHash ?pk1 ;\n np:hasAssertion ?a1 ;\n dct:created ?maxC .\n filter not exists { ?inv1 npx:invalidates ?np1 ; npa:hasValidSignatureForPublicKeyHash ?pk1 . }\n }\n graph ?a1 { ?_resource_multi_iri a gen:Space . }\n bind(str(?np1) as ?npS1)\n }\n }\n bind(iri(?defNpS) as ?defNp)\n graph npa:graph { ?defNp np:hasAssertion ?a . }\n optional {\n graph ?a { ?_resource_multi_iri a ?typeIri . filter(?typeIri != gen:Space && ?typeIri != gen:MaintainedResource) }\n bind(str(?typeIri) as ?typeIriS)\n }\n optional {\n graph ?a { ?_resource_multi_iri owl:sameAs ?altIri . }\n bind(str(?altIri) as ?altIriS)\n }\n optional {\n graph ?a { ?_resource_multi_iri dct:description ?desc . }\n bind(replace(replace(str(?desc), \"\\\\\\\\\", \"\\\\\\\\\\\\\\\\\"), \"[\\r\\n]+\", \"\\\\\\\\n\") as ?descEsc)\n }\n } group by ?defNpS\n }\n bind(replace(?typeVal, \"[^\\n]*[/#]\", \"\") as ?typeLabel)\n\n optional {\n select (group_concat(?parent2; separator=\"\\n\") as ?parentVal) (group_concat(?parentName; separator=\"\\n\") as ?parentLabel) where {\n select ?parent2 (max(?parentName0) as ?parentName) where {\n values ?_resource_multi_iri {}\n service {\n graph npa:graph { npa:hasCurrentSpaceState ?gp . }\n graph ?gp { ?_resource_multi_iri npa:isSubSpaceOf ?parent . }\n }\n optional {\n graph npa:graph {\n ?npp npx:introduces ?parent ; npa:hasValidSignatureForPublicKeyHash ?pkp ; np:hasAssertion ?ap .\n filter not exists { ?invp npx:invalidates ?npp ; npa:hasValidSignatureForPublicKeyHash ?pkp . }\n }\n graph ?ap { ?parent rdfs:label ?pl . }\n }\n bind(str(?parent) as ?parent2)\n bind(coalesce(str(?pl), ?parent2) as ?parentName0)\n } group by ?parent2\n } having (count(?parent2) > 0)\n }\n\n optional {\n select (group_concat(?admin2; separator=\"\\n\") as ?adminVal) (group_concat(?adminName; separator=\"\\n\") as ?adminLabel) where {\n select distinct ?admin2 ?adminName where {\n values ?_resource_multi_iri {}\n service {\n graph npa:graph { npa:hasCurrentSpaceState ?g . }\n optional { graph ?g { ?_resource_multi_iri npa:isMaintainedBy ?maint . } }\n bind(coalesce(?maint, ?_resource_multi_iri) as ?adminSpace)\n graph ?g { ?ri a gen:RoleInstantiation ; npa:forSpace ?adminSpace ; npa:hasRoleType gen:AdminRole ; npa:forAgent ?admin . }\n optional { graph ?g { ?admin foaf:name ?adminName0 . } }\n }\n bind(coalesce(?adminName0, str(?admin)) as ?adminName)\n bind(str(?admin) as ?admin2)\n }\n } having (count(?admin2) > 0)\n }\n\n values (?key ?Property_noheader ?Property_label) {\n ('Type' rdf:type 'Type:')\n ('Part of' gen:isSubSpaceOf 'Part of:')\n ('Alternative IDs' owl:sameAs 'Alternative IDs:')\n ('Description' dct:description 'Description:')\n ('Admins' gen:hasAdmin 'Admins:')\n }\n bind(if(?key='Type', ?typeVal, if(?key='Part of', ?parentVal, if(?key='Alternative IDs', ?altVal, if(?key='Description', ?descVal, ?adminVal)))) as ?Value_multi_val_noheader)\n filter(bound(?Value_multi_val_noheader) && ?Value_multi_val_noheader != \"\")\n bind(if(?key='Type', ?typeLabel, if(?key='Part of', ?parentLabel, if(?key='Admins', ?adminLabel, ''))) as ?Value_label_multi)\n}\norder by (if(?key='Type', 1, if(?key='Part of', 2, if(?key='Alternative IDs', 3, if(?key='Description', 4, 5)))))" . . "Tobias Kuhn" . "2026-08-24T09:04:12Z"^^ . . . . . "Get open-ended space info" . . . . . . "RSA" . "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" . "c4vOVWs1vHp1uqOLABEEji9jWIsyZeHIXdkVpUNj4f1Z+ynH85MmRD/qZK6uEdDLYIEBnx5VTeAgBS2EL4GxJA4OJYXisHcBFEHkmIezpKw8xPs7Eta+1kyrIwNdgqUVG4So8WSSPGBghxYGZV+KNEiMZSY2aEZxR95tPV6Y8jA=" . . .