real implementation of conversation query