Select *  + where {  ?Employee   rdf:type  emp:Employee }";This return
three individuals.

I use then it to assign to three radiobuttons but it assign one (same)
individual to all three radiobuttons. Where is the mistake in code.

while(result.hasNext()) {

 QuerySolution sol = result.nextSolution();

 RDFNode x=sol.getResource("?Employee");
 RDFNode x2=sol.getResource("?Employee");
RDFNode x3=sol.getResource("?Employee");
 rd1.setText(x.toString());
 rd2.setText(x2.toString());
rd3.setText(x3.toString());

Reply via email to