public String toStringQuery(final QueryResult queryResult) {
return FederatedQuerySemiJoin.toStringQuery(this.surelyBoundVariablesInServiceCall, this.variablesInServiceCall, this.federatedQuery, queryResult);
}
public static String toStringQuery(final Set<Variable> surelyBoundVariablesInServiceCall, final Set<Variable> variablesInServiceCall, final Node federatedQuery, final QueryResult queryResult) {
final SPARQLParserVisitorImplementationDumper dumper = new SPARQLParserVisitorImplementationDumper() ;
String result = "SELECT * {" + federatedQuery.jjtGetChild(1).accept(dumper);
Iterator<Bindings> bindingsIterator = queryResult.oneTimeIterator();
if(bindingsIterator.hasNext()){
result = result.substring(0, result.length()-2);
result += "}Filter(";