You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to generate shapes for the attached ontology (generated using protege in rdf/xml format).
Since .owl file format is not supported attaching as word doc. ontology.docx
I have used the following command:
shaclgen "path to .owl file" -o
But getting the following error:
Traceback (most recent call last):
File "C:\Users\remya.rr\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return run_code(code, main_globals, None,
File "C:\Users\remya.rr\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\project\data_validation\venv\Scripts\shaclgen.exe_main.py", line 7, in
File "C:\project\data_validation\venv\lib\site-packages\shaclgen_main.py", line 67, in main
g.gen_graph(**kwargs)
File "C:\project\data_validation\venv\lib\site-packages\shaclgen\schema.py", line 263, in gen_graph
self.extract_restrictions()
File "C:\project\data_validation\venv\lib\site-packages\shaclgen\schema.py", line 255, in extract_restrictions
self.REST[rest]['type'] = rest_type[0]
IndexError: list index out of range
Could you please help to generate the shape.
The text was updated successfully, but these errors were encountered:
Hello @Remya-Ramachandran
Thanks for posting your issue. I'm sorry to say that the creator of this software package is no longer affiliated with @uwlib-cams , and we can't offer technical support at this time. I'm hopeful that others who have used and updated the code may be of assistance.
I need to generate shapes for the attached ontology (generated using protege in rdf/xml format).
Since .owl file format is not supported attaching as word doc.
ontology.docx
I have used the following command:
shaclgen "path to .owl file" -o
But getting the following error:
Traceback (most recent call last):
File "C:\Users\remya.rr\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return run_code(code, main_globals, None,
File "C:\Users\remya.rr\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\project\data_validation\venv\Scripts\shaclgen.exe_main.py", line 7, in
File "C:\project\data_validation\venv\lib\site-packages\shaclgen_main.py", line 67, in main
g.gen_graph(**kwargs)
File "C:\project\data_validation\venv\lib\site-packages\shaclgen\schema.py", line 263, in gen_graph
self.extract_restrictions()
File "C:\project\data_validation\venv\lib\site-packages\shaclgen\schema.py", line 255, in extract_restrictions
self.REST[rest]['type'] = rest_type[0]
IndexError: list index out of range
Could you please help to generate the shape.
The text was updated successfully, but these errors were encountered: