Getting started
Semantic Link is a feature that allows you to establish a connection between Power BI datasets and Synapse Data Science in Microsoft Fabric.
The primary goals of Semantic Link are to facilitate data connectivity, enable the propagation of semantic information, and seamlessly integrate with established tools used by data scientists, such as notebooks.
Semantic Link helps you to preserve domain knowledge about data semantics in a standardized way that can speed up data analysis and reduce errors.
Package (PyPi) | API reference documentation | Product documentation | Samples
By downloading, installing, using or accessing this distribution package for Semantic Link, you agree to the Terms of Service.
This package has been tested with Microsoft Fabric.
Prerequisites
- A Microsoft Fabric subscription. Or sign up for a free Microsoft Fabric (Preview) trial.
- Sign in to Microsoft Fabric.
- Create a new notebook or a new spark job to use this package.
Note
Semantic Link is supported only within Microsoft Fabric.
About the Semantic Link packages
The functionalities for Semantic Link are split into multiple packages to allow for a modular installation.
If you want to install only a subset of the Semantic Link functionalities, you can install the individual packages instead of the semantic-link
meta-package.
This can help solve dependency issues. The following are some of the available packages:
- semantic-link - The meta-package that depends on all the individual Semantic Link packages and serves as a convenient way to install all the Semantic Link packages at once.
- semantic-link-sempy - The package that contains the core Semantic Link functionality.
- semantic-link-functions-holidays - A package that contains semantic functions for holidays and dependence on holidays.
- semantic-link-functions-geopandas - A package that contains semantic functions for geospatial data and dependence on geopandas.
- ...
Install the semantic-link
meta package
To install the semantic-link
package in Microsoft Fabric, you have two options:
Install the
SemPy
Python library in your notebook kernel by executing this code in a notebook cell:%pip install semantic-link
Alternatively, you can add Semantic Link to your workspace libraries directly. For more information, see Install workspace libraries.
Key concepts
SemPy offers the following capabilitites:
- Connectivity to Power BI
- Connectivity through Power BI Spark native connector
- Data augmentation with Power BI measures
- Semantic propagation for pandas users
- Built-in and custom semantic functions
Next steps
View our Samples