I think you need to provide more information, before anyone can answer your questions.
What is the actual endpoint or dataset you are executing on? What is the code executing the query? On Wed, Apr 27, 2016 at 5:12 PM, mehmet mehmet <mehmettw...@gmail.com> wrote: > String queryString ="PREFIX dbr: <http://dbpedia.org/resource/> " + "PREFIX > dbprop:<http://dbpedia.org/property/>" + > > "SELECT * " + "WHERE {" + " dbr:Germany dbprop:capital ?x"+ "}" ; > > at the end I display it > > System.out.println(soln.getResource("x".toString())); > > > *But it displays nothing (no error message but no output)* > > *What is the problem in the code.*