ADDED: Even if you disagree with ESR's take, and many will, this is the clearest definition I have seen on what qualia is. So it should present a useful starting point, even for those who strongly disagree, to argue from.
This applies to humans, who have fixed systems for different kinds of learning. If marty or mary were AI's they should be able to gain abilities through knowledge directly.
http://esr.ibiblio.org/?p=1192#more-1192
ADDED: Even if you disagree with ESR's take, and many will, this is the clearest definition I have seen on what qualia is. So it should present a useful starting point, even for those who strongly disagree, to argue from.