Queries: Creating queries with AI
If your administrator enabled it, it is possible to query the graph using natural language queries thanks to the Query AI feature.
What is Query AI?
Query AI is a Linkurious Enterprise plugin that allows analysts to query the graph using natural language.
Example:
User: Show me bank accounts owned by more than one person
Query AI:
MATCH (p:PERSON)-[r:HAS_BANK_ACCOUNT]->(b:BANK_ACCOUNT) WITH b, COUNT(p) AS personCount WHERE personCount > 1 RETURN b
Using Query AI
Get started:
- Open a visualization
- Right-click on the workspace, select "Custom actions", then "Open Query AI"
- Type a request in natural language (e.g. "show me 10 companies")
After a short wait, a graph query is generated and displayed. Once a graph query is generated, several options are available:
- Run the query to preview the result
- Edit the query manually to tweak it
- Continue the conversation with the AI to improve the graph query incrementally

Once a query has been run, you can add the results to your workspace.