Yes, this is the case as show the following example:
from owlready2 import *
from fullpy.serializer import *
onto = get_ontology("
http://test.org/onto.owl")
with onto:
class C(Thing): pass
class prop(Thing >> Thing): pass
print(prop.some(C).ancestors(True, True))
# => {onto.prop.some(onto.C)}