One of the challenges of cyber-physical systems is the data acquisition in real- time through different communication protocols within the scope of the Industrial Internet of Things (IIoT). This IIoT data is mainly specified as big in amount, continuous in nature, unstructured, and ambiguous format. It is also enigmatic in terms of structure for an overview of the manufacturing plant and which data belongs to which sensor or machine. Presently, relational database technologies are inadequate to cater to such kinds of IIoT data due to their strict data structure and relations. For this reason, we presented the ontology-based data repository model implementation for the process industry using MongoDB, which is a cross- platform document-oriented, most sought-after ample data storage database system nowadays. Firstly, we have designed a JSON-based data-model schema for the IIoT data repository, which gathers the data with the help of one of the most commonly used communication protocols within the scope of IIoT, OPC UA. Secondly, our schema stores the meta-data and data using embedded referencing through the same data-model. Hence, the scalability, flexibility, and variety of the data storage system have increased. Lastly, with the execution of insertion and search queries, we show how fast to get the desired data element hierarchy or track any particular data, which becomes possible due to the proposed ontology. This effectiveness of the ontology-based data-model also minimize the overhead of the machine learning engineer job.