I have a sentence:
It can be derived from either A or B.
But I’m not sure how to ask the following question:
Which one of them can it be derived from?
Is that ok, or would it be better if it were like this:
From which one of them can it be derived?