From 68a3ddb811b556d0bcc80520da8bf7684fc72a04 Mon Sep 17 00:00:00 2001 From: Justin Date: Wed, 22 Dec 2021 09:04:00 -0500 Subject: [PATCH] unneeded basic pattern --- .../com/github/sparqlanything/csv/CSVTriplifierTest.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sparql-anything-csv/src/test/java/com/github/sparqlanything/csv/CSVTriplifierTest.java b/sparql-anything-csv/src/test/java/com/github/sparqlanything/csv/CSVTriplifierTest.java index a1879ee2..6b433fa6 100644 --- a/sparql-anything-csv/src/test/java/com/github/sparqlanything/csv/CSVTriplifierTest.java +++ b/sparql-anything-csv/src/test/java/com/github/sparqlanything/csv/CSVTriplifierTest.java @@ -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 @@ -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();