. . . . "Returns basic key-value facts about a given space (type, alternative IDs, start and end date for time-limited spaces, and the latest and root definition nanopubs). The space's latest-definition nanopub is passed in as the 'spaceNp' parameter; type, alternative IDs and dates are read from that definition, and its space-ref's root definition is resolved from the spaces repository. This scopes every fact to a single space-ref (identity = space IRI + root definition), so spaces whose IRI is claimed by several refs no longer mix. Type can carry multiple values (one row each). Alternative IDs are concatenated into a single HTML cell holding a comma-separated list of links (a span wrapping one anchor per ID), computed in a separate subquery so it stays clear of the spaces-repo SERVICE join. Both columns use the '_noheader' convention so the redundant header row is dropped." . . . "Get space info" . . "prefix rdf: \nprefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix schema: \nprefix owl: \nprefix gen: \n\nselect distinct ?Property_noheader ?Property_label ?Value_noheader ?Value_label where {\n values ?_space_multi_iri {}\n graph npa:graph { ?_spaceNp_iri np:hasAssertion ?a . }\n graph ?a { ?_space_multi_iri a gen:Space . }\n optional { graph ?a { ?_space_multi_iri a ?typeIri . filter(?typeIri != gen:Space) } }\n optional { graph ?a { ?_space_multi_iri schema:startDate ?startVal } }\n optional { graph ?a { ?_space_multi_iri schema:endDate ?endVal } }\n optional {\n select (concat('', group_concat(?anchor; separator=', '), '') as ?altHtml) where {\n values ?_space_multi_iri {}\n graph npa:graph { ?_spaceNp_iri np:hasAssertion ?asub . }\n graph ?asub { ?_space_multi_iri owl:sameAs ?altVal . }\n bind(concat('', str(?altVal), '') as ?anchor)\n } having (count(?altVal) > 0)\n }\n optional {\n service {\n graph npa:spacesGraph {\n ?def npa:viaNanopub ?_spaceNp_iri ; npa:forSpaceRef ?ref .\n ?ref npa:rootNanopub ?rootNp .\n }\n }\n }\n values (?key ?Property_noheader ?Property_label) {\n ('Type' rdf:type 'Type:')\n ('Alternative IDs' owl:sameAs 'Alternative IDs:')\n ('Start date' schema:startDate 'Start date:')\n ('End date' schema:endDate 'End date:')\n ('Latest definition' npa:viaNanopub 'Latest definition:')\n ('Root definition' gen:hasRootDefinition 'Root definition:')\n }\n bind(if(?key='Type', ?typeIri, if(?key='Alternative IDs', ?altHtml, if(?key='Start date', str(?startVal), if(?key='End date', str(?endVal), if(?key='Latest definition', ?_spaceNp_iri, ?rootNp))))) as ?Value_noheader)\n filter(bound(?Value_noheader))\n bind(if(?key='Type', replace(str(?typeIri), '^.*[/#]', ''), if(?key='Latest definition', substr(strafter(str(?_spaceNp_iri), '/np/'), 1, 10), if(?key='Root definition', substr(strafter(str(?rootNp), '/np/'), 1, 10), ''))) as ?Value_label)\n}\norder by (if(?key='Type', 1, if(?key='Alternative IDs', 2, if(?key='Start date', 3, if(?key='End date', 4, if(?key='Latest definition', 5, 6))))))" . . "Tobias Kuhn" . "2026-06-16T08:36:38Z"^^ . . . . . "Get space info" . . . . . . "RSA" . "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" . "Aoyrd16rZ6DfeyCfuC7VefIATgUJPWaqdNGGKMwJuVyjuiVUTGkh6rOttNFldmuJ47cEIVfLi1dZU2U8E2SWetWoCapbAh31hzagW5r+M/xFfm7WfBvkP8TOYaoaeK0VUE71naCulVNQLgq7mLUk0K5CCVcV294XvlG3gUr/14I=" . . .