Added query IOC type and related sample.