-
Notifications
You must be signed in to change notification settings - Fork 9
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
Transformation function over joined sources? #1
Comments
I have the feeling these are two issues:
Right now
For what you want, I think we need both (i) a function with a nested condition (in RML+FnO), and (ii) the ability to describe a join condition that does not return the subject of a triples map, but something else, maybe it returns the iteration from a different logical source that matches the condition, so that we could use a reference formulation to take any data field from that iteration (in RML) --> this is related to kg-construct/mapping-challenges#29 What I did:
WDYT? |
Isn't "joining values of a second source as objects of a first source" the same as the mapping challeng "join on literals"? At least, that's how I interpreted the latter. I agree with the above. I also feel that it would be good to solve that issue in RML first, before deciding on how iterations in "function triples maps" should work. It might save us from making things overly complex. |
You're totally right, forgot that was already in there 😅 EDIT: I refined my comment above |
Totally agree with this too! |
Saved you hours of work there @bjdmeest 😂 |
@bjdmeest as this issue has been split into three new issues, where we are actually discussing all, shall we close this? |
awesome, yes! |
Having two sources (A and B) that can be joined by a field, would be possible to apply functions on some B fields and using them in any part of the TriplesMap from A?
Let me put an example.
Table A:
Table B
Output (applying uppercase to BC2)
I don't know if it is currently possible declaring the join-condition in the mapping rules or should we have to create an ad-hoc implemented function?
The text was updated successfully, but these errors were encountered: