diff --git a/tests/data/queries/core/dressipi_basic.txt b/tests/data/queries/core/dressipi_basic.txt deleted file mode 100644 index 01c308c6d..000000000 --- a/tests/data/queries/core/dressipi_basic.txt +++ /dev/null @@ -1,41 +0,0 @@ -CREATE (g:garment {garment_id: 1, garment_category_id: 1}) RETURN g -CREATE (g:garment {garment_id: 2, garment_category_id: 2}) RETURN g -CREATE (g:garment {garment_id: 3, garment_category_id: 3}) RETURN g - -MATCH (g:garment {garment_id: 3}) SET g.reveals = 50 RETURN g - -MERGE (g1:garment {garment_id: 1})-[r:default_outfit]-(g2:garment {garment_id: 2}) RETURN r -MERGE (g1:garment {garment_id: 2})-[r:default_outfit]-(g2:garment {garment_id: 3}) RETURN r -MERGE (g1:garment {garment_id: 3})-[r:default_outfit]-(g2:garment {garment_id: 1}) RETURN r - -CREATE (p:profile {profile_id: 1, partner_id: 1}) RETURN p -CREATE (p:profile {profile_id: 2, partner_id: 2}) RETURN p -CREATE (p:profile {profile_id: 3, partner_id: 2}) RETURN p - -MATCH (g:garment) RETURN COUNT(g) -MATCH (g:garment) RETURN g - -MATCH (p:profile) RETURN count(p) -MATCH (p:profile) RETURN p - -MATCH (g:garment {garment_id: 1}) RETURN g -MATCH (p:profile {partner_id: 1}) RETURN p - -MATCH (n) RETURN count(n) - -MATCH (g:garment {garment_id: 2}) SET g:FF RETURN labels(g) - -MERGE (p:profile {profile_id: 1, partner_id: 1})-[s:score]-(g.garment {garment_id: 1}) SET s.score = 1500 RETURN s -MATCH (p:profile {profile_id: 1, partner_id: 1})-[s:score]-(g:garment {garment_id: 1}) SET s.score = 1550 RETURN s.score -MATCH (p:profile {profile_id: 1, partner_id: 1})-[s:score]-(g.garment {garment_id: 1}) DELETE s - -MATCH (g:garment {garment_id: 1}) DELETE g -MATCH (p:profile {profile_id: 1}) DELETE p - -MATCH (n) RETURN count(n) - -MATCH (g:garment) RETURN COUNT(g) - -MATCH (n) DETACH DELETE n - -MATCH (n) RETURN count(n) diff --git a/tests/data/queries/core/dressipi_graph.txt b/tests/data/queries/core/dressipi_graph.txt deleted file mode 100644 index 9077a9411..000000000 --- a/tests/data/queries/core/dressipi_graph.txt +++ /dev/null @@ -1,70 +0,0 @@ -CREATE (g:garment {garment_id: 1234, garment_category_id: 1, conceals: 30}) RETURN g -MATCH(g:garment {garment_id: 1234}) SET g:AA RETURN g -MATCH(g:garment {garment_id: 1234}) SET g:BB RETURN g -MATCH(g:garment {garment_id: 1234}) SET g:EE RETURN g -CREATE (g:garment {garment_id: 2345, garment_category_id: 6, reveals: 10}) RETURN g -MATCH(g:garment {garment_id: 2345}) SET g:CC RETURN g -MATCH(g:garment {garment_id: 2345}) SET g:DD RETURN g -CREATE (g:garment {garment_id: 3456, garment_category_id: 8}) RETURN g -MATCH(g:garment {garment_id: 3456}) SET g:CC RETURN g -MATCH(g:garment {garment_id: 3456}) SET g:DD RETURN g -CREATE (g:garment {garment_id: 4567, garment_category_id: 15}) RETURN g -MATCH(g:garment {garment_id: 4567}) SET g:AA RETURN g -MATCH(g:garment {garment_id: 4567}) SET g:BB RETURN g -MATCH(g:garment {garment_id: 4567}) SET g:DD RETURN g -CREATE (g:garment {garment_id: 5678, garment_category_id: 19}) RETURN g -MATCH(g:garment {garment_id: 5678}) SET g:BB RETURN g -MATCH(g:garment {garment_id: 5678}) SET g:CC RETURN g -MATCH(g:garment {garment_id: 5678}) SET g:EE RETURN g -CREATE (g:garment {garment_id: 6789, garment_category_id: 3}) RETURN g -MATCH(g:garment {garment_id: 6789}) SET g:AA RETURN g -MATCH(g:garment {garment_id: 6789}) SET g:DD RETURN g -MATCH(g:garment {garment_id: 6789}) SET g:EE RETURN g -CREATE (g:garment {garment_id: 7890, garment_category_id: 25}) RETURN g -MATCH(g:garment {garment_id: 7890}) SET g:AA RETURN g -MATCH(g:garment {garment_id: 7890}) SET g:BB RETURN g -MATCH(g:garment {garment_id: 7890}) SET g:CC RETURN g -MATCH(g:garment {garment_id: 7890}) SET g:EE RETURN g - -MATCH (g1:garment {garment_id: 1234}), (g2:garment {garment_id: 4567}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 1234}), (g2:garment {garment_id: 5678}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 1234}), (g2:garment {garment_id: 6789}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 1234}), (g2:garment {garment_id: 7890}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 4567}), (g2:garment {garment_id: 6789}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 4567}), (g2:garment {garment_id: 7890}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 4567}), (g2:garment {garment_id: 5678}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 6789}), (g2:garment {garment_id: 7890}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 5678}), (g2:garment {garment_id: 7890}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 2345}), (g2:garment {garment_id: 3456}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 2345}), (g2:garment {garment_id: 5678}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 2345}), (g2:garment {garment_id: 6789}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 2345}), (g2:garment {garment_id: 7890}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 2345}), (g2:garment {garment_id: 4567}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 3456}), (g2:garment {garment_id: 5678}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 3456}), (g2:garment {garment_id: 6789}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 3456}), (g2:garment {garment_id: 7890}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 3456}), (g2:garment {garment_id: 4567}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r - -CREATE (p:profile {profile_id: 111, partner_id: 55, reveals: 30}) RETURN p -CREATE (p:profile {profile_id: 112, partner_id: 55}) RETURN p -CREATE (p:profile {profile_id: 112, partner_id: 77, conceals: 10}) RETURN p - -MATCH (p:profile {profile_id: 111, partner_id: 55}), (g:garment {garment_id: 1234}) CREATE (p)-[s:score]->(g) SET s.score=1500 RETURN s -MATCH (p:profile {profile_id: 111, partner_id: 55}), (g:garment {garment_id: 2345}) CREATE (p)-[s:score]->(g) SET s.score=1200 RETURN s -MATCH (p:profile {profile_id: 111, partner_id: 55}), (g:garment {garment_id: 3456}) CREATE (p)-[s:score]->(g) SET s.score=1000 RETURN s -MATCH (p:profile {profile_id: 111, partner_id: 55}), (g:garment {garment_id: 4567}) CREATE (p)-[s:score]->(g) SET s.score=1000 RETURN s -MATCH (p:profile {profile_id: 111, partner_id: 55}), (g:garment {garment_id: 6789}) CREATE (p)-[s:score]->(g) SET s.score=1500 RETURN s -MATCH (p:profile {profile_id: 111, partner_id: 55}), (g:garment {garment_id: 7890}) CREATE (p)-[s:score]->(g) SET s.score=1800 RETURN s -MATCH (p:profile {profile_id: 112, partner_id: 55}), (g:garment {garment_id: 1234}) CREATE (p)-[s:score]->(g) SET s.score=2000 RETURN s -MATCH (p:profile {profile_id: 112, partner_id: 55}), (g:garment {garment_id: 4567}) CREATE (p)-[s:score]->(g) SET s.score=1500 RETURN s -MATCH (p:profile {profile_id: 112, partner_id: 55}), (g:garment {garment_id: 5678}) CREATE (p)-[s:score]->(g) SET s.score=1000 RETURN s -MATCH (p:profile {profile_id: 112, partner_id: 55}), (g:garment {garment_id: 6789}) CREATE (p)-[s:score]->(g) SET s.score=1600 RETURN s -MATCH (p:profile {profile_id: 112, partner_id: 55}), (g:garment {garment_id: 7890}) CREATE (p)-[s:score]->(g) SET s.score=1900 RETURN s -MATCH (p:profile {profile_id: 112, partner_id: 77}), (g:garment {garment_id: 1234}) CREATE (p)-[s:score]->(g) SET s.score=1500 RETURN s -MATCH (p:profile {profile_id: 112, partner_id: 77}), (g:garment {garment_id: 2345}) CREATE (p)-[s:score]->(g) SET s.score=1300 RETURN s -MATCH (p:profile {profile_id: 112, partner_id: 77}), (g:garment {garment_id: 3456}) CREATE (p)-[s:score]->(g) SET s.score=1300 RETURN s -MATCH (p:profile {profile_id: 112, partner_id: 77}), (g:garment {garment_id: 5678}) CREATE (p)-[s:score]->(g) SET s.score=1200 RETURN s -MATCH (p:profile {profile_id: 112, partner_id: 77}), (g:garment {garment_id: 6789}) CREATE (p)-[s:score]->(g) SET s.score=1700 RETURN s -MATCH (p:profile {profile_id: 112, partner_id: 77}), (g:garment {garment_id: 7890}) CREATE (p)-[s:score]->(g) SET s.score=1900 RETURN s - -MATCH (a:garment)-[:default_outfit]-(b:garment)-[:default_outfit]-(c:garment)-[:default_outfit]-(d:garment)-[:default_outfit]-(a:garment)-[:default_outfit]-(c:garment), (b:garment)-[:default_outfit]-(d:garment) WHERE a.garment_id = 1234 RETURN a.garment_id, b.garment_id, c.garment_id, d.garment_id ORDER BY (a.score + b.score + c.score + d.score) DESC LIMIT 10 diff --git a/tests/data/queries/core/mg_basic_000.txt b/tests/data/queries/core/mg_basic_000.txt deleted file mode 100644 index 8482d042a..000000000 --- a/tests/data/queries/core/mg_basic_000.txt +++ /dev/null @@ -1,4 +0,0 @@ -CREATE (g:garment {garment_id: 1234, garment_category_id: 1}) RETURN g -CREATE (g:garment {garment_id: 1235, garment_category_id: 1}) RETURN g -CREATE (p:profile {profile_id: 111, partner_id: 55}) RETURN p -CREATE (p:profile {profile_id: 112, partner_id: 55}) RETURN p diff --git a/tests/data/queries/core/mg_basic_001.txt b/tests/data/queries/core/mg_basic_001.txt deleted file mode 100644 index 6790318b4..000000000 --- a/tests/data/queries/core/mg_basic_001.txt +++ /dev/null @@ -1,30 +0,0 @@ -CREATE (n:LABEL {name: "TEST01"}) RETURN n -CREATE (n:LABEL {name: "TEST02"}) RETURN n -CREATE (n:LABEL {name: "TEST2"}) RETURN n -CREATE (n:LABEL {name: "TEST3"}) RETURN n -CREATE (n:ACCOUNT {id: 2322, name: "TEST", country: "Croatia", "created_at": 2352352}) RETURN n -MATCH (n {id: 0}) RETURN n -MATCH (n {id: 1}) RETURN n -MATCH (n {id: 2}) RETURN n -MATCH (n {id: 3}) RETURN n -MATCH (a {id:0}), (p {id: 1}) CREATE (a)-[r:IS]->(p) RETURN r -MATCH (a {id:1}), (p {id: 2}) CREATE (a)-[r:IS]->(p) RETURN r -MATCH ()-[r]-() WHERE ID(r)=0 RETURN r -MATCH ()-[r]-() WHERE ID(r)=1 RETURN r -MATCH (n {id: 0}) SET n.name = "TEST100" RETURN n -MATCH (n {id: 1}) SET n.name = "TEST101" RETURN n -MATCH (n {id: 0}) SET n.name = "TEST102" RETURN n -MATCH (n:LABEL) RETURN n -MATCH (n1), (n2) WHERE ID(n1)=0 AND ID(n2)=1 CREATE (n1)<-[r:IS {age: 25,weight: 70}]-(n2) RETURN r -MATCH (n) RETURN n -MATCH (n:LABEL) RETURN n -MATCH (n) DELETE n -MATCH (n:LABEL) DELETE n -MATCH (n) WHERE ID(n) = 0 DELETE n -MATCH ()-[r]-() WHERE ID(r) = 0 DELETE r -MATCH ()-[r]-() DELETE r -MATCH ()-[r:TYPE]-() DELETE r -MATCH (n)-[:TYPE]->(m) WHERE ID(n) = 0 RETURN m -MATCH (n)-[:TYPE]->(m) WHERE n.name = "kruno" RETURN m -MATCH (n)-[:TYPE]->(m) WHERE n.name = "kruno" RETURN n,m -MATCH (n:LABEL)-[:TYPE]->(m) RETURN n diff --git a/tests/data/queries/core/mg_basic_002.txt b/tests/data/queries/core/mg_basic_002.txt deleted file mode 100644 index e3e7dc8f4..000000000 --- a/tests/data/queries/core/mg_basic_002.txt +++ /dev/null @@ -1,94 +0,0 @@ -MATCH (n) DETACH DELETE n -CREATE (g:garment {garment_id: 1234, garment_category_id: 1, conceals: 30}) RETURN g -MATCH(g:garment {garment_id: 1234}) SET g:AA RETURN g -MATCH(g:garment {garment_id: 1234}) SET g:BB RETURN g -MATCH(g:garment {garment_id: 1234}) SET g:EE RETURN g - -CREATE (g:garment {garment_id: 2345, garment_category_id: 6, reveals: 10}) RETURN g -MATCH(g:garment {garment_id: 2345}) SET g:CC RETURN g -MATCH(g:garment {garment_id: 2345}) SET g:DD RETURN g - -CREATE (g:garment {garment_id: 3456, garment_category_id: 8}) RETURN g -MATCH(g:garment {garment_id: 3456}) SET g:CC RETURN g -MATCH(g:garment {garment_id: 3456}) SET g:DD RETURN g - -CREATE (g:garment {garment_id: 4567, garment_category_id: 15}) RETURN g -MATCH(g:garment {garment_id: 4567}) SET g:AA RETURN g -MATCH(g:garment {garment_id: 4567}) SET g:BB RETURN g -MATCH(g:garment {garment_id: 4567}) SET g:DD RETURN g - -CREATE (g:garment {garment_id: 5678, garment_category_id: 19}) RETURN g -MATCH(g:garment {garment_id: 5678}) SET g:BB RETURN g -MATCH(g:garment {garment_id: 5678}) SET g:CC RETURN g -MATCH(g:garment {garment_id: 5678}) SET g:EE RETURN g - -CREATE (g:garment {garment_id: 6789, garment_category_id: 3}) RETURN g -MATCH(g:garment {garment_id: 6789}) SET g:AA RETURN g -MATCH(g:garment {garment_id: 6789}) SET g:DD RETURN g -MATCH(g:garment {garment_id: 6789}) SET g:EE RETURN g - -CREATE (g:garment {garment_id: 7890, garment_category_id: 25}) RETURN g -MATCH(g:garment {garment_id: 7890}) SET g:AA RETURN g -MATCH(g:garment {garment_id: 7890}) SET g:BB RETURN g -MATCH(g:garment {garment_id: 7890}) SET g:CC RETURN g -MATCH(g:garment {garment_id: 7890}) SET g:EE RETURN g - -MATCH (g1:garment {garment_id: 1234}), (g2:garment {garment_id: 4567}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 1234}), (g2:garment {garment_id: 5678}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 1234}), (g2:garment {garment_id: 6789}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 1234}), (g2:garment {garment_id: 7890}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r - -MATCH (g1:garment {garment_id: 4567}), (g2:garment {garment_id: 6789}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 4567}), (g2:garment {garment_id: 7890}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 4567}), (g2:garment {garment_id: 5678}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r - -MATCH (g1:garment {garment_id: 6789}), (g2:garment {garment_id: 7890}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r - -MATCH (g1:garment {garment_id: 5678}), (g2:garment {garment_id: 7890}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r - -MATCH (g1:garment {garment_id: 2345}), (g2:garment {garment_id: 3456}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 2345}), (g2:garment {garment_id: 5678}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 2345}), (g2:garment {garment_id: 6789}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 2345}), (g2:garment {garment_id: 7890}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 2345}), (g2:garment {garment_id: 4567}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r - -MATCH (g1:garment {garment_id: 3456}), (g2:garment {garment_id: 5678}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 3456}), (g2:garment {garment_id: 6789}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 3456}), (g2:garment {garment_id: 7890}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r -MATCH (g1:garment {garment_id: 3456}), (g2:garment {garment_id: 4567}) CREATE (g1)-[r:default_outfit]->(g2) RETURN r - - -CREATE (p:profile {profile_id: 111, partner_id: 55, reveals: 30}) RETURN p -CREATE (p:profile {profile_id: 112, partner_id: 55}) RETURN p -CREATE (p:profile {profile_id: 112, partner_id: 77, conceals: 10}) RETURN p - -MATCH (p:profile {profile_id: 111, partner_id: 55}), (g:garment {garment_id: 1234}) CREATE (p)-[s:score]->(g) SET s.score=1500 RETURN s -MATCH (p:profile {profile_id: 111, partner_id: 55}), (g:garment {garment_id: 2345}) CREATE (p)-[s:score]->(g) SET s.score=1200 RETURN s -MATCH (p:profile {profile_id: 111, partner_id: 55}), (g:garment {garment_id: 3456}) CREATE (p)-[s:score]->(g) SET s.score=1000 RETURN s -MATCH (p:profile {profile_id: 111, partner_id: 55}), (g:garment {garment_id: 4567}) CREATE (p)-[s:score]->(g) SET s.score=1000 RETURN s -MATCH (p:profile {profile_id: 111, partner_id: 55}), (g:garment {garment_id: 6789}) CREATE (p)-[s:score]->(g) SET s.score=1500 RETURN s -MATCH (p:profile {profile_id: 111, partner_id: 55}), (g:garment {garment_id: 7890}) CREATE (p)-[s:score]->(g) SET s.score=1800 RETURN s - -MATCH (p:profile {profile_id: 112, partner_id: 55}), (g:garment {garment_id: 1234}) CREATE (p)-[s:score]->(g) SET s.score=2000 RETURN s -MATCH (p:profile {profile_id: 112, partner_id: 55}), (g:garment {garment_id: 4567}) CREATE (p)-[s:score]->(g) SET s.score=1500 RETURN s -MATCH (p:profile {profile_id: 112, partner_id: 55}), (g:garment {garment_id: 5678}) CREATE (p)-[s:score]->(g) SET s.score=1000 RETURN s -MATCH (p:profile {profile_id: 112, partner_id: 55}), (g:garment {garment_id: 6789}) CREATE (p)-[s:score]->(g) SET s.score=1600 RETURN s -MATCH (p:profile {profile_id: 112, partner_id: 55}), (g:garment {garment_id: 7890}) CREATE (p)-[s:score]->(g) SET s.score=1900 RETURN s - -MATCH (p:profile {profile_id: 112, partner_id: 77}), (g:garment {garment_id: 1234}) CREATE (p)-[s:score]->(g) SET s.score=1500 RETURN s -MATCH (p:profile {profile_id: 112, partner_id: 77}), (g:garment {garment_id: 2345}) CREATE (p)-[s:score]->(g) SET s.score=1300 RETURN s -MATCH (p:profile {profile_id: 112, partner_id: 77}), (g:garment {garment_id: 3456}) CREATE (p)-[s:score]->(g) SET s.score=1300 RETURN s -MATCH (p:profile {profile_id: 112, partner_id: 77}), (g:garment {garment_id: 5678}) CREATE (p)-[s:score]->(g) SET s.score=1200 RETURN s -MATCH (p:profile {profile_id: 112, partner_id: 77}), (g:garment {garment_id: 6789}) CREATE (p)-[s:score]->(g) SET s.score=1700 RETURN s -MATCH (p:profile {profile_id: 112, partner_id: 77}), (g:garment {garment_id: 7890}) CREATE (p)-[s:score]->(g) SET s.score=1900 RETURN s - - -MATCH (g:garment {garment_id: 1234}) RETURN g -MATCH (p:profile {profile_id: 112, partner_id: 77}) RETURN p -MATCH (p:profile {profile_id: 112, partner_id: 77})-[s:score]-(g:garment {garment_id: 1234}) RETURN s -MATCH (p:profile {profile_id: 112, partner_id: 77})-[s:score]-(g:garment {garment_id: 1234}) SET s.score = 3137 RETURN s -MATCH (p:profile {profile_id: 112, partner_id: 77})-[s:score]-(g:garment {garment_id: 1234}) SET s.score = 1500 RETURN s - -MATCH (a:garment)-[:default_outfit]-(b:garment)-[:default_outfit]-(c:garment)-[:default_outfit]-(d:garment)-[:default_outfit]-(a:garment)-[:default_outfit]-(c:garment), (b:garment)-[:default_outfit]-(d:garment) WHERE a.garment_id=1234 RETURN a.garment_id,b.garment_id,c.garment_id,d.garment_id -MATCH (a:garment)-[:default_outfit]-(b:garment)-[:default_outfit]-(c:garment)-[:default_outfit]-(d:garment)-[:default_outfit]-(a:garment)-[:default_outfit]-(c:garment), (b:garment)-[:default_outfit]-(d:garment), (e:profile {profile_id: 112, partner_id: 55})-[s1:score]-(a:garment),(e:profile {profile_id: 112, partner_id: 55})-[s2:score]-(b:garment), (e:profile {profile_id: 112, partner_id: 55})-[s3:score]-(c:garment), (e:profile {profile_id: 112, partner_id: 55})-[s4:score]-(d:garment) WHERE a.garment_id=1234 RETURN a.garment_id,b.garment_id,c.garment_id,d.garment_id, s1.score+s2.score+s3.score+s4.score ORDER BY s1.score+s2.score+s3.score+s4.score DESC LIMIT 10 - diff --git a/tests/data/queries/cypher/complex/fraudulent_transactions_query2.cypher b/tests/data/queries/cypher/complex/fraudulent_transactions_query2.cypher deleted file mode 100644 index 222fb906a..000000000 --- a/tests/data/queries/cypher/complex/fraudulent_transactions_query2.cypher +++ /dev/null @@ -1 +0,0 @@ -# MATCH (victim:Person)-[r:HAS_BOUGHT_AT]->(merchant) WHERE r.status = "Disputed" RETURN victim.name AS `Customer Name`, merchant.name AS `Store Name`, r.amount AS Amount, r.time AS `Transaction Time` diff --git a/tests/data/queries/cypher/complex/powerlinx_opportunities.cypher b/tests/data/queries/cypher/complex/powerlinx_opportunities.cypher deleted file mode 100644 index 0e92c6d94..000000000 --- a/tests/data/queries/cypher/complex/powerlinx_opportunities.cypher +++ /dev/null @@ -1 +0,0 @@ -MATCH (p:Personnel)-[:CREATED]->(o:Opportunity)-[:HAS_MATCH]->(c:Company {identifier: "321"}) RETURN (a:Account {prop: "123"})-[:IS]->(p) diff --git a/tests/data/queries/cypher/read-write/match-delete.cypher b/tests/data/queries/cypher/read-write/match-delete.cypher deleted file mode 100644 index 2452dd48f..000000000 --- a/tests/data/queries/cypher/read-write/match-delete.cypher +++ /dev/null @@ -1 +0,0 @@ -MATCH (n) DELETE n diff --git a/tests/data/queries/cypher/read-write/match-set-return.cypher b/tests/data/queries/cypher/read-write/match-set-return.cypher deleted file mode 100644 index f5cb83248..000000000 --- a/tests/data/queries/cypher/read-write/match-set-return.cypher +++ /dev/null @@ -1 +0,0 @@ -MATCH (n {surname:"Neville"}) SET n.surname="Neville", n.age=30 RETURN n diff --git a/tests/data/queries/cypher/read-write/match-set.cypher b/tests/data/queries/cypher/read-write/match-set.cypher deleted file mode 100644 index 0806e0cfd..000000000 --- a/tests/data/queries/cypher/read-write/match-set.cypher +++ /dev/null @@ -1 +0,0 @@ -MATCH (n {age: 30, role: "player"}) SET n.age=31 diff --git a/tests/data/queries/cypher/read-write/match-where-delete.cypher b/tests/data/queries/cypher/read-write/match-where-delete.cypher deleted file mode 100644 index 1da6e5f77..000000000 --- a/tests/data/queries/cypher/read-write/match-where-delete.cypher +++ /dev/null @@ -1 +0,0 @@ -MATCH (n:Person) WHERE n.name="Alice" DELETE n diff --git a/tests/data/queries/cypher/read/match/match-custom1.cypher b/tests/data/queries/cypher/read/match/match-custom1.cypher deleted file mode 100644 index 3c3b95423..000000000 --- a/tests/data/queries/cypher/read/match/match-custom1.cypher +++ /dev/null @@ -1 +0,0 @@ -MATCH (user:User { name: 'Dominik', age: 8 + 4})-[has:HAS|IS|CAN { duration: 'PERMANENT'}]->(item:Item)--(shop) RETURN shop diff --git a/tests/data/queries/cypher/read/match/match-custom2.cypher b/tests/data/queries/cypher/read/match/match-custom2.cypher deleted file mode 100644 index 10f9b1f8d..000000000 --- a/tests/data/queries/cypher/read/match/match-custom2.cypher +++ /dev/null @@ -1 +0,0 @@ -MATCH (user:User { name: 'Dominik', age: 24})-[has:HAS]->(item:Item) WHERE item.name = 'XPS 13' AND item.price = 11999.99 RETURN user, has, item diff --git a/tests/data/queries/cypher/read/match/match-n-m.cypher b/tests/data/queries/cypher/read/match/match-n-m.cypher deleted file mode 100644 index c6e4c04a1..000000000 --- a/tests/data/queries/cypher/read/match/match-n-m.cypher +++ /dev/null @@ -1 +0,0 @@ -MATCH (n)-->(m) RETURN n diff --git a/tests/data/queries/cypher/read/match/match-optional.cypher b/tests/data/queries/cypher/read/match/match-optional.cypher deleted file mode 100644 index 2932b9df9..000000000 --- a/tests/data/queries/cypher/read/match/match-optional.cypher +++ /dev/null @@ -1 +0,0 @@ -# OPTIONAL MATCH (n)-[r]->(m) RETURN n diff --git a/tests/data/queries/cypher/read/match/match-path.cypher b/tests/data/queries/cypher/read/match/match-path.cypher deleted file mode 100644 index b3472c5c9..000000000 --- a/tests/data/queries/cypher/read/match/match-path.cypher +++ /dev/null @@ -1 +0,0 @@ -# MATCH p = (n:Person)-->(m:Dog {name: 'Bos'}) RETURN p diff --git a/tests/data/queries/cypher/read/match/match-property.cypher b/tests/data/queries/cypher/read/match/match-property.cypher deleted file mode 100644 index 7ef94e06a..000000000 --- a/tests/data/queries/cypher/read/match/match-property.cypher +++ /dev/null @@ -1 +0,0 @@ -# MATCH (n {name:'Alice'})-->(m) RETURN m diff --git a/tests/data/queries/cypher/read/match/match-where.cypher b/tests/data/queries/cypher/read/match/match-where.cypher deleted file mode 100644 index 502d035e8..000000000 --- a/tests/data/queries/cypher/read/match/match-where.cypher +++ /dev/null @@ -1 +0,0 @@ -# MATCH (n:Person)-[:KNOWS]->(m:Person) WHERE n.name="Alice" RETURN m diff --git a/tests/data/queries/cypher/read/return/return-alias.cypher b/tests/data/queries/cypher/read/return/return-alias.cypher deleted file mode 100644 index 4a6b5b12c..000000000 --- a/tests/data/queries/cypher/read/return/return-alias.cypher +++ /dev/null @@ -1 +0,0 @@ -# MATCH (n) RETURN n AS columnName diff --git a/tests/data/queries/cypher/read/return/return-all.cypher b/tests/data/queries/cypher/read/return/return-all.cypher deleted file mode 100644 index 218579589..000000000 --- a/tests/data/queries/cypher/read/return/return-all.cypher +++ /dev/null @@ -1 +0,0 @@ -MATCH (n) RETURN n diff --git a/tests/data/queries/cypher/read/return/return-count.cypher b/tests/data/queries/cypher/read/return/return-count.cypher deleted file mode 100644 index f13d1d234..000000000 --- a/tests/data/queries/cypher/read/return/return-count.cypher +++ /dev/null @@ -1 +0,0 @@ -# RETURN count(*) diff --git a/tests/data/queries/cypher/read/return/return-distinct.cypher b/tests/data/queries/cypher/read/return/return-distinct.cypher deleted file mode 100644 index 07dad7cbe..000000000 --- a/tests/data/queries/cypher/read/return/return-distinct.cypher +++ /dev/null @@ -1 +0,0 @@ -MATCH (n) RETURN DISTINCT n diff --git a/tests/data/queries/cypher/read/return/return-limit.cypher b/tests/data/queries/cypher/read/return/return-limit.cypher deleted file mode 100644 index ffecb7297..000000000 --- a/tests/data/queries/cypher/read/return/return-limit.cypher +++ /dev/null @@ -1 +0,0 @@ -# LIMIT 10 diff --git a/tests/data/queries/cypher/read/return/return-list-001.cypher b/tests/data/queries/cypher/read/return/return-list-001.cypher deleted file mode 100644 index 8b58c9a49..000000000 --- a/tests/data/queries/cypher/read/return/return-list-001.cypher +++ /dev/null @@ -1 +0,0 @@ -MATCH (test) RETURN test, test.property, "test" = "test", test.property > 5 diff --git a/tests/data/queries/cypher/read/return/return-order-asc.cypher b/tests/data/queries/cypher/read/return/return-order-asc.cypher deleted file mode 100644 index b287c962a..000000000 --- a/tests/data/queries/cypher/read/return/return-order-asc.cypher +++ /dev/null @@ -1 +0,0 @@ -# ORDER BY n.property diff --git a/tests/data/queries/cypher/read/return/return-order-desc.cypher b/tests/data/queries/cypher/read/return/return-order-desc.cypher deleted file mode 100644 index bc11c605a..000000000 --- a/tests/data/queries/cypher/read/return/return-order-desc.cypher +++ /dev/null @@ -1 +0,0 @@ -# ORDER BY n.property DESC diff --git a/tests/data/queries/cypher/read/return/return-skip-limit.cypher b/tests/data/queries/cypher/read/return/return-skip-limit.cypher deleted file mode 100644 index d813feb47..000000000 --- a/tests/data/queries/cypher/read/return/return-skip-limit.cypher +++ /dev/null @@ -1 +0,0 @@ -# SKIP 2 LIMIT 3 diff --git a/tests/data/queries/cypher/read/return/return-skip.cypher b/tests/data/queries/cypher/read/return/return-skip.cypher deleted file mode 100644 index cb9dc5e06..000000000 --- a/tests/data/queries/cypher/read/return/return-skip.cypher +++ /dev/null @@ -1 +0,0 @@ -# SKIP 10 diff --git a/tests/data/queries/cypher/read/union/union-all.cypher b/tests/data/queries/cypher/read/union/union-all.cypher deleted file mode 100644 index dbb1a7b10..000000000 --- a/tests/data/queries/cypher/read/union/union-all.cypher +++ /dev/null @@ -1 +0,0 @@ -# MATCH (a)-[:KNOWS]->(b) RETURN b.name UNION ALL MATCH (a)-[:LOVES]->(b) RETURN b.name diff --git a/tests/data/queries/cypher/read/union/union.cypher b/tests/data/queries/cypher/read/union/union.cypher deleted file mode 100644 index a2ac13d4f..000000000 --- a/tests/data/queries/cypher/read/union/union.cypher +++ /dev/null @@ -1 +0,0 @@ -# MATCH (a)-[:KNOWS]->(b) RETURN b.name UNION MATCH (a)-[:LOVES]->(b) RETURN b.name diff --git a/tests/data/queries/cypher/read/where/where.cypher b/tests/data/queries/cypher/read/where/where.cypher deleted file mode 100644 index 0310fd8df..000000000 --- a/tests/data/queries/cypher/read/where/where.cypher +++ /dev/null @@ -1 +0,0 @@ -# MATCH n WHERE n.property <> "100" diff --git a/tests/data/queries/cypher/read/with/match-with-order-skip-limit.cypher b/tests/data/queries/cypher/read/with/match-with-order-skip-limit.cypher deleted file mode 100644 index fb01321bb..000000000 --- a/tests/data/queries/cypher/read/with/match-with-order-skip-limit.cypher +++ /dev/null @@ -1 +0,0 @@ -# MATCH (user)-[:FRIEND]-(friend) WITH user, count(friend) AS friends ORDER BY friends DESC SKIP 1 LIMIT 3 RETURN user diff --git a/tests/data/queries/cypher/read/with/match-with-where.cypher b/tests/data/queries/cypher/read/with/match-with-where.cypher deleted file mode 100644 index 084860954..000000000 --- a/tests/data/queries/cypher/read/with/match-with-where.cypher +++ /dev/null @@ -1 +0,0 @@ -# MATCH (user)-[:FRIEND]-(friend) WHERE user.name = "test" WITH user, count(friend) AS friends WHERE friends > 10 RETURN user diff --git a/tests/data/queries/cypher/sprint_0/query_00.cypher b/tests/data/queries/cypher/sprint_0/query_00.cypher deleted file mode 100644 index 53751af0d..000000000 --- a/tests/data/queries/cypher/sprint_0/query_00.cypher +++ /dev/null @@ -1 +0,0 @@ -CREATE (n {id: 2322, name: "TEST", country: "Croatia", created_at: 2352352}) RETURN n diff --git a/tests/data/queries/cypher/sprint_0/query_01.cypher b/tests/data/queries/cypher/sprint_0/query_01.cypher deleted file mode 100644 index 327ada68f..000000000 --- a/tests/data/queries/cypher/sprint_0/query_01.cypher +++ /dev/null @@ -1 +0,0 @@ -CREATE (n:ACCOUNT:PERSON {id: 2322, name: "TEST", country: "Croatia", created_at: 2352352}) RETURN n diff --git a/tests/data/queries/cypher/sprint_0/query_02.cypher b/tests/data/queries/cypher/sprint_0/query_02.cypher deleted file mode 100644 index c90753561..000000000 --- a/tests/data/queries/cypher/sprint_0/query_02.cypher +++ /dev/null @@ -1 +0,0 @@ -MATCH (n {id: 0}) RETURN n diff --git a/tests/data/queries/cypher/sprint_0/query_03.cypher b/tests/data/queries/cypher/sprint_0/query_03.cypher deleted file mode 100644 index c8b62c1de..000000000 --- a/tests/data/queries/cypher/sprint_0/query_03.cypher +++ /dev/null @@ -1 +0,0 @@ -MATCH (a {id:0}), (p {id: 1}) CREATE (a)-[r:IS]->(p) RETURN r diff --git a/tests/data/queries/cypher/sprint_0/query_04.cypher b/tests/data/queries/cypher/sprint_0/query_04.cypher deleted file mode 100644 index d254561d9..000000000 --- a/tests/data/queries/cypher/sprint_0/query_04.cypher +++ /dev/null @@ -1 +0,0 @@ -MATCH (n {id:0}) SET n.name = "TEST100" RETURN n diff --git a/tests/data/queries/cypher/sprint_0/query_05.cypher b/tests/data/queries/cypher/sprint_0/query_05.cypher deleted file mode 100644 index 68976d24c..000000000 --- a/tests/data/queries/cypher/sprint_0/query_05.cypher +++ /dev/null @@ -1 +0,0 @@ -MATCH (n:LABEL) RETURN n diff --git a/tests/data/queries/cypher/sprint_0/query_06.cypher b/tests/data/queries/cypher/sprint_0/query_06.cypher deleted file mode 100644 index bac9cd276..000000000 --- a/tests/data/queries/cypher/sprint_0/query_06.cypher +++ /dev/null @@ -1 +0,0 @@ -MATCH (a {id:0}), (p {id: 1}) CREATE (a)-[r:IS]->(p) diff --git a/tests/data/queries/cypher/sprint_0/query_07.cypher b/tests/data/queries/cypher/sprint_0/query_07.cypher deleted file mode 100644 index 70529220f..000000000 --- a/tests/data/queries/cypher/sprint_0/query_07.cypher +++ /dev/null @@ -1 +0,0 @@ -MATCH ()-[r]-() WHERE ID(r)=0 RETURN r diff --git a/tests/data/queries/cypher/sprint_0/query_08.cypher b/tests/data/queries/cypher/sprint_0/query_08.cypher deleted file mode 100644 index cbf64ae66..000000000 --- a/tests/data/queries/cypher/sprint_0/query_08.cypher +++ /dev/null @@ -1 +0,0 @@ -MATCH (a),(b) WHERE ID(a)=0 AND ID(b)=1 RETURN a,b diff --git a/tests/data/queries/cypher/sprint_0/query_09.cypher b/tests/data/queries/cypher/sprint_0/query_09.cypher deleted file mode 100644 index 8bc4fa3fb..000000000 --- a/tests/data/queries/cypher/sprint_0/query_09.cypher +++ /dev/null @@ -1 +0,0 @@ -MATCH (n) WHERE ID(n)=0 SET n.name = "bla" RETURN n diff --git a/tests/data/queries/cypher/sprint_0/query_10.cypher b/tests/data/queries/cypher/sprint_0/query_10.cypher deleted file mode 100644 index 425c0ddb5..000000000 --- a/tests/data/queries/cypher/sprint_0/query_10.cypher +++ /dev/null @@ -1 +0,0 @@ -MATCH ()-[r]-() WHERE ID(r)=0 SET r.test = "bla" RETURN r diff --git a/tests/data/queries/cypher/sprint_1/query_0.cypher b/tests/data/queries/cypher/sprint_1/query_0.cypher deleted file mode 100644 index 174cd08c0..000000000 --- a/tests/data/queries/cypher/sprint_1/query_0.cypher +++ /dev/null @@ -1 +0,0 @@ -MATCH (n:Data) WHERE n.queryID = "KMeasyKMID" OR n.queryID = "easyQueryID" RETURN n diff --git a/tests/data/queries/cypher/sprint_1/query_1.cypher b/tests/data/queries/cypher/sprint_1/query_1.cypher deleted file mode 100644 index 6f23df2d5..000000000 --- a/tests/data/queries/cypher/sprint_1/query_1.cypher +++ /dev/null @@ -1 +0,0 @@ -MATCH (n:Data) WHERE n.queryID = "KMeasyKMID" OR n.queryID = "easyQueryID" WITH n MATCH (n)-[r:Fact]->(m) WHERE r.relationshipType = 'recommended exercise' WITH n,r,m WHERE n.value = 'G' AND m.value = 'HK.03 - Aqua Walking' return n, r, m diff --git a/tests/data/queries/cypher/sprint_1/query_5.cypher b/tests/data/queries/cypher/sprint_1/query_5.cypher deleted file mode 100644 index bd69d1256..000000000 --- a/tests/data/queries/cypher/sprint_1/query_5.cypher +++ /dev/null @@ -1 +0,0 @@ -# MATCH (n:Data) WHERE n.queryID IN ["KMeasyKMID", 'easyQueryID'] WITH n MATCH n-[r:Fact]->(m) WHERE r.relationshipType = 'recommended exercise' WITH n,r,m WHERE n.value = 'G' AND m.value = 'HK.03 - Aqua Walking' return n, r, m diff --git a/tests/data/queries/cypher/write/create-return.cypher b/tests/data/queries/cypher/write/create-return.cypher deleted file mode 100644 index 160697fc5..000000000 --- a/tests/data/queries/cypher/write/create-return.cypher +++ /dev/null @@ -1 +0,0 @@ -CREATE (n {name: 'Domko', age: 26}) RETURN n diff --git a/tests/data/queries/cypher/write/create.cypher b/tests/data/queries/cypher/write/create.cypher deleted file mode 100644 index 2cec60fe7..000000000 --- a/tests/data/queries/cypher/write/create.cypher +++ /dev/null @@ -1 +0,0 @@ -CREATE (n {name: "Roy", surname: "Keane", age: 23}) diff --git a/tests/data/queries/opencypher/dummy.txt b/tests/data/queries/opencypher/dummy.txt deleted file mode 100644 index e69de29bb..000000000