Re: adding a swrl rule through owlready2

Posted by d.onto on
URL: http://owlready.306.s1.nabble.com/adding-a-swrl-rule-through-owlready2-tp3346p3360.html

Ok I understand, thx.

What I do not understand is how to pass the namespace "http://maccve/onto#" in the example python file in order to avoid the ambiguity.

The python class name cannot be "http://maccve/onto#contains" ...


In fact I would like to get rid of the python classes, my goal is just to add a SWRL rule to an existing ontology and then run the reasonner.

Thx in advance