Re: Mixing Python, OWL, SWRL and Reasoning
Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/Mixing-Python-OWL-SWRL-and-Reasoning-tp2653p2667.html
Hello,
As you guessed, it is not possible to call Python from the SWRL rule interpreted by the Java reasoner. Having a callback system would be very difficult to set up, especially between Java and Python.
The easier solution is to compute all per-tablet cost before calling the reasoner and to store the value in a dataproperty.
Jiba