This research project presents an architectural framework for developing a semantically interoperable Internet of Things. Theres two things thats of core significance here- security and scalability. The intended applications require that sensitive user information be communicated in a secure manner. Since devices have limited resources, it is important that we have light-weight mechanisms for authentication and authorization. While this is relatively easier to accomplish on a small scale, the challenge is to accomplish this on the massive scale of the IoT which typically involving millions of devices. Our research therefore addresses the unique naming of devices for identification, provides language support for programming heterogeneous devices in an interoperable manner and develops analytics for instantaneous decision support.