Using ef/at to select the nodes and get their types