|
Thanks jiba
I am using the same version but i am getting the following error.
when i am using the sync_reasoner(onto) command.
* Owlready2 * Running HermiT...
C:\Java\jre1.8.0_191\bin\java.exe -Xmx2000M -cp E:\anaconda\lib\site-packages\owlready2\hermit;E:\anaconda\lib\site-packages\owlready2\hermit\HermiT.jar org.semanticweb.HermiT.cli.CommandLine -c -O -D -I file:///C:/Users/rizwank/AppData/Local/Temp/tmpz8pqz8vd
Traceback (most recent call last):
File "<ipython-input-7-877f9afc8990>", line 1, in <module> sync_reasoner(onto)
File "E:\anaconda\lib\site-packages\owlready2\reasoning.py", line 88, in sync_reasoner
output = subprocess.check_output(command, stderr = subprocess.STDOUT)
File "E:\anaconda\lib\subprocess.py", line 376, in check_output
**kwargs).stdout
File "E:\anaconda\lib\subprocess.py", line 468, in run
output=stdout, stderr=stderr)
CalledProcessError: Command '['C:\\Java\\jre1.8.0_191\\bin\\java.exe', '-Xmx2000M', '-cp', 'E:\\anaconda\\lib\\site-packages\\owlready2\\hermit;E:\\anaconda\\lib\\site-packages\\owlready2\\hermit\\HermiT.jar', 'org.semanticweb.HermiT.cli.CommandLine', '-c', '-O', '-D', '-I', 'file:///C:/Users/rizwank/AppData/Local/Temp/tmpz8pqz8vd']' returned non-zero exit status 1.
|