public class TestGraphNode {
@Test
public void nodeContext() {
MGraph g = new SimpleMGraph();
BNode bNode1 = new BNode() {};
BNode bNode2 = new BNode() {};
UriRef property1 = new UriRef("http://example.org/property1");
UriRef property2 = new UriRef("http://example.org/property2");
g.add(new TripleImpl(bNode1, property1, new PlainLiteralImpl("literal")));
g.add(new TripleImpl(bNode1, property2, property1));
g.add(new TripleImpl(bNode2, property2, bNode1));