Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bjdmeest opened this issue Nov 16, 2021 · 0 comments
Open

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

bjdmeest opened this issue Nov 16, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@bjdmeest
Copy link
Collaborator

Issue type: 🐛 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]
@DylanVanAssche DylanVanAssche added the bug Something isn't working label Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants