The logical operators in CSDL are:

  • AND
  • OR
  • NOT

A AND B succeeds if both A and B succeed.

A OR B succeeds if at least one of them succeed.

For completeness, we include the truth tables.


1.  Filter for Tweets that mention Apple coming from users who describe themselves as evangelists.

2.  Filter for Tweets or Retweets that mention "marketing".

3.  Filter for Tweets that mention "Packard" but do not mention "Hewlett".

4.  Filter for Tweets that do not have geo information.