إذاif كنتyou are لاnot تدريyou know وماand (beginning of 'you disputed') ريتyou disputed (continuation of the split verb) عالماa learned man
إذا كنت لا تدري وما ريت عالما
كأنّكas though you تدريyou know كنتyou would be بالجهلon account of ignorance فيin عذرexcuse
كأنّك تدري كنت بالجهل في عذر
If you do not know, yet dispute a learned man,
If you do not know and have not seen the world
as though you knew, you would be excused on account of your ignorance.
It's as if you know, being excused for ignorance
يعدis deemed لبيباsensible جاهلan ignorant man وهوwhile he is مذعنdeferential
يعد لبيبا جاهل وهو مذعن
وليسand is not عليماlearned مذعنa deferential man وهوwhile he لاnot يدريknows
وليس عليما مذعن وهو لا يدري
An ignorant man is deemed sensible when he is deferential,
A wise man considers an ignorant one learned if he's receptive
but a deferential man is not learned when he does not know.
And not a learned one if he does not know yet is not receptive