0

I have a JSON with nested dynamic arrays. As such I need to have an rml:iterator in this form “$.references[0].fragments[0].versions[0].files[*].url” to iterate through all elements of the array, however inside the rr:template I need to parse some values that have a path above this nested array iterator like “$.references[0].type” and “$references[0].year” . Inside the template absolute and relative JSONpath expressions are not supported, also no any path manipulation is supported. It is a known github issue as of 2022 (https://github.com/kg-construct/mapping-challenges/issues/20). Some suggest xrr:pushDown, but I am not sure if it is supported by the RML-Mapper I use? I assume it demands out of the box solutions. Is declaring global variables possible ? should I work with multiple sources of the same json to address this problem with multiple iterators ? Any thoughts ?

GGEv
  • 843
  • 9
  • 23

0 Answers0