Add query for figure 3