cqp:practice-complex-queries
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
cqp:practice-complex-queries [2024/06/13 15:54] – fix spelling aamoakuh | cqp:practice-complex-queries [2024/06/20 13:53] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | **[ [[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 // | ||
+ | |||
+ | If you need some more information about querying for positional different attributes, see the Wiki-page about [[cqp: | ||
+ | |||
+ | |||
+ | ==== Exercise 1 ==== | ||
+ | |||
+ | Formulate a query that matches all instances of any adjective followed by the lemma //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// | ||
+ | |||
+ | ==== Exercise 3 ==== | ||
+ | |||
+ | Query only negated instances of the //about to// | ||
+ | |||
+ | ==== Exercise 4 ==== | ||
+ | |||
+ | - Find all instances of the lemma //heart// occurring in the '' | ||
+ | - Find all instances of the lemma occurring in the '' | ||
+ | |||
+ | Just from looking at the first 15 matches in each concordance, | ||
+ | |||
+ | |||
+ | ==== Exercise 5 ==== | ||
+ | |||
+ | Query the English present perfect construction in the BNC-BABY without any words between auxiliary and past participle and create a frequency list of the participle verbs. Note that the frequency list should count lemmas. Be sure to ignore case. | ||
+ | |||
+ | (To match only verbs in the past participle form, you will have to have a look at the available pos-tags.) | ||
+ | |||
+ | What are the top-ten most frequent verbs in the construction? | ||
+ | |||
+ | ==== Exercise 6 ==== | ||
+ | |||
+ | Investigate the //drive someone X// | ||
+ | |||
+ | Consider the following questions: | ||
+ | - Which of the construction’s slots remain the same, which are variable? | ||
+ | - What is the host class of the last slot, i.e., what class of words can be used after the pronoun? | ||
+ | - What is the meaning of the construction? | ||
+ | |||
+ | ==== Exercise 7: Investigating synonymy ===== | ||
+ | |||
+ | Many dictionaries state that // | ||
+ | |||
+ | - Create a query that finds // | ||
+ | - Generate a case-insensitive frequency list of the nouns. | ||
+ | - Repeat for //toxic// and // | ||
+ | |||
+ | Compare lists. What differences do you see? | ||
+ | |||
+ | |||
+ | ==== Solutions ==== | ||
+ | |||
+ | Find the solutions here: [[cqp: | ||
+ | |||
+ | ==== More exercises ==== | ||
+ | |||
+ | Continue here: [[cqp: |