root(a). neighbor(a,b). neighbor(b,a). temperature(a, 10).