[
{
"@id": "https://w3id.org/np/RAPYJ7HL7UiPQA1vHocyHYL99bKuaaKddfefrgW2zyA-Y/assertion",
"@graph": [
{
"@id": "https://w3id.org/np/RAPYJ7HL7UiPQA1vHocyHYL99bKuaaKddfefrgW2zyA-Y/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/RAPYJ7HL7UiPQA1vHocyHYL99bKuaaKddfefrgW2zyA-Y/Head",
"@graph": [
{
"@id": "https://w3id.org/np/RAPYJ7HL7UiPQA1vHocyHYL99bKuaaKddfefrgW2zyA-Y",
"http://www.nanopub.org/nschema#hasAssertion": [
{
"@id": "https://w3id.org/np/RAPYJ7HL7UiPQA1vHocyHYL99bKuaaKddfefrgW2zyA-Y/assertion"
}
],
"http://www.nanopub.org/nschema#hasProvenance": [
{
"@id": "https://w3id.org/np/RAPYJ7HL7UiPQA1vHocyHYL99bKuaaKddfefrgW2zyA-Y/provenance"
}
],
"http://www.nanopub.org/nschema#hasPublicationInfo": [
{
"@id": "https://w3id.org/np/RAPYJ7HL7UiPQA1vHocyHYL99bKuaaKddfefrgW2zyA-Y/pubinfo"
}
],
"@type": [
"http://www.nanopub.org/nschema#Nanopublication"
]
}
]
},
{
"@id": "https://w3id.org/np/RAPYJ7HL7UiPQA1vHocyHYL99bKuaaKddfefrgW2zyA-Y/provenance",
"@graph": [
{
"@id": "https://w3id.org/np/RAPYJ7HL7UiPQA1vHocyHYL99bKuaaKddfefrgW2zyA-Y/assertion",
"http://www.w3.org/ns/prov#wasAttributedTo": [
{
"@id": "https://orcid.org/0000-0002-1267-0234"
}
]
}
]
},
{
"@id": "https://w3id.org/np/RAPYJ7HL7UiPQA1vHocyHYL99bKuaaKddfefrgW2zyA-Y/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/RAPYJ7HL7UiPQA1vHocyHYL99bKuaaKddfefrgW2zyA-Y",
"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/RAPYJ7HL7UiPQA1vHocyHYL99bKuaaKddfefrgW2zyA-Y/get-space-members"
}
],
"http://purl.org/nanopub/x/supersedes": [
{
"@id": "https://w3id.org/np/RA2eGba0_0GLtyFWPH2PZe76G0d8azkHaojNCgacifTyI"
},
{
"@id": "https://w3id.org/np/RAqp9TSM4oAwvJ0UQrvZ-qzEuS4R8zpsuD_lw1lyW5MOw"
}
],
"https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate": [
{
"@id": "https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU"
}
],
"https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate": [
{
"@id": "https://w3id.org/np/RA0J4vUn_dekg-U1kK3AOEt02p9mT2WO03uGxLDec1jLw"
}
],
"https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate": [
{
"@id": "https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k"
}
]
},
{
"@id": "https://w3id.org/np/RAPYJ7HL7UiPQA1vHocyHYL99bKuaaKddfefrgW2zyA-Y/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": "posfT+rdxTPCfChzv7XVH/gff2MRVRVt2QwNu/Dk/sJn/2IoCQ/DlKtjaG1X/ag1XYztptuZXbDSjb8kzSne+1sRkG5pSbhgh6MjDOzlayZvZWlbcEb/YzjKd19d6G2idJwzIHMeRtbHF+vfqtuS1SC/lekxdtcqUaKJE12QncM="
}
],
"http://purl.org/nanopub/x/hasSignatureTarget": [
{
"@id": "https://w3id.org/np/RAPYJ7HL7UiPQA1vHocyHYL99bKuaaKddfefrgW2zyA-Y"
}
],
"http://purl.org/nanopub/x/signedBy": [
{
"@id": "https://orcid.org/0000-0002-1267-0234"
}
]
}
]
}
]