. . . . "Returns the latest non-invalidated SpaceDefinition per space ref from the server-materialised spaces repo, joined to the declaring nanopublication for its label and type. Ref-aware variant of Get spaces (v2): adds the space ref (?ref) and its root nanopublication (?root) so the client can key one space per ref (space IRI + root definition) rather than per IRI. v4 (supersedes the v3 RAD5KmWO…): the invalidation filter is gated on a shared signing pubkey (npa:hasValidSignatureForPublicKeyHash) between the invalidating nanopub and the space-definition nanopub, so a foreign-key retraction can no longer suppress a space definition (issue #487)." . . . "Get spaces (v4, ref-aware, same-pubkey invalidation gate)" . . "prefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix gen: \n\nselect ?space_iri ?space_iri_label ?type ?type_label ?date ?np (\"^\" as ?np_label) ?ref ?root where {\n graph npa:spacesGraph {\n ?ref a npa:SpaceRef ; npa:spaceIri ?space_iri .\n optional { ?ref npa:rootNanopub ?root }\n ?def a npa:SpaceDefinition ;\n npa:forSpaceRef ?ref ;\n npa:viaNanopub ?np ;\n dct:created ?date .\n }\n graph npa:graph {\n ?np rdfs:label ?space_iri_label .\n ?np npx:hasNanopubType ?type .\n filter(strstarts(str(?type), \"https://w3id.org/kpxl/gen/terms/\"))\n filter(?type != gen:Space)\n }\n filter not exists { graph npa:graph { ?invNp npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?invpk . ?np npa:hasValidSignatureForPublicKeyHash ?invpk . } }\n bind(strafter(str(?type), \"https://w3id.org/kpxl/gen/terms/\") as ?type_label)\n} order by desc(?date)" . . "Tobias Kuhn" . "2026-06-19T07:32:09Z"^^ . . . . . . . . . "RSA" . "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" . "LNyP69rg3q+ix9pVRRDxRZ5yjOxfH6eMwdlnYHeU99vxtPYM2GiYG8pLC4AZ3zuXA40JRNyuE9NrXA6Yah8TzW2h75M23RTAiASvJAXYQ+x54DsjrOm4XLgsJRYTySAn6u2/9HQQNb26fuhAoI5MuNkdA5zpKV9OvBpdEr9svwg=" . . .