Bob is green. Bob is quiet. Bob is red. Bob is smart. Bob is white. Charlie is green. Charlie is nice. Charlie is quiet. Charlie is white. Dave is big. Dave is green. Dave is nice. Dave is quiet. Dave is red. Dave is smart. Dave is white. All quiet, smart people are white. If Charlie is quiet then Charlie is red. If someone is nice then they are smart.
Dave is not green.
@0: Bob is green.[(triple1)] Bob is quiet.[(triple2)] Bob is red.[(triple3)] Bob is smart.[(triple4)] Bob is white.[(triple5 OR ((triple2 triple4) -> rule1))] Charlie is green.[(triple6)] Charlie is nice.[(triple7)] Charlie is quiet.[(triple8)] Charlie is white.[(triple9 OR ((triple8 ((triple7) -> rule3)) -> rule1))] Dave is big.[(triple10)] Dave is green.[(triple11)] Dave is nice.[(triple12)] Dave is quiet.[(triple13)] Dave is red.[(triple14)] Dave is smart.[(triple15 OR ((triple12) -> rule3))] Dave is white.[(triple16 OR ((triple13 triple15) -> rule1) OR ((triple13 ((triple12) -> rule3)) -> rule1))] @1: Charlie is red.[(((triple8) -> rule2))] Charlie is smart.[(((triple7) -> rule3))]