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
574 stars 65 forks source link

Create querying mixin #262

Closed Mec-iS closed 2 years ago

Mec-iS commented 2 years ago

Current behaviour

All the methods are stacked in the kglab module and it makes it difficult to handle.

New expected behaviour

Implement mixins for different functionalities in different modules:

@ceteri let me know if this is ok. The only problem I see is that the credits for writing the code are moved to the developer that created the mixin. So if you want to keep the credits to the developer that wrote the code in the first place he/she will have to create the mixins by himself. Let me know if this is a problem.

Change logs

tomaarsen commented 2 years ago

Looks good! Well done.