Breakdown of Det var ved hjelp av algoritmen at hun fant mønsteret.
Questions & Answers about Det var ved hjelp av algoritmen at hun fant mønsteret.
In a cleft sentence (Det var ... som/at ...), the choice between som and at depends on what kind of element is being put in focus:
- When you highlight a noun phrase or pronoun (a subject or object), you use som: Det var hun som fant mønsteret (It was she who found the pattern).
- When you highlight an adverbial — here, the prepositional phrase ved hjelp av algoritmen telling how she found it — Norwegian normally uses at (just like English often switches from who/which to that). With prepositional phrases, som can also occur, especially in speech, whereas at is standard when the highlighted part is a full adverbial expression or a subordinate clause.
If you simply fronted the adverbial in a normal main clause, the verb and subject would invert (V2 word order):
- Ved hjelp av algoritmen fant hun mønsteret.
In a cleft sentence, however, the main clause is Det var ved hjelp av algoritmen, and the main verb var has already taken the second position. What follows at is a subordinate clause, which keeps straight subject–verb order (at hun fant mønsteret). If you added a sentence adverb like ikke, it would also go in the subordinate position before the verb: ... at hun ikke fant mønsteret.