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

Added Condition shortcut suggestion #46

Closed bjdmeest closed 1 month ago

bjdmeest commented 3 months ago

Current PR needs some more details, but I prefer to have you have a look at the overall idea first before I spend more time

bjdmeest commented 3 months ago

However, if we use a function execution as value of a condition, one thing that might now cause some problems in the current design of fnml is the separation of rml:functionExecution and rml:return on rml:ExpressionMap. Since rml:condition is also placed on the same level, this means that we cannot use rml:return for conditions. That seems like a design issue to me.

Perhaps we can solve this by making the value of a condition an expression map as well?

Yes. I agree and changed accordingly.