Open Remya-Ramachandran opened 1 year ago
Can someone please help
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.
thanks @briesenberg07.
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.