English Language Query (ELQ) - A 30,000 feet Overview | Database Journal

English Language Query (ELQ) – A 30,000 feet Overview

Written By
Adwait Ullal
Adwait Ullal
Feb 4, 1999
2 minute read

Overview:

In a nutshell, ELQ allows the users to phrase queries in a spoken English-like
language. For example, on a Web Site, I could type in "Show me all jeans that cost
less than $30"

Note: ELQ is available with SQL Server 6.5 Enterprise Edition and with SQL
Server 7.0

However, to enable the ELQ feature, there are a number of building blocks that need to
be created. Follows is a short version of steps:

  1. Create an English Query Domain, specific to your database.
  2. In general this will contain all information that is relevant to the database. The
    information consists of:

    1. Entities
    2. Entities are the fundamental blocks or ‘things’ that are contained in a database. In a
      relational world, they are akin to tables.

    3. Relationships
    4. Relationship tell ELQ how the entities interact with each other.

    5. Phrasing
    6. Phrases can either be in ‘verb’ form (such as ‘Shopper who bought most’) or in
      an ‘adjective’ form (such as ‘Prolific Shopper’). Other types of phrasing are
      ‘prepositional’ and ‘subset’ phrasing.

  3. Use the created EQD within a project.

In order for any project, Web based or otherwise, to understand a ELQ, the EQD must be
used within that project. For a Web Site, one could potentially have a ‘Search’ page where
the user could type or vocalize the query in English.

Once the query is received, it is validated against the EQD and if a valid SQL
statement is generated, it can be used to retrieve the resultant information.

For more information, download the document available at: http://www.microsoft.com/backoffice/sql/70/whpprs/eqp.htm

Database Journal Logo

DatabaseJournal.com publishes relevant, up-to-date and pragmatic articles on the use of database hardware and management tools and serves as a forum for professional knowledge about proprietary, open source and cloud-based databases--foundational technology for all IT systems. We publish insightful articles about new products, best practices and trends; readers help each other out on various database questions and problems. Database management systems (DBMS) and database security processes are also key areas of focus at DatabaseJournal.com.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.