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 mapping when subject has function fails #75

Closed
pheyvaer opened this issue May 29, 2020 · 0 comments
Closed

Condition on mapping when subject has function fails #75

pheyvaer opened this issue May 29, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@pheyvaer
Copy link
Collaborator

Issue type: 🐛 Bug

Description

Condition on mapping when subject has function fails.

Steps

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

mappings:
  person:
    sources:
     - [input.csv~csv]
    s:
      function: grel:array_join
      parameters:
        - [grel:p_array_a, "http://example.org/"]
        - [grel:p_array_a, "$(id)"]
    condition:
      function: idlab-fn:notEqual
      parameters:
        - [grel:valueParameter, "$(id)"]
        - [grel:valueParameter2, ""]
    po:
      - [a, schema:Person]
@pheyvaer pheyvaer added the bug Something isn't working label May 29, 2020
@pheyvaer pheyvaer self-assigned this May 29, 2020
pheyvaer added a commit that referenced this issue Aug 17, 2020
* Add Dockerfile to run yarrrml-parser using Docker. Also added short instructions to build and run to the readme

* Add DockerHub URL to readme

* now Dockerfile build from current folder instead of installing from npm. Updated readme.

* add .dockerignore to avoid copying node_modules when docker build

* fixes #73

* Delete generator.test.js

* nit

* readme error

* fix #75

* add action.yml to use YARRRML parser as GitHub action

* action is now dockerfile instead of node

* wip #59

* add more test cases

* update changelog

* fix #37

* fix #78

* Allow multiple input files (#80)

fix #34

Co-authored-by: Ben De Meester <[email protected]>

* Fix #35 (#84)

fix #35

* fix remarks

* Fix #31 (#86)

fix #31

* Fix #87 (#88)

fix #87

* v1.2.0 (#89)

v1.2.0

Co-authored-by: Vincent Emonet <[email protected]>
Co-authored-by: Ben De Meester <[email protected]>
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

1 participant