Semantic Compound Queries