The error is : Encountered " "(" "( "" at line 1, column 221. Was expecting one of: "graph" ... "optional" ... "minus" ... "bind" ... "service" ... "filter" ... "{" ... "}" ... ";" ... "," ... "." ...
On Sat, Oct 22, 2016 at 3:19 PM, Lorenz B. < buehm...@informatik.uni-leipzig.de> wrote: > Kumar, > > probably missing space between ?result and FILTER. Why don't you print > the String and show it to us? Nobody wants to read Java concatenated > String objects. > > Is the query correct? It gives me error, I think syntax error. > > > > "SELECT * " + > > " WHERE { ?student std:result ?result" > > + "FILTER ( ?student =' "+name+" ' ) " + > > > > "}"; > > > > name is java variable > > > -- > Lorenz Bühmann > AKSW group, University of Leipzig > Group: http://aksw.org - semantic web research center > >