-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feature: how to nest a joincondition inside a function? #3
Comments
The whole 'functions on top of joins' is specifically about functions on top of (regular) join conditions. |
An example would be, in YARRRML, based on https://rml.io/yarrrml/matey/ Advanced example: prefixes:
ex: "http://example.com/"
mappings:
person:
sources:
- ['persons.json~jsonpath', '$.persons[*]']
s: http://example.com/person/$(firstname)
po:
- [a, foaf:Person]
- [ex:name, $(firstname)]
- p: ex:likes
o:
- function: ex:getAfterHash
parameters:
- parameter: ex:param1
value:
mapping: movie
condition:
function: equal
parameters:
- [str1, $(movie)]
- [str2, $(slug)]
movie:
sources:
- ['movies.csv~csv']
s: http://example.com/movie#$(slug)
po:
- [a, schema:Movie] @dachafra did you have something like this in mind? |
let's see how join conditions will evolve in RML before we go too far with this ;) |
Came from kg-construct/rml-core#1
it is possible to nest functions (see eg https://github.com/RMLio/rml-fno-test-cases/blob/master/RMLFNOTC0018-CSV/mapping.ttl), so functions on top of functions, but not functions on top of joins.
The text was updated successfully, but these errors were encountered: