Nested composition query