Skip to content

Commit

Permalink
commented out IC12
Browse files Browse the repository at this point in the history
  • Loading branch information
aziz-mu committed Jun 12, 2023
1 parent d9bf256 commit b1b2f29
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions test/test_files/ldbc/ldbc-interactive/interactive-complex.test
Original file line number Diff line number Diff line change
Expand Up @@ -162,24 +162,25 @@ Euripides|1
2199023256689|Ferenc|Kovacs|CityLine_Hungary|2006
28587302323430|János|Mészáros|Malév_Hungarian_Airlines|2008

# There's currently a bug with the order on the CI test runner, so commenting this out for now.
# IC12 should be changed to use Kleene Star relationship once that is implemented
-NAME IC12
-QUERY MATCH (tag:Tag)-[:Tag_hasType_TagClass|:TagClass_isSubclassOf_TagClass*1..20]->(baseTagClass:TagClass)
WHERE tag.name = "Monarch" OR baseTagClass.name = "Monarch"
WITH collect(tag.id) as tags
MATCH (:Person {id: 6597069767300 })-[:Person_knows_Person]-(friend:Person)<-[:Comment_hasCreator_Person]-(comment:Comment)-[:Comment_replyOf_Post]->(:Post)-[:Post_hasTag_Tag]->(tag:Tag)
WHERE list_contains(tags, tag.id)
RETURN friend.id AS personId, friend.firstName AS personFirstName, friend.lastName AS personLastName, collect(DISTINCT tag.name) AS tagNames, count(DISTINCT comment) AS replyCount
ORDER BY replyCount DESC, personId ASC
LIMIT 20;
---- 7
8796093022764|Zheng|Xu|[Mahmud_of_Ghazni,Ashoka,Tiberius,Marcus_Aurelius,Genghis_Khan,Justinian_I,Hadrian,Timur]|13
10995116278353|Otto|Muller|[Tiberius,Genghis_Khan,Justinian_I,Constantine_the_Great,Trajan]|11
17592186044994|Jie|Wang|[Genghis_Khan,David]|7
13194139534548|Bing|Zheng|[Genghis_Khan,Hadrian,Solomon]|6
13194139533500|Otto|Becker|[Tiberius,Genghis_Khan,Julius_Caesar,David,Alexander_the_Great]|5
28587302322537|Anh|Nguyen|[Mahmud_of_Ghazni,Trajan]|3
30786325578932|Alexander|Hleb|[Mahmud_of_Ghazni,David]|3
# -NAME IC12
# -QUERY MATCH (tag:Tag)-[:Tag_hasType_TagClass|:TagClass_isSubclassOf_TagClass*1..20]->(baseTagClass:TagClass)
# WHERE tag.name = "Monarch" OR baseTagClass.name = "Monarch"
# WITH collect(tag.id) as tags
# MATCH (:Person {id: 6597069767300 })-[:Person_knows_Person]-(friend:Person)<-[:Comment_hasCreator_Person]-(comment:Comment)-[:Comment_replyOf_Post]->(:Post)-[:Post_hasTag_Tag]->(tag:Tag)
# WHERE list_contains(tags, tag.id)
# RETURN friend.id AS personId, friend.firstName AS personFirstName, friend.lastName AS personLastName, collect(DISTINCT tag.name) AS tagNames, count(DISTINCT comment) AS replyCount
# ORDER BY replyCount DESC, personId ASC
# LIMIT 20;
# ---- 7
# 8796093022764|Zheng|Xu|[Mahmud_of_Ghazni,Ashoka,Tiberius,Marcus_Aurelius,Genghis_Khan,Justinian_I,Hadrian,Timur]|13
# 10995116278353|Otto|Muller|[Tiberius,Genghis_Khan,Justinian_I,Constantine_the_Great,Trajan]|11
# 17592186044994|Jie|Wang|[Genghis_Khan,David]|7
# 13194139534548|Bing|Zheng|[Genghis_Khan,Hadrian,Solomon]|6
# 13194139533500|Otto|Becker|[Tiberius,Genghis_Khan,Julius_Caesar,David,Alexander_the_Great]|5
# 28587302322537|Anh|Nguyen|[Mahmud_of_Ghazni,Trajan]|3
# 30786325578932|Alexander|Hleb|[Mahmud_of_Ghazni,David]|3

# To be completely correct, this query needs to have
# (i) Unbounded shortest path
Expand Down

0 comments on commit b1b2f29

Please sign in to comment.