I am trying to compose an SQL query resulting a distint combination of two tables, but without success.

Need a result set where the Questions.Text and related Options.Text are unique when combined without duplications, but have to make sure if the subset of options with a different question works standalone, not to miss it from the results.
I tried using Distinct and Group by on the joined tables in multiple options, but none were successful. (I'm not an SQL expert unfortunately.)
First, prepare a unique 'signature' for each set of options that goes with each question. There are different algorithms you could use, here I'm calculating the CRC32 value for each option and then XORing them together:
Next we want to get the groupwise minimum for this signature. Again there are different approaches (see https://dev.mysql.com/doc/refman/8.0/en/example-maximum-column-group-row.html). Here I'm using a window function to calculate ranks per partition:
Finally, enforce the constraint that we only want the first question with a given set of options, and retrieve the data we want:
Produces