Yet Another Inference Engine in Python