[ { "@id": "https://w3id.org/np/RAyXmrfs8HeSJWGxz2dFX7qhMIsvTMzWro0J6EyBvsNu8/pubinfo", "@graph": [ { "@id": "https://orcid.org/0000-0002-1267-0234", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Tobias Kuhn" } ] }, { "@id": "https://w3id.org/np/RAyXmrfs8HeSJWGxz2dFX7qhMIsvTMzWro0J6EyBvsNu8", "http://purl.org/dc/terms/created": [ { "@value": "2026-06-19T07:32:09Z", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://purl.org/dc/terms/creator": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ], "http://purl.org/dc/terms/license": [ { "@id": "https://creativecommons.org/licenses/by/4.0/" } ], "http://purl.org/nanopub/x/embeds": [ { "@id": "https://w3id.org/np/RAyXmrfs8HeSJWGxz2dFX7qhMIsvTMzWro0J6EyBvsNu8/get-spaces" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RAD5KmWO6uqjM04tK7tb2IREgbxA1GTGyRhaRjjaVIKPw" } ] }, { "@id": "https://w3id.org/np/RAyXmrfs8HeSJWGxz2dFX7qhMIsvTMzWro0J6EyBvsNu8/sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "jEzLM6rIofZcmzD/6HRIsQ0Q+gbms67QruPV2MiKWJa3qIzSsluyC4kaExINJXZEtbcHK7fi6PFcBjK6WijzbYvnqp0Hh6tIUMTt+xQAoJRzK4yAYd22Zn2fRTmosIIP5ImEfIRyPlvpyE0Sb9J4LS7Uuda8dWt5VA91MYwWQrk=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAyXmrfs8HeSJWGxz2dFX7qhMIsvTMzWro0J6EyBvsNu8" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0000-0000-0000" } ] } ] }, { "@id": "https://w3id.org/np/RAyXmrfs8HeSJWGxz2dFX7qhMIsvTMzWro0J6EyBvsNu8/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAyXmrfs8HeSJWGxz2dFX7qhMIsvTMzWro0J6EyBvsNu8/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAyXmrfs8HeSJWGxz2dFX7qhMIsvTMzWro0J6EyBvsNu8/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAyXmrfs8HeSJWGxz2dFX7qhMIsvTMzWro0J6EyBvsNu8/get-spaces", "http://purl.org/dc/terms/description": [ { "@value": "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)." } ], "http://purl.org/dc/terms/license": [ { "@id": "http://www.apache.org/licenses/LICENSE-2.0" } ], "@type": [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get spaces (v4, ref-aware, same-pubkey invalidation gate)" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/spaces" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "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)" } ] } ] }, { "@id": "https://w3id.org/np/RAyXmrfs8HeSJWGxz2dFX7qhMIsvTMzWro0J6EyBvsNu8/Head", "@graph": [ { "@id": "https://w3id.org/np/RAyXmrfs8HeSJWGxz2dFX7qhMIsvTMzWro0J6EyBvsNu8", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAyXmrfs8HeSJWGxz2dFX7qhMIsvTMzWro0J6EyBvsNu8/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAyXmrfs8HeSJWGxz2dFX7qhMIsvTMzWro0J6EyBvsNu8/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAyXmrfs8HeSJWGxz2dFX7qhMIsvTMzWro0J6EyBvsNu8/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] } ]