i found this on the internet. this is called the einstein's puzzle.
Here is the riddle:
Let us assume that there are five houses of different colors next to each other on the same road. In each house lives a man of a different nationality. Every man has his favorite drink, his favorite brand...