DerwenAI / kglab

Graph Data Science: an abstraction layer in Python for building knowledge graphs, integrated with popular graph libraries – atop Pandas, NetworkX, RAPIDS, RDFlib, pySHACL, PyVis, morph-kgc, pslpython, pyarrow, etc.
https://derwen.ai/docs/kgl/
MIT License
581 stars 66 forks source link

Improve relative paths in notebooks #205

Closed Mec-iS closed 2 years ago

Mec-iS commented 2 years ago

Should fix 204.

Some filesystems may have problems in finding files in dat/ via relative import, so I add the os.getcwd() function that is the suggested way of doing this operation in a notebook.

Mec-iS commented 2 years ago

Also, examples/ex6_1.ipynb has seen 6 additions and 13,049 deletions in this PR. Is this correct?

I have just rerun some cells to test the new chunk of code. Probably the image got different, so all the changes.