We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Support nested functions using the YARRRML shortcuts
Shorter YARRRML
None
below works
prefixes: ex: "http://example.com/" idlab-fn: http://example.com/idlab/function/ grel: http://users.ugent.be/~bjdmeest/function/grel.ttl# mappings: person: sources: - ['data.json~jsonpath', '$.persons[*]'] s: http://example.com/$(firstname) po: - [a, foaf:Person] - p: ex:name o: function: grel:controls_if parameters: - parameter: grel:bool_b value: function: idlab-fn:equal parameters: - [grel:valueParameter, $(firstname)] - [grel:valueParameter2, "John"] - [grel:any_true, $(firstname)] - [grel:any_false, "Jack"]
But the shortcut version doesn't work
prefixes: ex: "http://example.com/" idlab-fn: http://example.com/idlab/function/ grel: http://users.ugent.be/~bjdmeest/function/grel.ttl# mappings: person: sources: - ['data.json~jsonpath', '$.persons[*]'] s: http://example.com/$(firstname) po: - [a, foaf:Person] - p: ex:name o: grel:controls_if(grel:bool_b = idlab-fn:equal(grel:valueParameter = $(firstname), grel:valueParameter2 = "John"), grel:any_true = $(firstname), grel:any_false = "Jack")
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue type: 🦄 Feature
Description
Support nested functions using the YARRRML shortcuts
Why it is useful
Shorter YARRRML
Existing features it breaks
None
below works
But the shortcut version doesn't work
The text was updated successfully, but these errors were encountered: