Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
owl2vowl.py 330 B
import subprocess 
import os 
import shutil

def convert():

    # Run owl2vowl.jar converter : convert ontology file TTL to JSON format supported by WebVOWL
    proc = subprocess.Popen("java -jar ./application/static/owl2vowl.jar -file ./application/static/data/YOUR_ONTOLOGY.TTL", shell=True, stdout=subprocess.PIPE)