Textbox 1 The ontology expression.

From: Exploring online public survey lifestyle datasets with statistical analysis, machine learning and semantic ontology

An ontology can be defined as a tuple Ω = {X, R}, where X is the set of concepts or classes, and R is a set of relations.

L = Levels (Оh) = Total number of levels in the ontology hierarchy, 0 ≤ n ≤ L, where n Z+ and n = 0 represents the root node.

Xn, j = a model classifying О at a level n; where, j {0, 1, …., |Xn|}

|X| = Number of instances classified as class X

E = Edge (Xn, j, Xn−1, k) = edge between node Xn, j and its parent node Xn−1, k

We have used the concept and represented our ontology with four tuples:

O = {Xa, R, I, A}

Xa: {Xa1, Xa2, …., Xan} represents “n” concepts or classes and each Xa.i. has a set of “j” attributes or properties Ai = {a1, a2,……., aj} provided n, i, j Z+.

R: A set of binary relations between the elements of Xa. It holds two subsets –

a. H: Inheritance relationship among concepts

b. S: Semantic relationship between concepts with a domain and range

I: Represents a knowledge base with set of object instances.

A: Represents a set of axioms to model O. A includes domain specific constraints to model an Ontology with Xa, R, and I.