morph-kgc / morph-kgc

Powerful RDF Knowledge Graph Generation with RML Mappings
https://morph-kgc.readthedocs.io
Apache License 2.0
191 stars 35 forks source link

Better JSONpath support #269

Open maqboolkhan opened 4 months ago

maqboolkhan commented 4 months ago

Is your Feature Request Related to a Problem?

The python package which Morph KGC uses is limited specially it does not support union , or | operator. Now, better python tools are available.

Describe the Solution you'd Like

We can use better jsonpath modules for example: jsonpath-ng

arenas-guerrero-julian commented 4 months ago

Hi @maqboolkhan ,

This is a very nice point. If that library is more complete and maintaned in an ongoing basis we can replace the actual one. The workaround so far for more complex JSON is to convert JSON to XML and use XPath (see #137)

maqboolkhan commented 4 months ago

Thank you for your prompt reply @arenas-guerrero-julian :) Unfortunately, in our use case we can not convert or use xml

arenas-guerrero-julian commented 3 months ago

As commented in #194, https://github.com/night-crawler/jsonpath-rust-bindings looks like a good option to migrate to.