The code the OP is trying to compile is an example from the library for the Arduino Education Shield.
Someone else asked about this a few months ago, and one reply stated that the library examples that needed the IMU or BLE (bluetooth) are intended for the Arduino 101.
https://forum.arduino.cc/t/does-not-name-a-type/851412/8