fixed graph query and upgraded AMI's all_dataset query with void vocab