. . . . "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:05:46.708Z"^^ . . . . . . . . . . . . . "RSA" . "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB" . "70YJrpLw0dzu09gFvCwKoztZqKKDhtvfn4KvUPyvDVHk6cWRnh2qqtFln6JSoFdAjGeKKyk7atHXmyjd6IIGhaIX5+L63jCicpd3ZPO7OkO8owKGgOlIM+yRNiLQURBLXbJvjWue9xdhk/HyJV4TOx5nCQDk6UVY/TfzdbY0+6g=" . . .