In order to meet the requirements of big data in IoT, the definition of data relationship, which is the data structure definition in traditional data model, is included in the ontology, so that it can be more efficient in data storage using NOSQL databases.