Volume 1 Chapter 2 Search Fields and Associated Keywords

Back to Table of Contents

2.7 Search Tests

A search query is normally formulated in terms of one or more search tests which are then combined to form the search question.

2.7.1 Numeric Tests

Graphics QUEST3D Procedure

In QUEST3D a numeric test is composed using the NUMERIC sub-menu, accessed from the SEARCH menu. The sub-menu is shown below and it can be seen that 40 search keywords are available for the composition of numeric tests.

Ex. Suppose we wish to search for all steroids (class 51).

At this point the instruction document would contain:

T1  *CLASS  .EQ.  51

Basic QUEST Procedure

In QUEST the above test would be composed by simply typing:

T1  *CLAS  .EQ.  51

The syntax of a numeric test is:

Tn  *KEYWORD  .LO.  VALUE

where .LO. is one of the logical operators:

.EQ.
is equal to
.NE.
is not equal to
.GT.
is greater than
.GE.
is greater than or equal to
.LT.
is less than
.LE.
is less than or equal to

Specification of a range of values is also permitted:

2.7.2 Text Tests

Graphics QUEST3D Procedure

In QUEST3D a text test is composed using the TEXT sub-menu, accessed from the SEARCH menu. The sub-menu is shown on below and it can be seen that 20 search keywords are available for the composition of text tests.

Ex.1 Suppose we wish to search for all entries corresponding to the author M.Nardelli.

At this point the instruction document would contain:

T1  *AUTHOR  M.Nardelli

Ex.2 Suppose we wish to search for all entries corresponding to space group Pc.

At this point the instruction document would contain:

T2  *SPACEGROUP  `Pc `

Note that in this example we must use trailing blanks, otherwise hits would be registered not only for the space group Pc but also for Pcab, Pcnb, Pcm21, etc.

Basic QUEST Procedure

In QUEST the above tests would be composed by simply typing:

The syntax of a text test is:

Tn  *KEYWORD  string

or

Tn  *KEYWORD  `string'

2.7.3 Chemical Formula Tests

A few tests available for the searching of chemical formula information (also reduced cells and peptide sequences) are not strictly numeric or text tests.

Graphics QUEST3D Procedure

In QUEST3D chemical formula tests are composed using the SEARCH menu shown below.

Ex.1 Find all entries for which the sum formula contains 6-8 osmium atoms.

At this point the instruction document would contain:

T1  *SUMFORM  OS  6-8

Ex.2 Find all entries for which a single residue contains 6-8 osmium atoms.

At this point the instruction document would contain:

T2  *RESIDUE  &  OS  6-8

Basic QUEST Procedure

In QUEST the above tests would be composed by simply typing:

Back to Table of Contents

Volume 1 Chapter 2 Search Tests Part 2.