Where are the SQL queries that populate the tables in the BBDW datawarehouse?

Im trying to figure out how the tables in the OLTP database join to populate the dim and fact tables in the datawarehouse. where can i find the SQL queries that populate the warehouse tables?