Conditional PSDDs: Modeling and Learning With Modular Knowledge