ClosedOntologyNamespace currently is a highly dynamic runtime construct and does not support static analysis of namespace members. This also means that IDEs generally cannot provide completions for namespace members.
For now it is not clear to me what the best solution to this problem could be.
One approach would be to create stub files for a given ClosedOntologyNamespace.