So, after OMN is tangled, run a script that will use one of these to convert.
It's possible to catch "after tangle" with org-babel-post-tangle-hook and use that to run the script. See faq explaining "When the hook is executed, the current buffer (as identified by the current-buffer function) will be a buffer visiting the file of the tangled code".
For querying the ontology -- essential for rdfpuml -- we need the ELOT output converted from OMN to Turtle.
Two widely available tools can convert OMN to Turtle.
So, after OMN is tangled, run a script that will use one of these to convert.
It's possible to catch "after tangle" with
org-babel-post-tangle-hook
and use that to run the script. See faq explaining "When the hook is executed, the current buffer (as identified by the current-buffer function) will be a buffer visiting the file of the tangled code".Also see note on what it does, script example. Make sure the hook is "set local", see second link.