DataSourceComponent regionSource = ncg.generateDataSource("REGION");
DataSourceComponent nationSource = ncg.generateDataSource("NATION");
Component R_Njoin = ncg.generateEquiJoin(regionSource, nationSource);
DataSourceComponent supplierSource = ncg.generateDataSource("SUPPLIER");
Component R_N_Sjoin = ncg.generateEquiJoin(R_Njoin, supplierSource);
DataSourceComponent lineitemSource = ncg.generateDataSource("LINEITEM");
Component R_N_S_Ljoin = ncg.generateEquiJoin(R_N_Sjoin, lineitemSource);
DataSourceComponent ordersSource = ncg.generateDataSource("ORDERS");
Component R_N_S_L_Ojoin = ncg.generateEquiJoin(R_N_S_Ljoin, ordersSource);
DataSourceComponent customerSource = ncg.generateDataSource("CUSTOMER");
ncg.generateEquiJoin(R_N_S_L_Ojoin, customerSource);