Access
Click Context Graph > Queries in the sidebar.Interface Layout
Query Editor
The top panel contains the Cypher query editor:- Syntax highlighting for Cypher
- Auto-completion suggestions
- Query history access
- Format/beautify option
Action Bar
- Execute (Cmd+Enter) - Run the current query
- Copy - Copy query to clipboard
- Clear - Reset the editor
Example Queries Panel
Expandable section with optimized queries that work with backend limitations:| Query | Purpose |
|---|---|
| Get all nodes | MATCH (n) RETURN n LIMIT 20 |
| Get nodes with properties | Find nodes with specific properties |
| Find nodes with relationships | Show nodes and their connections |
| Count relationships by type | Get relationship statistics |
Results Panel
The right panel shows query results:- Ready to Query - Initial state before running
- Results table - Query output in tabular format
- Expand/Collapse - Toggle result row details
Running Queries
Basic Query
Filter by Type
Find Relationships
Count by Type
Search by Property
Query Best Practices
Always Use LIMIT
Optimize Relationship Queries
Use Property Filters Early
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Cmd/Ctrl + Enter | Execute query |
Cmd/Ctrl + / | Comment/uncomment line |
Query History
Click the history icon to see previous queries:- Recent queries listed by timestamp
- Click to restore a query
- Search through history
Exporting Results
Query results can be:- Copied to clipboard
- Used as input for further analysis
Common Patterns
Find Dependencies
Find Resources by Label
Count Relationships
Error Handling
Common errors:| Error | Cause | Solution |
|---|---|---|
| Query timeout | Query too complex | Add LIMIT, simplify pattern |
| Syntax error | Invalid Cypher | Check example queries |
| No results | No matching data | Verify entity types exist |
Related Pages
- Graph Explorer - Visual exploration
- Entities - Table-based browsing
- Context Graph Concepts - Learn about graph queries