discourse vs semantics

discourse

noun
  • Expression in words, either speech or writing. 

  • A formal lengthy exposition of some subject, either spoken or written. 

  • An institutionalized way of thinking, a social boundary defining what can be said about a specific topic (after Michel Foucault). 

  • Any rational expression, reason. 

verb
  • To exercise reason; to employ the mind in judging and inferring; to reason. 

  • To engage in discussion or conversation; to converse. 

  • To write or speak formally and at length. 

semantics

noun
  • The study of the relationship between words and their meanings. 

  • A branch of linguistics studying the meaning of words. 

  • The individual meanings of words, as opposed to the overall meaning of a passage. 

  • The meaning of computer language constructs, in contrast to their form or syntax. 

How often have the words discourse and semantics occurred in a corpus of books? (source: Google Ngram Viewer )