-
Notifications
You must be signed in to change notification settings - Fork 24
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
AttributeError: 'str' object has no attribute 'storid' #28
Comments
Not a dev here, but I think I can help you out. The problem is with the IRI. You are loading an OBO ontology. When you check out the original ontology file you will find that the class
I hope I could help with your problem (if it is still relevant for you). |
@tommycarstensen I got the exact same problem when I try to apply an object property to an individual. The funny thing is that it works perfectly for data properties but not for object properties. I finally figured out what happened and I think it might be useful for others that would encouter this problem. The error I made is that I forgot to declare the class of the object to be used as the object property output. Formally, instead of assigning a token to an utterance like this:
I declare that
Now, the assignation works perfectly. |
This code:
Gives this error:
AttributeError: 'str' object has no attribute 'storid'
It seems like a bug to me.
The text was updated successfully, but these errors were encountered: