this line in my code causes this exception
Uri endpoint = new Uri("http://dbpedia.org");
string query = "SELECT ?cat WHERE { <http://dbpedia.org/resource/London> dcterms:subject ?cat .}";
SparqlRemoteEndpoint source = new SparqlRemoteEndpoint(new Uri("http://dbpedia.org/sparql"), "http://dbpedia.org");
SparqlResultSet resultSet = new SparqlResultSet();
resultSet = source.=QueryWithResultSet(query);
help me please thanx