Query side implementation for composites