-
Notifications
You must be signed in to change notification settings - Fork 12
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
Test cases for query languages wrt iterator/reference behavior? #35
Comments
that's indeed towards the direction we are thinking as well. We are considering of separating the Logical Source descriptions from the rest of the RML specification. Unfortunately the behavior of Do you have @mielvds any concrete thoughts you already want to share? |
Cool! That seems like the most maintainable indeed.
Yeah and we shouldn't be writing their unittests. Just some basic test cases that can identify if an underlying library is no good.
For RML, the main (and only?) concern is how the path in Maybe test cases that focus on iterator-reference combinations would be enough, such as rml:iterator "$.[*]" + rml:reference "city.name" = ['Amsterdam', 'Brussels', 'Berlin', 'London'] |
regarding this, we discussed during the last consortium meeting that we should cluster and abstract the test cases. So I'd imagine that a certain part of test cases may refer to references to input test cases. Feel free to join the discussions ;)
Do you have a suggestion for this? Are you aware of the solution proposed by ShExML? |
I know, I am trying to get more involved :)
Not really no tbh. It's hard to do because RML is oblivious to what the path expression actually resolves to. The best option is probably to test iterator-reference combinations per QL.
I don't think so. Isn't this simply another mapping language? (Looks interesting though) |
RML mappers can interpret the query language in
ql:referenceFormulation
differently like here SDM-TIB/SDM-RDFizer#48. This support is only slightly covered by the test cases.It might be helpful to zoom into some of the common ones (eg.
ql:JSONPath
,ql:XPath
, ...), especially with respect to iterator/reference behavior. These could be put in separate test groups and reports per QL to not cause confusion with RML support. Happy to contribute btwThe text was updated successfully, but these errors were encountered: