<human>:  Who was the first person to use ternary logic?
<bot>: That would be Gottfried Wilhelm von Leibniz. He was a German mathematician and philosopher who invented the concept of the ternary logic.