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
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:
- Create an English Query Domain, specific to your database.
- Use the created EQD within a project.
In general this will contain all information that is relevant to the database. The
information consists of:
Entities are the fundamental blocks or ‘things’ that are contained in a database. In a
relational world, they are akin to tables.
Relationship tell ELQ how the entities interact with each other.
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.
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