Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
AyusmanBasu0604
Helper II
Helper II

Ontology Relationships & Binding using REST APIs

We are trying to Get Ontology created and also it's realtionships defined using REST APIs.

We tried using notebooks, even though the Ontology is getting created, showing binding but it's actually unable to create the relationship. Some issue with the Contextualization. We had referred the following: trucking-ontology/notebooks/03_create_ontology.ipynb at main · robkerr/trucking-ontology · GitHub 


1. Referred the official docs: https://learn.microsoft.com/en-us/rest/api/fabric/ontology/items

When we tried using Python SDK, we keep getting error that "service is not reachable"

 

Also, referred the following POST: https://community.fabric.microsoft.com/t5/Service/How-to-interact-programatically-with-Ontology/m-p/... and also Microsoft's release: https://roadmap.fabric.microsoft.com/?product=iq Figured, SDKs are unavailable so we went for notebook based approach. so is it like binding is still not supported using REST APIs?


Any comment would be helpful!
We just want to know if the binding is doable using REST APIs

1 REPLY 1
svelde
Most Valuable Professional
Most Valuable Professional

Hello @AyusmanBasu0604 ,

welcome to this fabric community forum.

The Fabric Ontology comes with an API for the ontology definition, but the message format is not described well.

I tried it myself and was able to back up and restore the Ontology as seen in this blog post.

As seen there, it should be possible to export and import entity types, relationships, and bindings.

At this moment, you need to research the format seen there to understand how it works..

--

If this answer helps you, a thumbs-up or marking it as the accepted answer is appreciated. All community members with similar questions will benefit by doing so. Your contribution is highly appreciated.

-------------------------
Ask me about IoT&RTI

Helpful resources

Announcements
April Fabric Update Carousel

Fabric Monthly Update - April 2026

Check out the April 2026 Fabric update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.