return out;
}
private BooleanQueryResultWriter getBooleanResultWriter(String format, OutputStream os) {
//build outputwriter
final BooleanQueryResultWriter out;
if(format == null) {
out = QueryResultIO.createWriter(BooleanQueryResultFormat.SPARQL, os);
} else if(SparqlWritersHelper.parseSubType(format).equals("html")) {
out = new SPARQLBooleanHTMLWriter(os);
} else if(SparqlWritersHelper.parseSubType(format).equals("json")) {