Get the FREE Ultimate OpenClaw Setup Guide →

fabric-iq

npx machina-cli add skill PatrickGallucci/fabric-skills/fabric-iq --openclaw
Files (1)
SKILL.md
7.8 KB

Microsoft Fabric IQ

Fabric IQ (preview) is a Fabric workload for unifying data across OneLake and organizing it according to your business vocabulary. It exposes data to analytics, AI agents, and applications with consistent semantic meaning and context.

When to Use This Skill

  • Creating or managing ontology items in Fabric IQ
  • Defining entity types, properties, and relationship types
  • Binding data from lakehouses, eventhouses, or semantic models to ontologies
  • Generating ontologies from Power BI semantic models
  • Configuring Fabric data agents with ontology as a source
  • Working with Graph in Microsoft Fabric for traversals and graph queries
  • Enabling Fabric IQ tenant settings in the admin portal
  • Querying ontology graphs using the preview experience
  • Building operations agents that reason across business concepts
  • remediate ontology creation, data binding, or agent integration issues
  • Automating Fabric IQ items via REST API or PowerShell

Prerequisites

  1. A Fabric workspace with a Microsoft Fabric-enabled capacity (F2+ or P1+)
  2. Required tenant settings enabled (see tenant-settings.md)
  3. Data in OneLake (lakehouse tables), an eventhouse, or Power BI semantic models

Fabric IQ Items Overview

Fabric IQ contains five items that work together:

ItemPurposeShared With
Ontology (preview)Enterprise vocabulary and semantic layer — entity types, relationships, properties, data bindingsIQ only
Graph in Microsoft Fabric (preview)Native graph storage/compute for nodes, edges, traversals, path findingReal-Time Intelligence
Fabric data agent (preview)Conversational Q&A using generative AI, grounded in ontologyData Science
Operations agent (preview)AI agent to monitor real-time data and recommend actionsReal-Time Intelligence
Power BI semantic modelCurated analytics model for reporting and DAXPower BI

Choosing the Right Item

ScenarioUse
Cross-domain consistency, governance, AI agent groundingOntology
Relationship-heavy questions (impact chains, shortest paths)Graph
Trusted KPIs and fast visuals with dimensional modelingPower BI semantic model
Operational context, stateful twins, what-if simulationDigital twin builder (Real-Time Intelligence)

Step-by-Step Workflows

Workflow 1: Create an Ontology from OneLake

For the complete walkthrough with all field mappings, see ontology-workflows.md.

  1. Navigate to your Fabric workspace and select + New item > Ontology (preview)
  2. Name the ontology (letters, numbers, underscores only — no spaces or dashes)
  3. Add entity types from the ribbon or canvas
  4. Bind static or time series data from OneLake sources
  5. Set entity type keys (unique identifier properties)
  6. Create relationship types between entity types and bind them to source data
  7. Use the preview experience to explore entity instances and the ontology graph

Workflow 2: Generate an Ontology from a Semantic Model

For the complete walkthrough, see ontology-workflows.md.

  1. Navigate to your Power BI semantic model in Fabric
  2. Select Generate Ontology from the ribbon
  3. Choose workspace and name the ontology
  4. Verify generated entity types, bindings, and relationship types
  5. Configure any incomplete relationship bindings manually

Workflow 3: Connect an Ontology to a Data Agent

For the complete walkthrough, see ontology-workflows.md.

  1. Create a Data agent item in your workspace
  2. Add the ontology as a knowledge source
  3. Add agent instructions (e.g., Support group by in GQL)
  4. Test queries in the agent chat to validate semantic grounding

Workflow 4: Validate Tenant Prerequisites

Run the prereq validation script to check your environment:

./scripts/Validate-FabricIQPrereqs.ps1 -TenantId "your-tenant-id"

Key Concepts

Ontology Core Concepts

