@ Subhi, definitely compost is richer than biochar if you compare the nutrients present in it. For example, in general compost contains 1-2% N, 0.5-1% P and nearly 2% K as compared to the biochar which is generally have negligible nitrogen present with o.5%P and nearly 0.4%K. Although biochar has more carbon than compost but compost is rich in calcium as compared to biochar.
I apologize to crash the party, but this question sounds like „I am too lazy to do the literature review myself“. I just googled „biochar composition“ „compost composition“ „biochar compost“ and it appears to me that this question can easily be answered. In addition, your question is fairly unspecific.
In my humble opinion, ResearchGate is a place to look for answers to questions that are very specific and cannot easily be answered. But your question really seems to be straightforward. If you provide more details and background, you may convince me that I am wrong
exactly Dominik Refardt as soon as I read the question, I said ''compost of course''., Subhi Salman certainly wants specific answer, then has to reframe the question. J. C. Tarafdar supported his answer with figures, that is good, left with some references.
It seems a general question, we can compare them in multi aspects. In first look compost maybe richer than biochar in nutrients, but we can't consider it as a final opinion in real world! Here is an new published work that may help you to figuring out the dimension of your question:
Article Comparative effects of biochar and compost applications on w...