semantic hierarchy to heads