[ { "@id": "https://w3id.org/np/RA2eGba0_0GLtyFWPH2PZe76G0d8azkHaojNCgacifTyI/provenance", "@graph": [ { "@id": "https://w3id.org/np/RA2eGba0_0GLtyFWPH2PZe76G0d8azkHaojNCgacifTyI/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RA2eGba0_0GLtyFWPH2PZe76G0d8azkHaojNCgacifTyI/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/RA2eGba0_0GLtyFWPH2PZe76G0d8azkHaojNCgacifTyI", "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/RA2eGba0_0GLtyFWPH2PZe76G0d8azkHaojNCgacifTyI/get-space-members" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RAqp9TSM4oAwvJ0UQrvZ-qzEuS4R8zpsuD_lw1lyW5MOw" } ] }, { "@id": "https://w3id.org/np/RA2eGba0_0GLtyFWPH2PZe76G0d8azkHaojNCgacifTyI/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": "UDOgLiR53Ee1kCFznmFqXmaKCyDMl3uum8FFnhHBm8Ib+FCdxfAJZFAoNWCFsMmsbFtyg3AvgRGSsRdEYjTIqY1ehauIgXAwHnJtGSabLkxcTG87q6JX6zrxGr8C6CyL9i3Tw1oHPM8Ry4yRwC9cS1ES7XNGQFL9YwVtCcbdpQg=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RA2eGba0_0GLtyFWPH2PZe76G0d8azkHaojNCgacifTyI" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0000-0000-0000" } ] } ] }, { "@id": "https://w3id.org/np/RA2eGba0_0GLtyFWPH2PZe76G0d8azkHaojNCgacifTyI/assertion", "@graph": [ { "@id": "https://w3id.org/np/RA2eGba0_0GLtyFWPH2PZe76G0d8azkHaojNCgacifTyI/get-space-members", "http://purl.org/dc/terms/description": [ { "@value": "Returns the (non-admin) members of a given space ref (space IRI + root definition), each with a ?validated flag. Pass the ref's root nanopub (root_np); the query resolves the ref via npa:rootNanopub and its space IRI, then returns every non-admin gen:RoleInstantiation naming that IRI from the raw npa:spacesGraph (member agent, role's regular/inverse property, instantiating nanopublication), with ?validated = true when that instantiation is also present in the trust-state-validated current space-state graph for this ref (i.e. the agent's key has a trust-approved AccountState from an accepted introduction), false otherwise. This shows all self-declared members while flagging the un-introduced/unvalidated ones, rather than hiding them. The invalidation filter is gated on a shared signing pubkey (npa:hasValidSignatureForPublicKeyHash) between the invalidating nanopub and the member declaration, so a foreign-key retraction cannot drop a member (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 space members (ref-scoped, with validation flag)" } ], "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 npa: \nprefix npx: \nprefix gen: \n\nselect ?member ?regProp ?invProp ?np (\"^\" as ?np_label) ?validated where {\n values ?_root_np_multi_iri {}\n graph npa:spacesGraph {\n ?ref npa:rootNanopub ?_root_np_multi_iri ;\n npa:spaceIri ?spaceIri .\n }\n graph npa:spacesGraph {\n ?ri a gen:RoleInstantiation ;\n npa:forSpace ?spaceIri ;\n npa:forAgent ?member ;\n npa:viaNanopub ?np .\n optional { ?ri npa:regularProperty ?regProp }\n optional { ?ri npa:inverseProperty ?invProp }\n filter not exists { ?ri npa:inverseProperty gen:hasAdmin }\n }\n filter not exists { graph npa:graph { ?invNp npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?invpk . ?np npa:hasValidSignatureForPublicKeyHash ?invpk . } }\n bind(exists {\n graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?g . }\n graph ?g {\n ?vri a gen:RoleInstantiation ;\n npa:forSpaceRef ?ref ;\n npa:forAgent ?member ;\n npa:viaNanopub ?np .\n }\n } as ?validated)\n}" } ] } ] }, { "@id": "https://w3id.org/np/RA2eGba0_0GLtyFWPH2PZe76G0d8azkHaojNCgacifTyI/Head", "@graph": [ { "@id": "https://w3id.org/np/RA2eGba0_0GLtyFWPH2PZe76G0d8azkHaojNCgacifTyI", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RA2eGba0_0GLtyFWPH2PZe76G0d8azkHaojNCgacifTyI/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RA2eGba0_0GLtyFWPH2PZe76G0d8azkHaojNCgacifTyI/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RA2eGba0_0GLtyFWPH2PZe76G0d8azkHaojNCgacifTyI/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] } ]