SemWebNotebooks / Jupyter-RDFify

IPython Extension for semantic web technology support (Turtle, SPARQL, ShEx, etc.) compatible with Jupyter Notebooks
MIT License
8 stars 5 forks source link

The RDFNamespace class import issue #1

Closed rezacsedu closed 2 years ago

rezacsedu commented 2 years ago

Finally, fixed it. After a lot of digging, I discovered that the RDFNamespace class (PyShEx was importing it) is not available in rdflib~=6.0, I mean it was removed from the later releases. So, ultimately downgrading rdflib to ~=5.0" fixed the issue in the example notebooks. I applied the changes to the RWTH GitLab project. Please check and apply similar changes here too.

lapie1 commented 2 years ago

PyShEx was finally updated to not use RDFNamespace. I updated the dependencies and reimplemented ShEx support in version 1.0.4.