DataSourceComponent partSource = ncg.generateDataSource("PART");
DataSourceComponent lineitemSource = ncg.generateDataSource("LINEITEM");
Component P_Ljoin = ncg.generateEquiJoin(partSource, lineitemSource);
DataSourceComponent partSuppSource = ncg.generateDataSource("PARTSUPP");
Component P_L_SPjoin = ncg.generateEquiJoin(P_Ljoin, partSuppSource);
DataSourceComponent ordersSource = ncg.generateDataSource("ORDERS");
Component P_L_SP_Ojoin = ncg.generateEquiJoin(P_L_SPjoin, ordersSource);
DataSourceComponent supplierSource = ncg.generateDataSource("SUPPLIER");
Component P_L_SP_O_Sjoin = ncg.generateEquiJoin(P_L_SP_Ojoin, supplierSource);
DataSourceComponent nationSource = ncg.generateDataSource("NATION");
ncg.generateEquiJoin(P_L_SP_O_Sjoin, nationSource);