. . . . "This query returns all classes that specify to be part of a given ontology." . . . "Get the classes of an ontology" . . "prefix owl: \r\n prefix rdfs: \r\n prefix dct: \r\n prefix np: \r\n prefix npa: \r\n prefix npx: \r\n prefix skos: \r\n \r\n select ?class ?class_label (?definition as ?description)\r\n (group_concat(distinct str(?superclass); separator=\" \") as ?superclasses_multi_iri) \r\n (group_concat(distinct replace(replace(coalesce(?superclass_lbl, str(?superclass)), \"\\\\\\\\\", \"\\\\\\\\\\\\\\\\\"), \"[\\r\\n]+\", \"\\\\\\\\n\"); separator=\"\\n\") as \r\n ?superclasses_label_multi) \r\n ?np where { \r\n values ?_ontology_multi_iri {} \r\n graph npa:graph { \r\n ?np npx:hasNanopubType owl:Class .\r\n ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . \r\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } \r\n ?np dct:created ?date .\r\n ?np npx:introduces ?class . \r\n ?np np:hasAssertion ?a .\r\n } \r\n graph ?a { \r\n ?class dct:partOf ?_ontology_multi_iri .\r\n optional { ?class rdfs:label ?class_label . } \r\n optional { ?class skos:definition ?definition . }\r\n optional { \r\n ?class rdfs:subClassOf ?superclass .\r\n filter(isIRI(?superclass)) \r\n optional { ?superclass rdfs:label ?superclass_lbl . }\r\n } \r\n } \r\n } \r\n group by ?class ?class_label ?definition ?np\r\n order by ?class_label" . . "Tobias Kuhn" . "2026-04-15T08:53:36.174Z"^^ . . . . . . . . . . . "RSA" . "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB" . "7HmvnAfYPJCYfn2POValB0poXk0lGQO67Yyij8EZ8i8bGhexVB0Op+smf1BlMWJPvclUcwIb8siouosIhicK4SCCPX7Nxr9wmRc2uygkl5bSPuw24lJQs0GNnxa+7PEyrrD5aWc7nLlQ3kyX4M+u0tDVi1evCAPTc3qQ9wV1E7s=" . . .