/// <summary>
 /// Convert SPARQL results parser into internal syntax name
 /// </summary>
 /// <param name="parser">SPARQL Results Parser</param>
 /// <returns>Internal Syntax Name</returns>
 public static String GetSyntaxName(this ISparqlResultsReader parser)
 {
     if (parser is SparqlJsonParser)
     {
         return("SparqlResultsJson");
     }
     else if (parser is SparqlXmlParser)
     {
         return("SparqlResultsXml");
     }
     else
     {
         return(parser.ToString());
     }
 }
 /// <summary>
 /// Gets the description of the parser.
 /// </summary>
 /// <returns></returns>
 public override string ToString()
 {
     return("GZipped " + _parser.ToString());
 }