Deterministic AST-derived knowledge graphs (DKB) achieve significantly higher correctness for complex architectural queries, scoring 15/15 on multi-hop tracing tasks where LLM-generated graphs managed 13/15 (with partials) and vector-only RAG scored 6/15, often hallucinating.