Hi,
I tried the following script, but it works without problem.
Could you provide me a script that shows the error please?
Jiba
from owlready2 import *
o1 = get_ontology("
http://test.de/test")
with o1:
class A(Thing): pass
class p(Thing >> int): pass
class has_c(Thing >> str): pass
class B(Thing): pass
class C(Thing): pass
A.name = "a-b"
p.name = "c-d-e"
C.name = "a-b-c"
r = Imp()
r.set_as_rule("""a-b(?x), c-d-e(?x, ?y), greaterThan(?y, 3) -> has_c(?x, 'risk')""")