{"id":783,"date":"2018-04-02T18:44:05","date_gmt":"2018-04-02T18:44:05","guid":{"rendered":"https:\/\/pressbooks.library.ryerson.ca\/writehere\/?post_type=chapter&#038;p=783"},"modified":"2018-05-25T18:21:15","modified_gmt":"2018-05-25T18:21:15","slug":"not-operator","status":"publish","type":"chapter","link":"https:\/\/pressbooks.library.torontomu.ca\/writehere\/chapter\/not-operator\/","title":{"raw":"NOT Operator","rendered":"NOT Operator"},"content":{"raw":"The operator NOT is used when you want to search for the first term and to exclude items that contain the second term. Teaching is a very broad term that is often qualified by broad levels such as primary, elementary, intermediate, secondary, higher, or, post-secondary. While you may want to specify a level that you want to look for by trying a search such as <em>teaching AND secondary<\/em>, you could decide to qualify or narrow the search by excluding a level that you are not interested in by using the <em>NOT<\/em> operator. The following Venn diagram illustrates the concept<em> teaching<\/em> as shown by the circle in green on the left. The concept <em>post-secondary<\/em> is shown by the light grey-coloured circle on the right.. While there is some overlap with both concepts shared by some articles and books, when you use the <em>NOT<\/em> operator in the example of <em><strong>teaching NOT post-secondary,<\/strong><\/em> you exclude those hits that had both <em>teaching AND post-secondary<\/em> (not shown). That is why the desired set on teaching resembles a circle with a piece removed. [Remember that the <em>NOT<\/em> operator is sometimes called <em>ANDNOT.<\/em> The Help information in a database will give you directions if you can simply use <em>NOT<\/em> or have to use <em>ANDNOT<\/em> as your Boolean operator.]\r\n\r\nExample of a Venn diagram using the NOT operator: <strong>teaching NOT post-secondary<\/strong>\r\n\r\n<img src=\"https:\/\/pressbooks.library.ryerson.ca\/writehere\/wp-content\/uploads\/sites\/23\/2018\/04\/ANDNOT-300x190.png\" alt=\"\" width=\"300\" height=\"190\" class=\"alignnone size-medium wp-image-784\" \/>","rendered":"<p>The operator NOT is used when you want to search for the first term and to exclude items that contain the second term. Teaching is a very broad term that is often qualified by broad levels such as primary, elementary, intermediate, secondary, higher, or, post-secondary. While you may want to specify a level that you want to look for by trying a search such as <em>teaching AND secondary<\/em>, you could decide to qualify or narrow the search by excluding a level that you are not interested in by using the <em>NOT<\/em> operator. The following Venn diagram illustrates the concept<em> teaching<\/em> as shown by the circle in green on the left. The concept <em>post-secondary<\/em> is shown by the light grey-coloured circle on the right.. While there is some overlap with both concepts shared by some articles and books, when you use the <em>NOT<\/em> operator in the example of <em><strong>teaching NOT post-secondary,<\/strong><\/em> you exclude those hits that had both <em>teaching AND post-secondary<\/em> (not shown). That is why the desired set on teaching resembles a circle with a piece removed. [Remember that the <em>NOT<\/em> operator is sometimes called <em>ANDNOT.<\/em> The Help information in a database will give you directions if you can simply use <em>NOT<\/em> or have to use <em>ANDNOT<\/em> as your Boolean operator.]<\/p>\n<p>Example of a Venn diagram using the NOT operator: <strong>teaching NOT post-secondary<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.library.ryerson.ca\/writehere\/wp-content\/uploads\/sites\/23\/2018\/04\/ANDNOT-300x190.png\" alt=\"\" width=\"300\" height=\"190\" class=\"alignnone size-medium wp-image-784\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/writehere\/wp-content\/uploads\/sites\/23\/2018\/04\/ANDNOT-300x190.png 300w, https:\/\/pressbooks.library.torontomu.ca\/writehere\/wp-content\/uploads\/sites\/23\/2018\/04\/ANDNOT-65x41.png 65w, https:\/\/pressbooks.library.torontomu.ca\/writehere\/wp-content\/uploads\/sites\/23\/2018\/04\/ANDNOT-225x142.png 225w, https:\/\/pressbooks.library.torontomu.ca\/writehere\/wp-content\/uploads\/sites\/23\/2018\/04\/ANDNOT-350x221.png 350w, https:\/\/pressbooks.library.torontomu.ca\/writehere\/wp-content\/uploads\/sites\/23\/2018\/04\/ANDNOT.png 716w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n","protected":false},"author":49,"menu_order":17,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-783","chapter","type-chapter","status-publish","hentry"],"part":742,"_links":{"self":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/writehere\/wp-json\/pressbooks\/v2\/chapters\/783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/writehere\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/writehere\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/writehere\/wp-json\/wp\/v2\/users\/49"}],"version-history":[{"count":1,"href":"https:\/\/pressbooks.library.torontomu.ca\/writehere\/wp-json\/pressbooks\/v2\/chapters\/783\/revisions"}],"predecessor-version":[{"id":785,"href":"https:\/\/pressbooks.library.torontomu.ca\/writehere\/wp-json\/pressbooks\/v2\/chapters\/783\/revisions\/785"}],"part":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/writehere\/wp-json\/pressbooks\/v2\/parts\/742"}],"metadata":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/writehere\/wp-json\/pressbooks\/v2\/chapters\/783\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/writehere\/wp-json\/wp\/v2\/media?parent=783"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/writehere\/wp-json\/pressbooks\/v2\/chapter-type?post=783"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/writehere\/wp-json\/wp\/v2\/contributor?post=783"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/writehere\/wp-json\/wp\/v2\/license?post=783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}