Complex query answering (CQA) is an essential task for multi-hop and logical reasoning on knowledge graphs (KGs). Currently, most approaches are limited to queries among binary relational facts pay less attention n-ary (n≥2) containing more than two entities, which prevalent in the real world. Moreover, previous CQA methods can only make predictions a few given types of cannot be flexibly exten...