We recommend using this method for customizing the Virtuoso SPARQL end point Form page using XSLT.
CategorySPARQL CategoryVirtuoso