Suppose The Great Wall of China is the collective name of several walls that were constructed across the historical northern borders of China to protect and consolidate territories of Chinese states and empires. The most famous of the walls that still exist today is the wall built during the Ming Dynasty.
Can we infer that "The Great Wall of China was built to keep out invading armies."?