Here are 10 end-to-end natural language queries you can use to test the Agentic BI platform with the AdventureWorks dataset. These test various SQL capabilities (aggregations, joins, time-series, filtering) and trigger different types of visualizations on the dashboard:
-
"Show me the top 10 best-selling products by total revenue."
- Tests: Aggregation (
SUM), Joining, Grouping, Ordering (DESC), Limit. - Expected Visualization: Bar Chart.
- Tests: Aggregation (
-
"What is the total sales revenue by year and month?"
- Tests: Date parsing and extraction, grouping by time periods, aggregation.
- Expected Visualization: Line Chart.
-
"Show me the distribution of employees by marital status."
- Tests: Simple grouping and
COUNT()aggregation. - Expected Visualization: Pie/Donut chart.
- Tests: Simple grouping and
-
"What is the average sick leave hours by job title?"
- Tests: Categorical grouping using an
AVG()function. - Expected Visualization: Horizontal Bar Chart (due to dense categories).
- Tests: Categorical grouping using an
-
"Show me total sales amount by sales territory country."
- Tests: Joining sales and territory tables, geospatial/categorical context.
- Expected Visualization: Bar chart (or Map).
-
"Which top 5 vendors do we spend the most money with?"
- Tests: Purchasing schema joins (
PurchaseOrderHeaderandVendor). - Expected Visualization: Bar chart.
- Tests: Purchasing schema joins (
-
"Show me the total inventory quantity grouped by product subcategory."
- Tests: multi-table joins (
ProductInventory,Product,ProductSubcategory). - Expected Visualization: Horizontal Bar chart.
- Tests: multi-table joins (
-
"Compare the standard cost versus the list price for all products."
- Tests: Retrieving continuous numeric variables without aggregation.
- Expected Visualization: Scatter Plot.
-
"Show me the number of orders placed online versus in-store."
- Tests: Using boolean flags (
OnlineOrderFlag) to group and count. - Expected Visualization: Pie chart or Bar chart.
- Tests: Using boolean flags (
-
"Who are the top 5 sales representatives by total sales, and what were their total sales?"
- Tests: Complex conditional joins spanning Sales and Person schemas.
- Expected Visualization: Bar chart ranking the reps.