User Tools

Site Tools


cqp:practice-complex-queries

[ Collection: Introduction to CQP ]

Formulating Complex Queries

For some of these exercises you will have to be familiar with the positional attributes of the BNC, for example the different class-tags or pos-tags. You can look them up in the info-file of the corpus, simply type info and press ENTER inside the BNC. For other exercises you will have to generate frequency lists.

If you need some more information about querying for positional different attributes, see the Wiki-page about Complex Queries and Combinations of attributes and values. For more information on frequency lists see this Wiki-page on Frequency lists.

Exercise 1

Formulate a query that matches all instances of any adjective followed by the word snow or rain (but only as nouns), ignoring case, in the BNC-BABY.

Exercise 2

Formulate a query that finds only matches using the going to-future but no other instances of "going to" in the BNC-BABY.

Exercise 3

Query only negated instances of the about to-construction in the BNC-BABY. How many do you find?

Exercise 4

  1. Find all instances of the lemma heart occurring in the text_genre medicine. Have a look at the structural attributes in the info-file and use the command match.
  2. Find all instances of the lemma occurring in the text_genre prose.

Just from looking at the first 15 matches in each concordance, which common constructions do you see in the matches?

Exercise 5

Query the English perfect construction (present or past) in the BNC-BABY and create a frequency list of the verbs. Note that the frequency list should count lemmas or "headwords" and not different word forms. Also be sure to ignore case.

What are the top-ten most frequent verbs in the construction?

Exercise 6

Investigate the drive someone X-construction (e.g., "This was driving me bananas") in a corpus of your choosing.

Consider the following questions:

  1. Which of the construction’s slots remain the same, which are variable?
  2. What is the host class of the last slot, i.e., what class of words can be used after the pronoun?
  3. What is the meaning of the construction?

Exercise 7: Investigating synonymy

Many dictionaries state that venomous, toxic and poisonous are synonyms. Are they interchangeable in all contexts?

  1. Create a query that finds venomous followed by a noun.
  2. Generate a case-insensitive frequency list of the nouns.
  3. Repeat for toxic and poisonous.

Compare lists. What differences do you see?

Solutions

Find the solutions here: Complex Queries – Solution

More exercises

cqp/practice-complex-queries.txt · Last modified: 2024/01/21 07:03 by aamoakuh