Discovering good links between objects in the internet of things