title: How to build SPARQL queries in java?
body: <p>Is there a library, which is able to build SPARQL queries programmatically like the <code>CriteriaBuilder</code> in JPA or to build the queries like with a <code>PreparedStatement</code> for SQL?</p>
  
  <p>Similar (for SQL): <a href="https://stackoverflow.com/questions/370818/cleanest-way-to-build-an-sql-string-in-java">Cleanest way to build an SQL string in Java</a></p>