Great ape cognition is structured by stable cognitive abilities and predicted by developmental conditions - Nature Ecology & Evolution