As far as I understand, every instance of Azure Digital Twins Preview brings its own IoT-Hub. A normal Azure IoT-Hub I could query like this (https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-query-language):
SELECT * FROM devices
How do I query the built in IoT-Hub of Azure Digital Twins? Or isn't it possible to access this IoT-Hub and I always have to use the Digital Twins REST-API?