You asked:

is 7 g greater than 698 mg

Yes. 7 grams is greater than 698 milligrams.