Is an ideology a set of facts?

An ideology is not a set of facts, it is a set of opinions. The opinions generally do relate to facts in some way, but these opinions are conclusions based on those facts (or sometimes based on errors or delusions) rather than being factual in themselves.