Jena result in UTF-8 format
- by john
How can I get in Jena (Java language) result in UTF-8 format?
My code:
Query query= QueryFactory.create(queryString);
QueryExecution qexec= QueryExecutionFactory.sparqlService("http://lod.openlinksw.com/sparql", queryString);
ResultSet results = qexec.execSelect();
List<QuerySolution> list = ResultSetFormatter.toList(results);
System.out.println(list.get(i).get("churchname"));