Inhuman Cognition II

On the heels of this post, suggesting that chimps out-perform human beings on certain cognitive tasks, here's a video that shows the chimps' training, as well as humans attempting (and failing at) comparable feats of short-term memory. 

When I described this to a friend, he pointed out that many animals possess cognitive skills that  are distinct from our overall impression of their intelligence. For example, dogs appear to understand certain human communication modes (i.e. gestures, direction of gaze) better than chimps, our closest relatives. (Although there is some recent research that questions this finding.)  

How exactly are we to differentiate skills from intelligence? And to what degree is intelligence merely a function of what  we have been incentivized to process and perform successfully?