Chemical Principles of Topological Semimetals