|
Hi,
I'm using owlready2 to query the ontology. while I'm running the code it gives me following errors though the .owl file is already exists. I'm using python. I'm looking for immediate response since I have only one week for my final evaluation.
Traceback (most recent call last):
File "E:/Level-4/Project/Ontology/MovieOntology/FlaskApp/app.py", line 2, in <module> from FlaskApp.src.SparqlQueries import runQuery
File "E:\Level-4\Project\Ontology\MovieOntology\FlaskApp\src\SparqlQueries.py", line 84, in <module> runQuery = SparqlQueries()
File "E:\Level-4\Project\Ontology\MovieOntology\FlaskApp\src\SparqlQueries.py", line 9, in __init__
my_world.get_ontology("file://FlaskApp/src/MovieOnto.owl").load()
File "C:\Users\Yashoda\AppData\Roaming\Python\Python36\site-packages\owlready2\namespace.py", line 448, in load
if os.path.getmtime(f) <= self.graph.get_last_update_time():
File "C:\Users\Yashoda\AppData\Local\Programs\Python\Python36\lib\genericpath.py", line 55, in getmtime
return os.stat(filename).st_mtime
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'FlaskApp/src/MovieOnto.owl'
Best Regards,
Yashoda Weeratunga
University Of Moratuwa, SriLanka
|