1

In Prótege software is able to insert the differentFrom and sameAs in SWRL Rules, but when I code these properties in Python with owlready2 imported I came across with below message:

semantic            |   File "/usr/local/lib/python3.8/site-packages/owlready2/rule.py", line 173, in _find_entity
semantic            |     raise ValueError("Cannot find entity '%s'!" % name)
semantic            | ValueError: Cannot find entity 'differentfrom'

Do you know how to use these properties correctly?

help-info.de
  • 6,695
  • 16
  • 39
  • 41

0 Answers0