![]() |
||
![]() |
||
| Guides to Info. Resources > Using Keywords and Boolean Logic | ||
Last revised: August 2006
Using Keywords and Boolean Logic or ConnectorsScope: Do you ever have trouble finding information that seems relevant to your search in the Libraries' Catalog or a database? You can use Boolean Operators to narrow or broaden your searches. This guide gives a brief overview of how to use Boolean Operators. Contact a librarian in libues[at]umd.edu for more information.
Table of ContentsWhat is Boolean Logic?Boolean logic is a system that allows a searcher to communicate to a database specific relationships between keywords (or concepts) when searching. The most commonly used Boolean commands (sometimes called logical operators) are AND, OR, and NOT.
Where is it Used?It is used in databases:
![]() It's important to know how Boolean commands operate so that you can understand what you are asking for and how to craft an effective search strategy. How do I Use It?To illustrate Boolean searching, let's assume that you have decided to write a research paper on the controversy surrounding the medical use of marijuana. The research question might be formulated as:
1. Begin by identifying the main keywords or concepts in your topic: medical and marijuana. 2. Now that you have identified the keywords, you need to communicate to the database what you are looking for. This is done by using the Boolean commands AND, OR, and NOT.
The Use of ANDAND is used to tell the database that you want to retrieve documents or items which contain both (or all) of the keywords you specify. It is used to connect unrelated terms or concepts. A search (using the advanced search interface in Academic Search Premier) using AND with these keywords would look like this:
![]() And the results would be:
AND has the effect of narrowing or restricting the number of documents retrieved. If we were to add in another term, such as controversy, the number of documents retrieved would shrink down to only those which contain all three terms. The Use of OROR is used to communicate to the database that you want to retrieve documents which contain one, or the other, or all of the terms that you specify. It is used to connect related or synonymous terms and is a very powerful tool in keyword searching. Its effectiveness lies in the fact that several different terms can be used to express a concept. For example, the concept of 'children' can also be expressed using the terms 'kids' or 'youth'. In keyword searching, if you don't specifically ask for the synonymous terms, you won't get results which contain them. In relation to our search question, some authors may use the term 'medical' while others may use 'therapeutic'; some authors may use 'marijuana' while others use 'cannabis'. (It is at this stage in developing a search strategy that a thesaurus can be very helpful.) OR allows you to ask the database to retrieve all these variants. For example, an OR search in CQ Researcher would look like this:![]() And the results would be: ![]() Note: When you combine AND and OR in the same search, use parentheses around the OR phrase. OR has the effect of expanding or increasing the number of documents retrieved. The more synonymous terms you add to your search, the greater the number of results you will retrieve. The Use of NOTNOT is used to communicate to the database that you do not want the items it retrieves to contain certain terms that you specify; that is, it excludes results. For example, you are searching in a periodical database for newspaper articles about your topic but you don’t want to retrieve any editorials. Your search would look like this in the Alternative Press Index:![]() And the results would be the following:
|
||
|
|