ConceptDescription
Entity typeRepresents a real-world concept (e.g., Customer, Truck, Sensor)
PropertyA fact about an entity type (e.g., name, email, temperature)
Entity type keyUnique identifier property for entity instances
Relationship typeSemantic connection between entity types (e.g., "drives", "has", "soldIn")
Data bindingConnects ontology definitions to concrete OneLake data sources
Ontology graphQueryable instance graph built from data bindings and relationships

Data Binding Types

TypeUse CaseExample
StaticDescriptive attributes that change infrequentlyStore locations, product catalog
Time seriesTimestamped observations in columnar formatSensor telemetry, temperature readings

Naming Constraints

ElementRules
Ontology nameLetters, numbers, underscores. No spaces or dashes
Entity type name1-26 chars, alphanumeric + hyphens + underscores, start/end alphanumeric
Property name1-26 chars, alphanumeric + hyphens + underscores, unique across entity types for same type

REST API Support

The Fabric REST API supports ontology CRUD operations:

OperationSupported
Create (without definition)Yes
Create (with payload/definition)Yes
Service principal supportYes
GetYes
UpdateYes
DeleteYes
ListYes

Use the Fabric CLI for command-line operations:

pip install ms-fabric-cli
fab auth login

remediate

For the full remediate guide, see remediate.md.

IssueQuick Fix
Unable to create ontology itemEnable all required tenant settings
Graph errors on new ontologyEnable User can create Graph (preview) tenant setting
Data agent 403 ForbiddenEnable Copilot and Azure OpenAI tenant settings
Generated ontology has no entity typesEnsure semantic model tables are visible (not hidden)
Generated ontology has no data bindingsCheck semantic model mode — Import mode not supported
Decimal properties return nullRecreate property as Double type
Aggregation queries fail in data agentAdd instruction: Support group by in GQL

References

Source

git clone https://github.com/PatrickGallucci/fabric-skills/blob/main/skills/fabric-iq/SKILL.mdView on GitHub

Overview

Fabric IQ (preview) unifies data across OneLake and organizes it by your business vocabulary. It provides a semantic layer with ontology, graph, data agents, operations agents, and Power BI semantic models, enabling consistent meaning across analytics, AI, and apps. This skill covers creating and managing ontology items, binding data, exploring graphs, and automating tasks.

How This Skill Works

You create or manage five Fabric IQ item types: Ontology (preview), Graph, Fabric data agent, Operations agent, and Power BI semantic model. Bind data from OneLake, eventhouses, or semantic models to ontology entities, define keys and relationships, and use the Graph to traverse and query. Automate recurring tasks via REST API or PowerShell, and optionally generate ontologies from Power BI semantic models.

When to Use It

  • Creating or managing ontology items in Fabric IQ
  • Defining entity types, properties, and relationship types
  • Binding data from OneLake, eventhouses, or semantic models to ontologies
  • Generating ontologies from Power BI semantic models
  • Automating Fabric IQ items via REST API or PowerShell

Quick Start

  1. Step 1: In your Fabric workspace, select + New item > Ontology (preview) and name the ontology
  2. Step 2: Bind data sources (OneLake, eventhouse, or semantic model) to entity types and set keys
  3. Step 3: Use the preview experience to explore the ontology graph and iterate on relationships

Best Practices

  • Start with a clear ontology structure: define entity types, properties, and relationship types before binding data
  • Use stable, unique identifiers for entity keys and ensure consistent data bindings
  • Utilize the Graph preview experience to explore the ontology graph and validate relationships
  • Document governance: tenant settings, agent bindings, and data sources
  • Automate repeatable tasks with REST API or PowerShell for reproducible workflows

Example Use Cases

  • Bind OneLake data (products, customers, orders) to a single ontology to power cross-domain analytics
  • Generate an ontology from a Power BI semantic model and use Graph queries for impact analysis
  • Configure a Fabric data agent grounded in ontology to support Q&A or reasoning over entities
  • Build an Operations agent to monitor real-time data and recommend actions across concepts
  • Remediate ontology creation, data binding, or agent integration issues via REST API or PowerShell

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers