2026-03-07 15:17:52 +00:00
|
|
|
[
|
|
|
|
|
{
|
2026-03-10 15:48:18 +00:00
|
|
|
"name": "Sample Graph (100)",
|
|
|
|
|
"query": "MATCH (n)-[r]->(m) RETURN n, r, m LIMIT 100"
|
2026-03-07 15:17:52 +00:00
|
|
|
},
|
|
|
|
|
{
|
2026-03-10 15:48:18 +00:00
|
|
|
"name": "Sample Graph (500)",
|
|
|
|
|
"query": "MATCH (n)-[r]->(m) RETURN n, r, m LIMIT 500"
|
2026-03-07 15:17:52 +00:00
|
|
|
},
|
|
|
|
|
{
|
2026-03-10 15:48:18 +00:00
|
|
|
"name": "Sample Graph (2000)",
|
|
|
|
|
"query": "MATCH (n)-[r]->(m) RETURN n, r, m LIMIT 2000"
|
2026-03-07 15:17:52 +00:00
|
|
|
},
|
|
|
|
|
{
|
2026-03-10 15:48:18 +00:00
|
|
|
"name": "Node Label Counts",
|
|
|
|
|
"query": "MATCH (n) RETURN labels(n)[0] AS label, count(*) AS count ORDER BY count DESC LIMIT 25"
|
2026-03-07 15:17:52 +00:00
|
|
|
},
|
|
|
|
|
{
|
2026-03-10 15:48:18 +00:00
|
|
|
"name": "Relationship Type Counts",
|
|
|
|
|
"query": "MATCH ()-[r]->() RETURN type(r) AS type, count(*) AS count ORDER BY count DESC LIMIT 25"
|
2026-03-07 15:17:52 +00:00
|
|
|
},
|
|
|
|
|
{
|
2026-03-10 15:48:18 +00:00
|
|
|
"name": "High-Connectivity Nodes",
|
|
|
|
|
"query": "MATCH (n)-[r]-() WITH n, count(r) AS degree ORDER BY degree DESC LIMIT 20 MATCH (n)-[r2]->(m) RETURN n, r2, m LIMIT 300"
|
2026-03-07 15:17:52 +00:00
|
|
|
},
|
|
|
|
|
{
|
2026-03-10 15:48:18 +00:00
|
|
|
"name": "Shortest Path (sample)",
|
|
|
|
|
"query": "MATCH (a), (b) WHERE a <> b WITH a, b LIMIT 1 MATCH path = shortestPath((a)-[*..5]-(b)) RETURN path"
|
2026-03-07 15:17:52 +00:00
|
|
|
},
|
|
|
|
|
{
|
2026-03-10 15:48:18 +00:00
|
|
|
"name": "Connected Component (depth 3)",
|
|
|
|
|
"query": "MATCH (start) WITH start LIMIT 1 MATCH path = (start)-[*1..3]-(connected) RETURN path LIMIT 300"
|
2026-03-07 15:17:52 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "Schema Visualization",
|
|
|
|
|
"query": "CALL db.schema.visualization()"
|
|
|
|
|
}
|
|
|
|
|
]
|