RenderUtils { public static String toSPARQL(Value theValue) { StringBuilder aBuffer = toSPARQL(theValue, new StringBuilder()); return aBuffer.toString(); } private  RenderUtils(); @Deprecated static String getSPARQLQueryString(Value theValue); static String toSPARQL(Value theValue); static StringBuilder toSPARQL(Value value, StringBuilder builder); @Deprecated static String getSerqlQueryString(Value theValue); static String toSeRQL(Value theValue); static String escape(String theString);  }
@Test public void toSparqlWithLiteralSerialisesLanguageTag() { Value val = SimpleValueFactory.getInstance().createLiteral("test", "en"); assertEquals("\"\"\"test\"\"\"@en", RenderUtils.toSPARQL(val)); }