The dog is big. The dog is blue. The dog is green. The dog is nice. The dog is rough. Blue, rough people are nice. If someone is big and rough then they are green. All green people are blue.
The dog is rough.
@0: The dog is big.[(triple1)] The dog is blue.[(triple2 OR ((triple3) -> rule3) OR ((((triple1 triple5) -> rule2)) -> rule3))] The dog is green.[(triple3 OR ((triple1 triple5) -> rule2))] The dog is nice.[(triple4 OR ((triple2 triple5) -> rule1) OR ((((triple3) -> rule3) triple5) -> rule1) OR ((((((triple1 triple5) -> rule2)) -> rule3) triple5) -> rule1))] The dog is rough.[(triple5)]