Dave Beckett has packaged up sparql-query uploaded it to his own package repository: http://download.dajobe.org/debian/unstable/