Abstract: Computer-implemented methods, systems and program storage devices for knowledge graph based query generation are disclosed herein. A computer-implemented method includes storing electronically a knowledge graph that represents relationships between a plurality of knowledge models. Further steps include: receiving a query specification that identifies a knowledge model for a query dataset; determining with a computing device a path based on path cost criteria, where the path covers a portion of the knowledge graph across one or more knowledge models to one or more data sources; and generating an initial query plan according to one or more knowledge models along the determined path to fulfill the query specification with data from one or more data sources.