How is the best way to compose a complex sentence with the word
"which" as the subject of main and dependent clause?
I'm not sure what is being asked here. Must the word "which" be by itself the whole subject? And must the same sentence be using "which" for both the subject of its main clause and for a dependent clause?
Anyway, this might help: a main interrogative clause using the word "which" as its subject,
- "Which will be better?"
- "Which will be the better choice?"
though, those examples do not have a dependent clause in them.
Perhaps a supplementary clause could be added,
- "Which will be the better choice, which hopefully won't cause us regrets later on?"
If the comma in that last example was deleted then that would change the supplementary clause into an integrated clause. That would give us,
- "Which will be the better choice which hopefully won't cause us regrets later on?"
That interrogative clause, with the integrated relative clause, seems to be using a "which" as subject of a main clause and also a "which" as subject of a dependent clause.
If a declarative clause is expected as an answer, then that might be a bit harder. Maybe a supplementary clause as a separate sentence might be acceptable?
For instance, using an example out of the textbook by Huddleston and Pullum et al., A Student's Introduction to English Grammar (2005), page 189,
Integrated relatives function as dependent -- more specifically,
modifier -- within the construction containing them, but supplementary
relatives are attached more loosely, and indeed may constitute a
separate sentence, as in [15] (where, again, which has a clause as
antecedent):
[15]
(Note that "A" and "B" are two different speakers.) Using their example, perhaps consider the sentence,
- "Which will be why we won't be going out to dinner tonight, which should have been obvious to you all along."
or
- "Which will be why we won't be going out to dinner tonight, which is the only night I have free all month."
And if the comma in that last example was deleted, that would give us,
- "Which will be why we won't be going out to dinner tonight which is the only night I have free all month."
That declarative clause seems to be using a "which" as subject of its main clause, and also a "which" as subject of a dependent clause.
If you are using a traditional grammar or a modern grammar that wouldn't accept that last example, because it wouldn't consider that relative clause to be "restrictive" in function, then perhaps consider,
- "Which will be why we won't be going out to dinner tonight at that new restaurant which just opened down the street."
.
These are just some thoughts. Hopefully they will provide some useful info for you.