Partial Rule Example

[id: verb-found] $eat appears in input
  && $eat defined as {something humans often do}
  => interpretation(i want to $eat)


followingUpOn(verb-found)
  && $eat takes an object
  && $mushrooms appears in input
  && $mushrooms defined as {something humans often $eat}
  => interpretation(i want to $eat $mushrooms)


[test]
  input(blablablabla maybe sleep some, blah)
  && $sleep defined as {something humans often do}
    => interpretation(i want to sleep)

[test]
  input(blablablabla)
    => !interpretation($any)

[test]
  input(blablablabla make the door open please)
  && sleep defined as {something humans often do}
  && door defined as {something humans often open}
    => interpretation(i want to open door)