This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
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
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.
Check out the June 2026 Fabric update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.