Problem is that genes are not directly crossreferenced
to aberrations, therefore query like that should be
performed in two independent steps.
Let's assume you are interested in some gene (dpp).
Create QueryBuilder (QB) leg, select dataset Alleles,
select field Gene and enter context dpp.
Create another QB leg, select dataset Aberrations,
select field class_of_aberration' and from dictionary
select contect chromosomal_deletion.
Run this query asking for aberrations, you get 5 matches.
So you searched for aberrations which are deletions and
which are crossreferenced to some alleles of gene dpp.
Now in HitList click on HitList Conversion Tools
button. Select 'export to new QB session'. Your
deletions will be uploaded as a leg in new QB query.
Run this query asking for 'related stocks', that's all.