. . . . "Like 'Get the classes of an ontology', but only returns classes published by an admin, maintainer, or member of the space that maintains the given resource. The maintaining space and its validated member public-key hashes are resolved server-side from the spaces repo (/repo/spaces); observers are excluded." . . . "Get the classes of an ontology from space members" . . "prefix owl: \n prefix rdfs: \n prefix dct: \n prefix np: \n prefix npa: \n prefix npx: \n prefix skos: \n prefix gen: \n\n select ?class ?class_label (?definition as ?description)\n (group_concat(distinct str(?superclass); separator=\" \") as ?superclasses_multi_iri)\n (group_concat(distinct replace(replace(coalesce(?superclass_lbl, str(?superclass)), \"\\\\\\\\\", \"\\\\\\\\\\\\\\\\\"), \"[\\r\\n]+\", \"\\\\\\\\n\"); separator=\"\\n\") as ?superclasses_label_multi)\n ?np (\"^\" as ?np_label) where {\n values ?_ontology_multi_iri {}\n service {\n graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?stateG . }\n graph ?stateG {\n ?_ontology_multi_iri npa:isMaintainedBy? ?space .\n ?ri a gen:RoleInstantiation ; npa:forSpace ?space ; npa:forAgent ?agent .\n ?acct a npa:AccountState ; npa:agent ?agent ; npa:pubkey ?pubkey .\n }\n {\n graph ?stateG { ?ri npa:inverseProperty gen:hasAdmin . }\n } union {\n graph npa:spacesGraph {\n ?rd a npa:RoleDeclaration ; npa:hasRoleType ?rt ;\n (gen:hasRegularProperty|gen:hasInverseProperty) ?prop .\n filter(?rt in (gen:MaintainerRole, gen:MemberRole))\n ?ri (npa:regularProperty|npa:inverseProperty) ?prop .\n }\n }\n }\n graph npa:graph {\n ?np npx:hasNanopubType owl:Class .\n ?np npa:hasValidSignatureForPublicKeyHash ?pubkey .\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }\n ?np dct:created ?date .\n ?np npx:introduces ?class .\n ?np np:hasAssertion ?a .\n }\n graph ?a {\n ?class dct:partOf ?_ontology_multi_iri .\n optional { ?class rdfs:label ?class_label . }\n optional { ?class skos:definition ?definition . }\n optional {\n ?class rdfs:subClassOf ?superclass .\n filter(isIRI(?superclass))\n optional { ?superclass rdfs:label ?superclass_lbl . }\n }\n }\n }\n group by ?class ?class_label ?definition ?np\n order by ?class_label" . . "Tobias Kuhn" . "2026-06-23T08:13:43Z"^^ . . . . "Get the classes of an ontology from space members" . . . . . . "RSA" . "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" . "WcgJmbUw+E6Lo2MQMP5jwNoKwHwTd8dSy0Ln4htyCiuwPlbvNtInhB7DgOl9wWdBKBkcbd6graxKABj1L3TlYtzCAddJ8j0DsIOsGJswkClIEjGxiIYa1ZAxf83m0S4OIXI6AalY4A7uHuOWjjdwcPJGCxenzSoRQJzfnh+F/dc=" . . .