-
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
OWL2SPARQL Converter ForAll Alternative #39
Conversation
@alkidbaci Could you review it today if you have time ? |
Sure thing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nkaralis I noticed that you have commented outline 128-129 and added line 274-277 instead. The class argument named_individuals
was applicable for every conversion but according to your changes, now its applicable only for concepts of type OWLObjectComplementOf
.
One more thing to notice here is that we cannot specify the argument for_all_de_morgan
in the method owl_expression_to_sparql
but since that argument is only relevant to concepts of type OWLObjectAllValuesFrom
maybe it's better to keep it this way. If someone wants to specify a different value for for_all_de_morgan
they can create a new instance of Owl2SparqlConverter
and call as_query
from there.
Other than these, it looks fine to me.
Thanks for reviewing the PR. Regarding the first point, the idea here is that Regarding the second point, we could add an extra argument |
Well, that's a fair point. We can leave it like that then.
Now that I think again about this, people will get used to using the Thanks for the PR! |
Introduces an alternative for the
ForAll
mapping based on De Morgan's laws.NOTE: The interface (arguments) of the converter have changed. Might break some stuff in Ontolearn