Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Now that you have an ontology with entities and relationships, you explore it in this tutorial section.
Important
This feature is in preview.
Use the Explore mode
Use the view selector in the top right of the screen to switch to the Explore mode. The view for this mode contains a search bar in the top right corner for entity and keyword searches, and an Advanced query experience.
First, filter the assets by entity type.
Choose Distiller from the dropdown menu.
Observe that the result set contains all 10 instances of the Distiller entity.
Next, search on display ID, which is a concatenation of the source columns that you chose during mapping.
With Distiller still selected from the dropdown menu, enter D101 into the search bar.
Observe that the result set contains one entity instance with that name (distiller D101).
Next, try an advanced query, which lets you filter on multiple entity properties.
Select the Advanced query button.
Select the Condenser entity from the dropdown menu.
Add a filter for a cooling medium that's water-based. Under Filters, select Cooling medium as the property, leave is as the operator, and enter Water as the value.
Add another filter for the installation date. Select Add filter, which adds a new filter row automatically linked to the previous filter with the and operator. Select InstallationDate as the property, starts with as the operator, and 6/2/2018 as the value.
Select Apply to run your query.
Observe that the result only shows one condenser, which matches your filter criteria.
Keep this view open for the next step.
View entity details and time series data
You can select an entity instance to view its details and any associated time series. As a result of your mappings so far in this tutorial, these entities contain modeled properties and data values.
First, view the details of an entity.
Select the condenser result card from your most recent query to open the Details view.
Observe that this view shows entity properties, like the site ID and cooling medium.
Keep this view open for the next step.
View related time series charts.
Using the tabs on the top left corner of the page, switch from Details to Charts.
In the date range filters in the top right corner of the Charts tab, change the Start date time to 01/01/2025 12:00 AM and the End date time to 01/12/2025 12:00 AM.
Check the box next to the Pressure time series name to view its data in a time series chart.
Tip
If you don't see any time series data, rerun the Condenser time series mapping. You can check its status in the Manage operations page, accessible from the semantic canvas ribbon.
Select the Pressure and Temperature time series names together and visualize multiple data sets on the chart at the same time.
Experiment with changing the date range and toggling between different aggregation functions like average, min, and max.
Deactivate entity
Sometimes an entity is misconfigured or no longer needed. In that case, entities can be deactivated. Deactivating an entity removes the entity and its mapping configurations from the semantic canvas. It also removes entity instances and time series from the explorer.
Enact that scenario now by removing the Reboiler entity from your ontology.
Use the view selector in the top right corner to return to the Configure experience and the semantic canvas. Select the Reboiler entity to view it in the canvas.
Before you can deactivate an entity, you must delete its relationships. Select the isPartOf relationship in the semantic canvas to bring up the Relationship configuration pane, and select Delete relationship.
After deleting the relationship, you can deactivate the entity. Hover over the Reboiler entity and select the ellipses next to it. Select Deactivate entity from the menu, and confirm when prompted.
The entity disappears from the Entities list and is no longer visible in the semantic canvas.
Switch to the Explore mode. Observe that you can no longer filter to Reboiler entities or search for them by name.
View underlying data
The ontology data for a digital twin builder (preview) item is stored in a Fabric lakehouse associated with the digital twin builder item. In that lakehouse, you can view your ontology data through the ___domain layer, which is a set of views that directly reflect the logical structure and relationships defined in the ___domain ontology. For more information about digital twin builder data storage, see Modeling data in digital twin builder (preview) - Storage and access.
Follow these steps to view your ___domain data.
Go to your Fabric workspace and identify the SQL endpoint of the lakehouse associated with your digital twin builder item. The SQL endpoint has the same name as your digital twin builder item with a dtdm extension, so in this case it's called Contoso_Energydtdm.
Select the SQL endpoint to go to the explorer page.
In the navigation pane under Schemas, the dbo entry represents the base layer and the dom entry represents the ___domain layer. You need to use the dom layer to simplify creating Power BI reports, so expand dom.
Underneath dom, open the Views section. Observe that each entity in your digital twin builder is reflected as two views: entityname_property and entityname_timeseries. The relationships view captures all relationships.
Within each entity view, there are values for
EntityInstanceId1
andEntityInstanceId2
. Together, these values form the unique ID of each entity instance associated with the entity.Explore the views using the UI (or SQL queries) to check that the sample data is mapped correctly. Verify the following items:
- Your mapped properties exist inside the views for their associated entities, and have data mapped to them (except for fields that were left unmapped).
- Entities have no null values for the
EntityInstanceId1
andEntityInstanceId2
columns. - The relationship view contains relationship data, and there are no null values. Notice that each row references a relationship between a source entity instance (identified by the combination of
FirstEntityInstanceId1
andFirstEntityInstanceId2
) and a target entity instance (identified by the combination ofSecondEntityInstanceId1
andSecondEntityInstanceId2
). - There's no view for Reboiler_property or Reboiler_timeseries, since you deactivated the Reboiler entity.
Now that you've explored the structure of the digital twin builder data, you're ready to use that data in a Power BI report.