query backend for territory