Inferring the Ontology¶
An ontology or a semantic model in Data Contextualization represents a layer of abstraction on top of one or more physical schemas (each schema being a data source). The ontology or semantic model is created by a domain expert who understands the domain and is familiar with the domain terminology. After the semantic model is developed, other users can use it to write Business Queries.
The expert user can specify a business class, one or more business attributes in the business class, and map each business attribute to one or more physical schema attributes while generating the semantic model or Ontology. While building the semantic model, the user can optionally choose a configuration that describes how the physical tables should be coupled. As a result, the user can utilize the semantic model as a layer of abstraction to specify domain or business-related features and join conditions.
To infer an ontology using the available schema includes the following four steps:
General ontology¶
In General ontology, follow these steps:
- From the left navigation, click "Ontologies".
- Click "Infer Ontology".
- Enter the required general details such as "Ontology Name" and "Description".
- Click "Next".
Infer ontology¶
In Infer ontology, follow these steps:
- Select the required Schemas to "Selected Schemas" from "Available Schemas" and click .
-
Click "Infer Ontology".
A model can be created with the Class and required attributes which can be edited or deleted as per the requirement.
-
Click "Add Class" to add multiple classes.
- Click "Next".
Edit ontology¶
In Edit ontology, a JSON file is generated. Click "Back" button to edit the required details.
Download ontology¶
To Download ontology, click "Download ontology". A JSON file gets downloaded, thereby an Ontology is successfully downloaded.