creating controller for demo sparql queries