. . . . "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 ?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(bound(?foo))\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-20T06:03:55.650Z"^^ . . . . . . . . . . . "RSA" . "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB" . "JfYAn+CTHchNnvhvqaxhesMVkOO/0DmqjclSFQy0czKXaD4Apr/8/SK25VsdIdjIC+Sp4IgWuzlQcN8wSphasRn+HYQovli2SWXE76F+/nYjWtxcy1fi966MmaKZ7+vXY+hPtLWI/FHhL9QSdz2RcwBz9nRtbIdPazVK7Srcb/E=" . . .