-
Notifications
You must be signed in to change notification settings - Fork 74
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
deprecated_class_reference in report fails falsely since ROBOT 1.7.1 #766
Comments
The problem here is that the "entity" that gets returned by this query is a blank node. It's a bit more clear in the TTL:
The current query returns ?entity ?property ?value like:
What we want is something like:
I'm not really sure what the property should be here though. All our report lines so far are just subject, predicate, object, but this breaks that pattern unless we make the blank node the subject. In which case, we don't need to rewrite the queries, we just need to update the code to handle blank nodes, but then we get report lines like:
I don't know what the better option is. If we go for the first option, we need to write a query that can find the top-level subject no matter how nested the violating class is, which might be tricky? |
Alternatively we could replace the ugly bnode ID with just "blank node" for a result that looks like this:
This is a relatively easy fix to make, and we already have the framework for handling it. I just need to add a |
Awesome! I can confirm, In my field test, this works great!
If @jamesaoverton is happy with this, I am. BTW, having this travis build of branches is so amazing; I can test all my ontologies with the new jar in a matter of minutes! So, if testing for anything is needed, holla at me from now on! Thank you for that! Once @jamesaoverton confirms that I can safely use the branch jar in ODK, I will create an ODK patch release. |
Release 1.7.2 includes this fix. |
Error thrown:
Minimum working example:
This causes the exception:
I don't know what happened recently with that specific query, but this error never happened before ROBOT 1.7.1 (it just happened in a previously working pipeline).
Any idea what could be wrong with that query @jamesaoverton @beckyjackson ? Maybe just some tiny intervention to fix?
The text was updated successfully, but these errors were encountered: