johanwk / elot

Emacs Literate Ontology Tool
GNU General Public License v3.0
8 stars 2 forks source link

Conversion OMN to Turtle after tangling #13

Closed johanwk closed 7 months ago

johanwk commented 8 months ago

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.

johanwk commented 7 months ago

implemented with ROBOT