Rework phone template to display sparql queries for debugging