use of org.apache.jena.sparql.graph.GraphUnionRead in project jena by apache.
the class TestGraphUnionRead method gr_union_04.
@Test
public void gr_union_04() {
List<Node> gnodes = list(gn9);
Graph g = new GraphUnionRead(dsg, gnodes);
long x = Iter.count(g.find(null, null, null));
assertEquals(0, x);
}
use of org.apache.jena.sparql.graph.GraphUnionRead in project jena by apache.
the class TestGraphUnionRead method gr_union_01.
@Test
public void gr_union_01() {
List<Node> gnodes = list(gn1, gn2);
Graph g = new GraphUnionRead(dsg, gnodes);
long x = Iter.count(g.find(null, null, null));
assertEquals(3, x);
}
Aggregations