-
Notifications
You must be signed in to change notification settings - Fork 17
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
Predicate cannot be referenced from data #186
Comments
Hmmm, weird, when trying it on Matey (yarrrml-parser v1.3.3), your example works. I don't see a reason why v1.4.0 would give an error, but we'll have a look. In the meantime, could you maybe check on your side whether v1.3.3 does work for you? If so, we found a new test case! :D |
I tried with v1.3.3 and had the same problem. I'm using this lib to create RML rules that are then used by RocketRML to generate RDF. The problem comes from RocketRML's lib and I've already opened the same issue in their repo 2 weeks ago then after some investigation, I tought that the bug is caused by yarrrml-parser (yesterday), but I was wrong! I apologize for the inconvenience. This is the exact issue: comake/rmlmapper-js#6 (comment) Do you know any other alternatives (in JS/TS, without using any JAR) to generate RDF from YARRRML templates (that support referenced predicates values), please? |
I don't know about any other alternatives except for RocketRML and RMLMapper-JS, but you could ask at https://github.com/kg-construct/rml-questions/discussions to ask the wider community! :) |
Issue type: 🐛 Bug
Description
Hi, i want to reference a predicate from the data, but it causes the following error:
Cannot read properties of undefined (reading '@id')
. I think the predicate needs to be explicitly set but there isn't a way to reference it from the data?Steps
Yarrrml (not working version)
Yarrrml (working version)
Data
Environment
Windows 10
Latest version of this package
Thank you!
The text was updated successfully, but these errors were encountered: