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

Enabling conditions on functions #47

Open
igrangel opened this issue Jun 10, 2024 · 4 comments
Open

Enabling conditions on functions #47

igrangel opened this issue Jun 10, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@igrangel
Copy link

Hi all,

There are many cases where we need to have conditions as output of the mappings, similar to what is described here.

These are just some of concrete use cases we have, but there are many more.

  • When a given field is empty, the triple is not created
  • When a field represent ranges we need to be able to create instances for each value in the given range, e.g., XYZ12,14, means that we need to obtain three instances, i.e., ex:XYZ12, ex:XYZ13, and ex:XYZ14
  • When a field contains strings that should be split into two properties given a specific pattern
@dachafra
Copy link
Member

When a given field is empty, the triple is not created

I think this is the only case that we understand as conditional generation

The last two, IMHO can be already handled by RML-FNML, am I right @bjdmeest?

@igrangel
Copy link
Author

@dachafra if you happen to have an example of the last two in the meantime would be great.

@dachafra
Copy link
Member

I'll redirect you to the RML-FNML https://w3id.org/rml/fnml/spec and if you have any questions you can open them here https://github.com/kg-construct/rml-questions/discussions

@dachafra
Copy link
Member

dachafra commented Aug 8, 2024

The solution for this issue is being proposed in the corresponding repository by @bjdmeest #46. So let's transfer this there

@dachafra dachafra transferred this issue from kg-construct/rml-core Aug 8, 2024
@dachafra dachafra added the enhancement New feature or request label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants