They would know I exist, and that I would massacre them every time they set foot on my yard, with my advanced chemical weapons of mass ant destruction. But they keep coming, and dying. They don't seem to be aware of me, let alone the solar system.
An ant as an individual is smart enough to recognize food and bring it back, do basic social behaviors. However, the real intelligence of ants is emergent from the entire colony.