You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Queries 9 and 10 run in Neo4j (relatively slowly), but they segfault in Kùzu. Is it something I'm doing wrong? It would help if there were more helpful error messages, but I can imagine there's something going on in the translation of Cypher logic into the C++ layer.
Ne4j
Query 9:
MATCH (:Person)-[r1:FOLLOWS]->(influencer:Person)-[r2:FOLLOWS]->(:Person)
WITH count(r1) AS numFollowers, influencer, r2
WHERE influencer.age <= $age_upper AND numFollowers > 3000
RETURN influencer.id AS influencerId, influencer.name AS name, count(r2) AS numFollows
ORDER BY numFollows DESC LIMIT 5;
Influencers below age 30 who follow the most people:
shape: (5, 3)
┌──────────────┬─────────────────┬────────────┐
│ influencerId ┆ name ┆ numFollows │
│ --- ┆ --- ┆ --- │
│ i64 ┆ str ┆ i64 │
╞══════════════╪═════════════════╪════════════╡
│ 89758 ┆ Joshua Williams ┆ 40 │
│ 85914 ┆ Micheal Holt ┆ 32 │
│ 8077 ┆ Ralph Floyd ┆ 32 │
│ 1348 ┆ Brett Wright ┆ 32 │
│ 70809 ┆ David Cooper ┆ 31 │
└──────────────┴─────────────────┴────────────┘
Query 10:
MATCH (:Person)-[r1:FOLLOWS]->(influencer:Person)-[r2:FOLLOWS]->(person:Person)
WITH count(r1) AS numFollowers, person, influencer, r2
WHERE influencer.age >= $age_lower AND influencer.age <= $age_upper AND numFollowers > 3000
RETURN person.id AS personId, person.name AS name, count(r2) AS numFollowers
ORDER BY numFollowers DESC LIMIT 5;
Influencers below the age of 18-25 who can be considered 'influencers' in the network:
shape: (5, 3)
┌──────────┬────────────────────┬──────────────┐
│ personId ┆ name ┆ numFollowers │
│ --- ┆ --- ┆ --- │
│ i64 ┆ str ┆ i64 │
╞══════════╪════════════════════╪══════════════╡
│ 88759 ┆ Kylie Chang ┆ 5 │
│ 39355 ┆ Elizabeth Hamilton ┆ 4 │
│ 12104 ┆ Cheryl Coleman ┆ 4 │
│ 27567 ┆ Michael Dominguez ┆ 4 │
│ 31072 ┆ Jeanette Nolan ┆ 4 │
└──────────┴────────────────────┴──────────────┘
Neo4j query script completed in 17.753386s
Kùzu
Query 9:
MATCH (:Person)-[r1:Follows]->(influencer:Person)-[r2:Follows]->(:Person)
WITH count(r1) AS numFollowers, influencer, r2
WHERE influencer.age <= $age_upper AND numFollowers > 3000
RETURN influencer.id AS influencerId, influencer.name AS name, count(r2) AS numFollows
ORDER BY numFollows DESC LIMIT 5;
[1] 15847 bus error python query.py
The text was updated successfully, but these errors were encountered:
Queries 9 and 10 run in Neo4j (relatively slowly), but they segfault in Kùzu. Is it something I'm doing wrong? It would help if there were more helpful error messages, but I can imagine there's something going on in the translation of Cypher logic into the C++ layer.
Ne4j
Kùzu
The text was updated successfully, but these errors were encountered: