Smart agriculture today uses a wide range of wireless communication technologies. Low Power Consumption Embedded Devices (LPCED), such as the Internet of Things (IoT) and Wireless Sensor Networks, make it possible to work over great distances at a reduced cost but with limited transferable data volumes. However, data management (DM) in intelligent agriculture is still not well understood due to the fact that there are not enough scientific publications available on this. Though data management (DM) benefits are factual and substantial, many challenges must be addressed in order to fully realize the DM’s potential. The main difficulties are data integration complexities, the lack of skilled personnel and sufficient resources, inadequate infrastructure, and insignificant data warehouse architecture. This work proposes a comprehensive architecture that includes big data technologies, IoT components, and knowledge-based systems. We proposed an AI-based architecture for smart farming. This architecture called, Smart Farming Oriented Big-Data Architecture (SFOBA), is designed to guarantee the system’s durability and the data modeling in order to transform the business needs for smart farming into analytics. Furthermore, the proposed solution is built on a pre-defined big data architecture that includes an abstraction layer of the data lake that handles data quality, following a data migration strategy in order to ensure the data’s insights.