Text this: Information Inequalities via Submodularity and a Problem in Extremal Graph Theory