http://en.wikipedia.org/wiki/Logic_programming