ParsingProvider provider = new RdfJsonParsingProvider();
InputStream jsonIn = getClass().getResourceAsStream("test-subject-bnode.json");
MGraph parsedMGraph = new SimpleMGraph();
provider.parse(parsedMGraph, jsonIn, "application/rdf+json", null);
Assert.assertEquals(3, parsedMGraph.size());
Iterator<Triple> triples = parsedMGraph.filter(null, new UriRef("http://example.org/prop1"),
new UriRef("http://example.org/node1"));
Assert.assertTrue(triples.hasNext());
NonLiteral subject = triples.next().getSubject();
Assert.assertTrue(subject instanceof BNode);