This is essentially a concept called the Semantic Web. Unfortunately our article on the topic hasn't yet attracted many Wikipedians who can describe it without resorting to gobbledygook.