yarrrml-parser icon indicating copy to clipboard operation
yarrrml-parser copied to clipboard

condition on map doesn't get picked up when subject has a function

Open bjdmeest opened this issue 3 years ago • 0 comments

Issue type: :bug: Bug

Description

condition on map doesn't get picked up when subject has a function

Steps

Following YARRRML doesn't take the condition into account

prefixes:
  grel: http://users.ugent.be/~bjdmeest/function/grel.ttl#
  idlab-fn: http://example.com/idlab/function/

mappings:
  person:
    sources:
     - [source_1.csv~csv]
    s:
      function: grel:array_join
      parameters:
        - [grel:p_array_a, "http://example.org/"]
        - [grel:p_array_a, "$(three)"]
    condition:
      function: idlab-fn:notEqual
      parameters:
        - [grel:valueParameter, "$(three)"]
        - [grel:valueParameter2, ""]
    po:
      - [a, schema:Person]

bjdmeest avatar Nov 16 '21 10:11 bjdmeest