Then whether a sentence is semantically meaningful is governed by rules called selectional restrictions, i.e., constraints on what lexical items can go with what others. Some sentences may be grammatically well-formed, i.e., they comply perfectly with the grammar rules of the language, yet they may not be semantically meaningful.