-
Notifications
You must be signed in to change notification settings - Fork 30
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
owlrl relies on OWL.Datatype
which does not exist in the OWL namespace in rdflib
#53
Comments
Workaround:
|
Renamed |
This looks a cut and paste like a typo: |
This is not ideal: you are adding "to be removes triple" like |
Alright, makes sense. |
can this be merged asap? seems like a trivial fix. |
I had the same issue. I agree with the assessment made by @jjoao . It looks like copy/paste typo errors in two lines in the method 'post_process(self)' of class OWLRL_Extension_Trimming. Consider these 3 lines of code:
The first of these 3 lines refers to RDFS.Datatype, but the other two lines mistakenly refer to OWL.Datatype, which doesn't exist in the OWL namespace. So a fix involves changing OWL.Datatype to RDFS.Datatype in these two lines. |
bump |
This line fails with rdflib 6.1.1 because the OWL namespace defined in rdflib does not support the
OWL.Datatype
property:OWL-RL/owlrl/OWLRLExtras.py
Line 354 in a77e179
The text was updated successfully, but these errors were encountered: