sarcophagus:carcass:tutorials:advanced_2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
sarcophagus:carcass:tutorials:advanced_2 [2012/06/04 15:54] erossarcophagus:carcass:tutorials:advanced_2 [2012/06/05 10:24] eros
Line 6: Line 6:
 ==== More on the Smart Query Editor ==== ==== More on the Smart Query Editor ====
  
-Now try using //Sort// to sort the results alphabetically by //match// (refer to the [[sarcophagus:carcass:tutorials:basic_3#sorting_results|basic tutorial]] if you don't remember how to do that).+Note also that the query you just submitted was added to the //Query history//, just like the simple query you submitted using the //Simple Query Editor//.
  
-You'll notice that there are 25 pages of results, if you want to move directly to a particular page, you can type the page number directly into the box. +Now let's try a different query:
- +
-Try typing **8** into the box and press enter on your keyboard: you'll be taken directly to page 8 of the result set. +
- +
-{{ :sarcophagus:carcass:tutorials:advanced:060_browse_results.png?950 }} +
- +
-Now let'get back to the //Smart Query Editor// and try a different query:+
  
   * first of all, reset the previous query by clicking on ''Clear form''   * first of all, reset the previous query by clicking on ''Clear form''
Line 20: Line 14:
 \\ \\
  
-{{ :sarcophagus:carcass:tutorials:advanced:070_clear_form.png?950 }}+{{ :sarcophagus:carcass:tutorials:advanced:070_clear_form.png?950&nolink }}
  
 \\ \\
Line 32: Line 26:
 \\ \\
  
-{{ :sarcophagus:carcass:tutorials:advanced:080_smart_query_2.png?950 }}+{{ :sarcophagus:carcass:tutorials:advanced:080_smart_query_2.png?950&nolink }}
  
 \\ \\
Line 40: Line 34:
 \\ \\
  
-{{ :sarcophagus:carcass:tutorials:advanced:090_query_2_results.png?950 }}+{{ :sarcophagus:carcass:tutorials:advanced:090_query_2_results.png?950&nolink }}
  
 \\ \\
Line 58: Line 52:
 \\ \\
  
-{{ :sarcophagus:carcass:tutorials:advanced:100_smart_query_3.png?950 }}+{{ :sarcophagus:carcass:tutorials:advanced:100_smart_query_3.png?950&nolink }}
  
 \\ \\
Line 75: Line 69:
 \\ \\
  
-{{ :sarcophagus:carcass:tutorials:advanced:110_smart_query_4.png?950 }}+{{ :sarcophagus:carcass:tutorials:advanced:110_smart_query_4.png?950&nolink }}
  
 \\ \\
  
 The query will return concordances like "made proposals", "reject the proposal", etc. The query will return concordances like "made proposals", "reject the proposal", etc.
 +
 +==== Using multiple constraints ====
 +
 +It is also possible to use multiple constraints on a single position. If we wanted to look for verbs starting with "under" followed by an optional determiner and then a noun, we could compose a query like this:
 +
 +  * click on ''Clear form''
 +  * Position 1: in the //Word// box type ''under.*'' (note the ''dot'' before the asterisk), in the "Part of speech" drop-down menu select ''Verb''
 +  * Position 2: in the "Part of speech" drop-down menu select ''Determiner'', tick the ''Position is optional'' checkbox
 +  * Position 3: in the "Part of speech" drop-down menu select ''Noun''
 +  * click on ''Submit''
 +
 +\\
 +
 +{{ :sarcophagus:carcass:tutorials:advanced:115_smart_query_5.png?950&nolink }}
 +
 +\\
 +
 +The query will return concordances such as "undertaken change" and "understand the complexities". You should note that the syntax we used here for the asterisk is different from the one we used in the first example of the tutorial: here we used ''.*'' instead of a simple asterisk to represent any sequence of characters. This inconsistency will probably be resolved in future versions of the software.
  
 In the [[sarcophagus:carcass:tutorials:advanced_3|next part]] of the tutorial, you'll learn about the //Expert query editor//. In the [[sarcophagus:carcass:tutorials:advanced_3|next part]] of the tutorial, you'll learn about the //Expert query editor//.