. . . . "This query returns all classes that are part of a given version of an ontology. Each class is listed once." . . . "Get the classes of an ontology version" . . "prefix owl: \nprefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix skos: \nprefix gen: \n\nselect ?class\n (coalesce(min(?class_label_u), min(?class_label_a)) as ?class_label)\n (coalesce(min(?definition_u), min(?definition_a)) as ?description)\n (?termNp as ?np) (\"^\" as ?np_label) where {\n graph npa:graph {\n ?_ontologyVersionNp_iri npx:introduces ?ontologyVersion .\n ?_ontologyVersionNp_iri np:hasAssertion ?ontologyVersionNpA .\n }\n graph ?ontologyVersionNpA {\n ?ontologyVersion a owl:Ontology .\n ?ontologyVersion gen:hasContentIndex ?contentIndex .\n }\n graph npa:graph {\n ?contentIndex np:hasAssertion ?contentIndexA .\n }\n graph ?contentIndexA {\n ?contentIndex npx:includesElement ?termNp .\n }\n graph npa:graph {\n ?termNp npx:introduces ?class .\n ?termNp np:hasAssertion ?termNpA .\n }\n graph ?termNpA {\n ?class a owl:Class .\n optional { ?class rdfs:label ?class_label_u . filter(lang(?class_label_u) = \"\") }\n optional { ?class rdfs:label ?class_label_a . }\n optional { ?class skos:definition ?definition_u . filter(lang(?definition_u) = \"\") }\n optional { ?class skos:definition ?definition_a . }\n }\n}\ngroup by ?class ?termNp\norder by lcase(str(coalesce(?class_label, \"\")))" . . "Tobias Kuhn" . "2026-11-11T10:23:37Z"^^ . . . . "One row per class instead of one per label and definition variant (several languages); prefer untagged labels and definitions; sort labels case-insensitively." . . . . . . . . "RSA" . "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" . "pf0Q2w8s+nr0CgbrhwybbJnUu8BySr/H/6Zt+v38wL3s7IluuW0LISYcmPqcF8Bvp4dsSIe/aWZhzLcNGll3EvQ3KhrenI5QCP2axKb4ci1Aa9vU4PqAFMLIsIzn6eIYxQM3rDluHFEKN64gBdDbUTo1UmbLe4l1C9sDp72o/WI=" . . .