The dog is big. The dog is blue. The dog is green. The dog is nice. The dog is red. Blue, green people are red. All red, big people are green. All green people are blue.
The dog chases the dog.
@0: The dog is big.[(triple1)] The dog is blue.[(triple2 OR ((triple3) -> rule3) OR ((((triple5 triple1) -> rule2)) -> rule3))] The dog is green.[(triple3 OR ((triple5 triple1) -> rule2))] The dog is nice.[(triple4)] The dog is red.[(triple5 OR ((triple2 triple3) -> rule1) OR ((((triple3) -> rule3) triple3) -> rule1))]