@@ -0,0 +1,559 @@
+package org.arachb.api;%0A%0Apublic class SparqlBuilder %7B%0A%09%0A%09private final StringBuilder b = new StringBuilder(500);%0A%09%0A%09private SparqlBuilder()%7B%0A%09%09%0A%09%7D%0A%0A%09public static SparqlBuilder startSparql()%7B%0A%09%09return new SparqlBuilder();%0A%09%7D%0A%09%0A%09public void addText(String text, boolean engage)%7B%0A%09%09if (engage)%7B%0A%09%09%09b.append(String.format(text));%0A%09%09%7D%0A%09%7D%0A%09%0A%09public void addClause(String clauseBase, boolean engage)%7B%0A%09%09if (engage)%7B%0A%09%09%09b.append(%22       %22);%0A%09%09%09b.append(clauseBase);%0A%09%09%09b.append(String.format(%22. %25n%22));%0A%09%09%7D%0A%09%7D%0A%09%0A%09%0A%09public String finish()%7B%0A%09%09return b.toString();%0A%09%7D%0A%7D%0A

add simple class for building sparql expressions