updated examples to use 2.7.1 and also added example of the sparql api for visiting bindings instead of accumulating them.