Probing non-locality of interactions in a Bose–Einstein condensate using solitons