- NLQ Examples • Predictive Use Cases • Power BI Visuals
- 1 Purpose
- 2 How NLQ ( Natural-Language Query ) Works
- 3 Example Query Categories
- 4 Predictive Use Case Examples
- 5 Power BI Dashboard Mock-Ups
- 6 Visual Design Guidelines
- 7 Interactivity Ideas
- 8 Governance Visualization Patterns
- 9 Embedding Tips
- 10 Example Composite Query
- 11 Benefits
- 12 Takeaway
NLQ Examples • Predictive Use Cases • Power BI Visuals #
1 Purpose #
This chapter turns theory into dialogue.
It shows how anyone — CXO, architect, steward, or auditor — can type or click questions in plain language and watch EA 2.0 generate insights, predict outcomes, or trigger actions.
2 How NLQ ( Natural-Language Query ) Works #
- User enters a question in the React-based Ask EA 2.0 interface.
- The Reasoning API converts it into a graph query (Cypher / Gremlin).
- Results are returned as structured data or visualization JSON.
- UI renders tables, charts, or policy insights instantly.
Example flow:
"Which applications support the HR capability?"
↓
→ Reasoning API → MATCH (c:Capability {name:"HR"})-[:SUPPORTED_BY]->(a:Application)
↓
→ Graph → returns app list → UI renders dashboard tile.
3 Example Query Categories #
| Category | Example Question | Typical Output |
|---|---|---|
| Capability Mapping | “Show me all capabilities impacted if CRM goes down.” | Dependency graph + impact score. |
| Risk Analysis | “Which controls mitigate data-privacy risk?” | Table of controls + effectiveness heat map. |
| Cost Optimization | “List redundant SaaS tools by function.” | Bar chart of apps vs cost overlap. |
| Policy Compliance | “Which systems violate tagging policy?” | Compliance tile + remediation count. |
| Predictive Insight | “Forecast compliance drift next quarter.” | Line forecast chart from Predictive Engine. |
4 Predictive Use Case Examples #
4.1 SLA Breach Prediction #
Question: “Which cloud workloads are at risk of SLA breach this month?”
Data Used: Historical uptime, policy thresholds, incident trend.
Model: Random Forest trained on availability patterns.
Output: Ranked list with breach probability and impact score visualized as red-amber-green bars.
4.2 Tech Debt Burndown #
Question: “How fast is technical debt being reduced?”
Visualization: Power BI area chart tracking remediation tasks closed vs created.
Insight: A positive slope → healthy architecture; flat line → stagnation.
4.3 Control Coverage Gap #
Question: “Which regulatory controls lack mapped evidence?”
Output: Matrix view ( Control × Evidence Source ) highlighting missing cells.
Action: Creates auto GRC task for steward.
5 Power BI Dashboard Mock-Ups #
| Dashboard Tile | Description | Visualization |
|---|---|---|
| Decision Latency Trend | Average days from event to action. | Line chart ( Goal ↓ 30 % QoQ ). |
| Confidence Radar | Freshness × Completeness × Ownership. | Radar chart per domain. |
| Value Realization Waterfall | Quantified benefits by initiative. | Waterfall chart ROI view. |
| Governance Heat Map | Violations by severity and domain. | 5×5 grid color intensity. |
| AI Suggestion Feed | Recommendations from Reasoning Layer. | Scrollable text cards with action links. |
6 Visual Design Guidelines #
- Use a dark-on-light palette (white background, crimson highlights, black text).
- Group tiles by theme: Data Trust, Decision Velocity, Value Realization.
- Each tile links to its BetterDocs chapter for context.
- Embed a mini NLQ widget at top of dashboard ( ask a question → filter results ).
7 Interactivity Ideas #
- Click a bar → opens NLQ with pre-filled query.
- Hover over capability node → shows its risk and cost trend.
- Use “Explain this” button → sends selected tile to Reasoning API for narrative summary.
8 Governance Visualization Patterns #
| Metric | Suggested Visual | Reason for Choice |
|---|---|---|
| Decision Latency | Line + trend arrow | Emphasizes direction. |
| DQ Score | Radar chart | Multidimensional trust. |
| Policy Breach Rate | Heat map | Quick pattern recognition. |
| ROI | Waterfall + numeric badge | Shows incremental value. |
9 Embedding Tips #
- Export Power BI tiles as secure embed links ( Entra ID SSO ).
- Use React iframe wrapper with auto-refresh token.
- Include copyright footer:
© Hari Krishna – EA 2.0 Blueprint™. - For demo sites, mock data via JSON file to avoid real secrets.
10 Example Composite Query #
"Show top 10 applications with high cost, low coverage, and risk > 0.8"
↓
→ Graph query joins Cost + Coverage + Risk nodes
↓
→ Predictive engine adds forecast for next quarter
↓
→ Dashboard renders table + trend bars
The entire sequence takes < 3 seconds for mid-sized enterprises.
11 Benefits #
✅ Lets non-architects interact with architecture data intuitively.
✅ Demonstrates EA 2.0’s intelligence in seconds.
✅ Feeds continuous improvement loop with real usage patterns.
12 Takeaway #
The moment a user asks a question and the architecture answers, EA stops being documentation and becomes dialogue.
Sample Queries & Dashboards are the language interface of EA 2.0 — where governance meets curiosity.