. . . . "This query returns all classes that specify to be part of a given ontology or use its namespace." . . . "Get the classes of an ontology including via namespace" . . "prefix owl: \r\nprefix rdfs: \r\nprefix dct: \r\nprefix np: \r\nprefix npa: \r\nprefix npx: \r\nprefix skos: \r\n\r\nselect distinct ?class ?label (?definition as ?description) ?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 {{\r\n ?class a owl:Class .\r\n filter(strstarts(str(?class), ?__ontologyNamespace))\r\n } union {\r\n ?class a owl:Class .\r\n ?class dct:partOf ?_ontology_multi_iri .\r\n }}\r\n optional { ?class rdfs:label ?label . }\r\n optional { ?class skos:definition ?definition . }\r\n }\r\n}\r\norder by ?label" . . "Tobias Kuhn" . "2025-11-20T12:00:11.964Z"^^ . . . . . . . . . . . . . "RSA" . "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB" . "den9ZgemrwpCOV2h73kBPuuLfz5svG2Yg4xRiMZ4aeetRfz/0gpC4Xi2PBDVkTYxFarzSbm40RtuxAtN/QSbb34SUhnr9Ir3dhD+tmju90fM1Cw+AXdenUz0mmB6sl9clU8PTnoLMSIrTAn8lXUiBPLVK0t33Q+ZhawFOQAAAzw=" . . .