diff --git a/.gitignore b/.gitignore index 37b5286..0f08d5c 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ hs_err_pid* target/ .project data/ +/bin/ diff --git a/pom.xml b/pom.xml index 27e9e5c..91334e3 100644 --- a/pom.xml +++ b/pom.xml @@ -19,6 +19,13 @@ + + + org.neo4j + neo4j-ast + 4.2.3 + + junit junit diff --git a/src/main/java/com/KRacR/s2c/App.java b/snippets/Query_jena.java similarity index 87% rename from src/main/java/com/KRacR/s2c/App.java rename to snippets/Query_jena.java index 9b75bbe..9cd8b44 100644 --- a/src/main/java/com/KRacR/s2c/App.java +++ b/snippets/Query_jena.java @@ -1,5 +1,3 @@ -package com.KRacR.s2c; - import org.neo4j.driver.*; import static org.neo4j.driver.Values.parameters; @@ -54,15 +52,16 @@ public void close() } } -public class App +public class Query_jena { public static void main( String[] args ) { - SmallExample example = new SmallExample("bolt://localhost:7687", "neo4j", "neo4jnew"); - example.addPerson("Ada"); - example.addPerson("Alice"); - example.addPerson("Bob"); - example.printPeople("A"); - example.close(); +// SmallExample example = new SmallExample("bolt://localhost:7687", "neo4j", "neo4jnew"); +// example.addPerson("Ada"); +// example.addPerson("Alice"); +// example.addPerson("Bob"); +// example.printPeople("A"); +// example.close(); + } } diff --git a/src/com/KRacR/s2c/App.java b/src/com/KRacR/s2c/App.java new file mode 100644 index 0000000..a3349c4 --- /dev/null +++ b/src/com/KRacR/s2c/App.java @@ -0,0 +1,8 @@ +package com.KRacR.s2c; + +import org.neo4j.cypher.*; + +public class App { + public static void main( String[] args ){ + } +} \ No newline at end of file