Clause Clause Conscientious objector Category="Syntax"A clause is a group of words consisting of a subject and a predicate, although, in Non-finite clauses, the subject is often not explicitly given. A clause is either a whole sentence or, in effect a sentence-within-a-sentence.

Example:

Independent and dependent clauses

There are two basic categories of clauses: independent clauses and dependent clauses.

Independent clauses

The independent clause (also known as the main or coordinate clause) can stand by itself as a grammatically viable simple sentence. Multiple independent clauses can be joined (usually with a comma and a coordinating conjunction) to form a compound sentence.

Examples:

Dependent clauses

Dependent clauses (which are also sometimes referred to as subordinate clauses) cannot stand alone as sentences. They usually begin with subordinating conjunctions. A sentence with an independent clause and any number of dependent clauses is referred to as a complex sentence. One with two or more independent clauses and any number of dependent clauses is referred to as a compound-complex sentence.

Examples:

The above sentence actually contains two dependent clauses. "When they told me" is one; the other is "(that) I won the contest." The "that" is understood to precede the "I won" and functions as a subordinating conjunction.

Types of dependent clauses

There are a few types of dependent clauses, each of which functions as a part of speech: noun clauses, adjective clauses, and adverb clauses.

Examples:

Clauses should not be confused with phrases, which do not express complete thoughts through combinations of subjects and predicates. Phrases generally do not contain verbs except as verbals (gerunds, participles, and infinitives).

Clauses in Logic

In logic and Declarative programming, a clause is a disjunction of literals and can be interpreted as a (conditional) statement.