@Test public void curiesInContextTest() throws IOException, JsonLdError { final InputStream in = getClass().getClassLoader().getResourceAsStream("testfiles/curies-in-context.jsonld"); final Object input = JSONUtils.fromInputStream(in); final ClerezzaTripleCallback callback = new ClerezzaTripleCallback(); final MGraph graph = (MGraph) JsonLdProcessor.toRDF(input, callback); for (final Triple t : graph) { System.out.println(t); assertTrue( "Predicate got fully expanded", t.getPredicate().getUnicodeString().startsWith("http")); } assertEquals("Graph size", 3, graph.size()); }