AND, OR, NOT (Boolean Operators)Using the Boolean operators AND, OR, NOT to combine keywords in a database search allows you to narrow or expand your search. To build a complex search using two or more Boolean operators, you will need to learn the advanced technique of nesting.
In the Venn diagrams below, the area retrieved is yellow.
Example: global warming AND forests
Example: children OR adolescents
OR is most often used to combine synonyms or like terms.
Example: special education NOT hyperactivity
NESTINGNesting involves using parentheses to insure that Boolean operations are performed in the sequence you intend. This technique allows you to build a complex search using two or more operators (AND, OR, NOT).CAUTION! You may not build a good search using more than one Boolean operator without using nesting.
Example of simple nesting: In this search the OR operation is nested and will be performed first. Then the AND operation will be performed. This search will retrieve items on smoking and adolescents as well as items on smoking and teenagers.
Example of more complex nesting: The OR operations inside both sets of parentheses will be performed first, and then the resulting sets will be combined using the AND operator. Nesting synonyms in this way can broaden your search.
BAD Example: This search will perform the OR and AND operations in the sequence that they are typed. This will retrieve items that are irrelevant! You will retrieve all items about teenagers, not just those relating to smoking.
|