Smart city infrastructure includes deployment of a variety of sensors and provision of open data platforms and applications that can help improve the quality of life of the citizens. The large volumes of data generated by sensors and various Internet of Things (IoT) devices need to be harnessed to help smart city applications make informed decisions on the fly. Also, efficient management of smart city components relies on the ability to federate their data, locally process urban data streams, and utilize big data analytics to harness their governance. Data interoperability and integration is one of the most challenging problems facing smart cities today. Successful data integration is one of the keys to improved services and governance. This paper describes the architectural design of a framework that aims to deal with the integration of data across the various systems of the city, urban data analytics, and creation of value-added services. The framework relies on recent technologies for data processing including IoT, edge computing, cloud computing, data analytics, and semantic integration.