تگ: Graph-based Reasoning