Knowledge Representation and Inductive Reasoning using Conditional Logic and Sets of Ranking Functions