1. A Wikidata (Qx) item is an edition of another Wikidata item (Qy)
2. Qx (the edition) has an associated (e.g. English) Wikisource page
3. Qx and/or Qy have an associated (English) Wikipedia page
It's a bit more complex than that but I agree.
A large number (a majority?) of works have only one edition, in this case there is only one item on Wikidata, it's even easier : no problem.
There is disambig-like pages on wikisources for works. In this case, no problem again, you can link Wikipedia and Wikisource directly : https://www.wikidata.org/wiki/Q83186
Somtimes, there is wikipedia article about editions, again there is no problem here.