Using a Graph Database to Power the Internet of Things