Lesson 4: How to Search Your Notes Using Query Filters and Links

Count me in! I would love to help finance this.

1 Like
  • Exercises
    1. Search for all blocks that mention either Ghosts or Julius Caesar.
      -{{query (or [[Ghosts]] [[Julius Caesar]])}}

    2. Search for all blocks that mention both Ghosts and Shakespeare.
      -{{query (and [[Ghosts]] [[Shakespeare)}}

    3. Search for all blocks that mention Shakespeare but not Romeo and Juliet.
      -{{query (and [[Shakespeare]] (not [[Romeo and Juliet]]))}}

    4. Search for all blocks that mention Ghosts and Shakespeare but not Hamlet.
      -{{query (and [[Ghosts]] [[Shakespeare]] (not [[Hamlet]]))}}

    5. Search for all blocks that mention Ghosts but not Shakespeare, Hamlet, Julius Caesar, or Macbeth.
      -{{query (and [[Ghosts]] (not (or [[Shakespeare]] [[Hamlet]] [[Julius Caesar]] [[Macbeth]]))}}