Visitor pattern - start

First steps in integrating the visitor pattern with the sparql client
to create an intermediate datastructure.