Bridging Data and Discovery: A Survey on Knowledge Graphs in AI for Science | Synapse