Skip to content

Commit

Permalink
unneeded basic pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
justin2004 committed Dec 22, 2021
1 parent fae4782 commit 68a3ddb
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ public void testWithOnDiskGraph1 () throws IOException, TriplifierHTTPException
properties.setProperty("ondisk", "/tmp");
URL csv1 = getClass().getClassLoader().getResource("./test3.csv");
properties.setProperty(IRIArgument.LOCATION.toString(), csv1.toString());
BasicPattern bp = new BasicPattern();
bp.add(new Triple(NodeFactory.createVariable("s"), NodeFactory.createVariable("p"),
NodeFactory.createVariable("o")));
DatasetGraph graph = triplifier.triplify(properties, new BaseFacadeXBuilder(csv1.toString(), properties));

// end the write txn because triplifiers don't do that, FacadeXOpExecutor does
Expand All @@ -156,9 +153,6 @@ public void testWithOnDiskGraph2 () throws IOException, TriplifierHTTPException
properties.setProperty("ondisk", "/tmp");
URL csv1 = getClass().getClassLoader().getResource("./test1.csv");
properties.setProperty(IRIArgument.LOCATION.toString(), csv1.toString());
BasicPattern bp = new BasicPattern();
bp.add(new Triple(NodeFactory.createVariable("s"), NodeFactory.createVariable("p"),
NodeFactory.createVariable("o")));
DatasetGraph graph = triplifier.triplify(properties, new BaseFacadeXBuilder(csv1.toString(), properties));
// end the write txn because triplifiers don't do that, FacadeXOpExecutor does
graph.commit();
Expand Down

0 comments on commit 68a3ddb

Please sign in to comment.