YOU SAID:
they replaced there search for knodledge
INTO JAPANESE
彼らはそこで知識の検索に取って代わった
BACK INTO ENGLISH
They replaced the search for knowledge there
INTO JAPANESE
彼らはそこでの知識の検索に取って代わりました
BACK INTO ENGLISH
They replaced the search for knowledge there
That didn't even make that much sense in English.