private void addPredicateToBuilder(@NotNull StringBuilder builder,@NotNull String predicate){
  builder.append(" ;\n");
  builder.append(predicate);
  builder.append(" ");
}

private void addPredicateToBuilder ( @ NotNull StringBuilder builder , @ NotNull String predicate ) { builder . append ( " ;\n" ) ; builder . append ( predicate ) ; builder . append ( " " ) ; }
method adds the predicate to the builder in turtle syntax : ends the previous predicate with a ; and a newline .
