Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while generating shape for .owl file #9

Open
Remya-Ramachandran opened this issue Jul 27, 2023 · 3 comments
Open

Error while generating shape for .owl file #9

Remya-Ramachandran opened this issue Jul 27, 2023 · 3 comments

Comments

@Remya-Ramachandran
Copy link

Remya-Ramachandran commented Jul 27, 2023

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.

@Remya-Ramachandran
Copy link
Author

Can someone please help

@briesenberg07
Copy link
Contributor

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.

@Remya-Ramachandran
Copy link
Author

thanks @briesenberg07.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants