type_deps for query part