type/element support for query