title: QGB: a system for querying sequence database fields and features.
abstract: We have developed a general system, QGB, for performing complex queries on the information in the DDBJ/EMBL/GenBank databases, including queries over the structural features of sequences implied in the FEATURE TABLE. Queries are formed in a Structured Query Language (SQL)-like syntax with language extensions to support complex types (e.g., sets, ordered sets, and records) appropriate for representing and querying sequence data. A novel aspect of QGB is its ability to deduce missing features and infer relationships among features as a consequence of constructing a parse tree of sequence structure from information described in the FEATURE TABLE. The grammar for the parse tree is implemented in a customized form of the Definite Clause Grammar syntax of the logic programming language Prolog. The logic grammar formalism was chosen because it provides a perspicuous representation for features and constraints, and Prolog provides an execution model for the grammar rules. Construction of the parse tree also identifies inconsistencies and errors in the FEATURE TABLE that can in some cases be corrected automatically and used to generate an augmented version of the table.
authors.affiliation: Department of Genetics, University of Pennsylvania School of Medicine, Philadelphia 19104-6145, USA.
authors.forename: G C
authors.initials: GC
authors.lastname: Overton
authors.forename: J S
authors.initials: JS
authors.lastname: Aaronson
authors.forename: J
authors.initials: J
authors.lastname: Haas
authors.forename: J
authors.initials: J
authors.lastname: Adams
mesh_terms: D001483:Base Sequence; D003628:Database Management Systems; D016208:Databases, Factual; D006454:Hemoglobins / Q000235:genetics; D006801:Humans; D016247:Information Storage and Retrieval; D007621:Karyotyping; D008969:Molecular Sequence Data; D011381:Programming Languages
chemical_list: D006454:Hemoglobins