query for pr-neighborlod