E:\controlbot\controller\logicagent>ruby logicbot.rb Hello I have loaded E:/controlbot/controller/logicagent/logicagent-api.yaml. E:/controlbot/controller/logicagent/graph.yaml loaded. > reset graph Okay, I have reset the graph. > All Toyotas are cars. Okay, All Toyotas are cars. > Some cars are Porsches. Okay, Some cars are Porsches. > Are some Toyotas Porsches? I have no knowledge that some Toyotas are Porsches. > logicagent: if input =~ /^Therefore(?:,) (.*) (?:is|are) (.*)/i then response = self.send("is #{$1} #{$2}?") end Okay I have added if input =~ /^Therefore(?:,) (.*) (?:is|are) (.*)/i then response = self.send("is #{$1} #{$2}?") end. > Therefore, some Toyotas are Porsches. I have no knowledge that some Toyotas are Porsches. > All x are y. Okay, All x is y. > All y are z. Okay, All y is z. > All y includes y. Okay, All y = y. > Therefore, All x are z. Yes, All x is z. >