morph-kgc / morph-kgc

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

QST: contain or like operator in jsonpath #66

Closed layman71 closed 2 years ago

layman71 commented 2 years ago

Hi, I am new to this tech and I have a question. Can I use operators like contains ,=~ in rml:iterator for jsonpath to filter data. If yes, please direct me to an example. Thanks in advance.

Ex - rml:iterator "$[?(@.column contains \"cat\" )]";

arenas-guerrero-julian commented 2 years ago

Hi @layman71 ,

You can take a look to the filter operators supported with examples here.

Julián

arenas-guerrero-julian commented 2 years ago

Hi @layman71 ,

Unfortunately, the support of JSONpath in morph-kgc is limited mainly due to the lack of libraries in python. We will keep an eye on updates to JSONpath libraries (or new libraries) so that they can be integrated in morph-kgc.

For the moment I close this issue.