Attribute inference in semantic network