Think about the kind of algorithms you would create to do things like automatically solving a sudoku puzzle. Or finding the ideal dimensions of a piece of furniture to fit in a small spot with certain constraints required on building that furniture. These are the kinds of problems that logic programming is well suited for, in fact they are rather trivial to do without having to construct an algorithm yourself.