A Prompt-Based Knowledge Graph Foundation Model for Universal In-Context Reasoning