added query pipeline to interpret JSON and XML results from fuseki