kg-construct / rml-fnml

RML-FNML: Transformation functions within RML
https://w3id.org/rml/fnml/spec
Creative Commons Attribution 4.0 International
6 stars 2 forks source link

Enabling conditions on functions #47

Closed igrangel closed 4 weeks ago

igrangel commented 5 months ago

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.

dachafra commented 5 months ago

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 commented 5 months ago

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

dachafra commented 5 months ago

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 commented 3 months ago

The solution for this issue is being proposed in the corresponding repository by @bjdmeest https://github.com/kg-construct/rml-fnml/pull/46. So let's transfer this there

dachafra commented 4 weeks ago

Hi @igrangel, @bjdmeest has proposed the conditions in functions https://kg-construct.github.io/rml-fnml/spec/docs/#conditions. We can close this issue as it's complete, and if you have any comment you can open a new issue or a PR.