SITE SEARCH      SITE MAP
Ethnologue.com home

Ethnologue: Languages of the World

Reduced 25%
now US$ 60
Add to cart

Ethnologue: Languages of the World


Most Recent
SIL Publications

Ethnologue > Software Tools > LinguaLinks > LinguaLinks Workshops > Tutorial

LinguaLinks logo
LinguaLinks Workshop Tools Tutorial



Task 48. Creating a Complex CQL Query Filter

Learning objective

You will learn that a Complex Filter assembles more than one already created Filter; in effect compounding the filtering capabilities.

Preparation

Open the Lexical Database Editor.

Adding a new Complex CQL Query Filter

1.On the menu, click Go…Filter.

2. In Filters, click , select Complex, and click .

Editing a new Complex CQL Query Filter

1. Click .

2. In the Complex Filter Editor, for Name of Filter, type Major Entries with Minor Entries.

3. For Abbreviation, type Maj w/ min.

Choosing a Logical Relationship type

1. For the Logical Relationship Tree type, click and select And.

Tip: This is the type of logical relationship you want for the group of filters at each branch level.

Adding Complex CQL Query Filter Branches

1. In the Complex Filter Editor, click .

2. In Filter Branch Editing, go to the "Add branch by referrring to an existing filter" pane, select Major Entries, and click OK.

3. In the Complex Filter Editor, click .

4. In Filter Branch Editing, go to "Add branch by creating" select CQL Query Filter (not added to filter list), and click OK.

5. In the Complex Filter Editor, double-click .

6. In the CQL Query Filter Editor, for Name of Filter, type Minor Entries.

7. For Abbreviation, type min.

8. For the Source Code, type (size over my minorEntries > 0), and click OK.

9. In the Complex Filter Editor, click OK.

Activating a new Complex CQL Query Filter

1. In Filters, click OK.

Result: Shows the status in red on the bottom status bar (five Major Entries contain Minor Entries in the English Lexical Database).

Finding other CQL Query Filters in the Help Index

1.For more help with writing CQL (Cellar Query Language) Query Filters, search for filter:source code, by.

2. For more help about any Entry with Multiple Senses, search for (size over allSenses of my senses > 1).

3. For more help about any Sense with Cross-References, search for exists over crossReferences of allSenses of my senses.

4. For more help about any Entry missing an Entry type, search for isMissing over my entryType.

5. For more help about any Entry with the Citation Form different from the Base Form, search for exists over my basisForCitationForm.