Skip to content

Meta-Guide.com

Menu
  • Home
  • About
  • Directory
  • Bibliography
  • Videography
  • Pages
  • Index
  • Random
Menu

How do I design a system to query the database based on natural language input?

Posted on 2015/05/252016/09/13 by mendicott

How do I design a system to query the database based on natural language input?

This may be referred to as NLDB (Natural Language Database) or NLIDB (Natural Language Interface to Databases).  Search in general is more or less based on natural language processing.  Most, if not all, dialog systems are more or less a form of search.  Most dialog systems are either based on one or another markup language (so-called pattern matching), statistically/probabilistically based, or a combination of the two.  Markup language is just another form of annotation, microformat, or “feature”.

In pattern matching dialog systems based on markup language (such as the prototypicalAIML), the annotations function as triggers for the search algorithm.  For instance, patterns can be combined in different ways, such as with wildcards, in order to create the impression/illusion of natural language dialog.  In this way, a pattern matching wizard can pull the wool over someone’s eyes in order to win a Turing test, such as the Loebner Prize.  (The very reason “natural language” is “natural” is because the human unconscious is ruled by “mind games”, theater, and mythology….)

In short – at this point, I don’t know of any practical way of getting around annotating your data, or corpus.  It is the annotation of data, or Metadata, that turns a “database” into a “knowledgebase”.  (I have yet to see, much less test, any functional dialog system based primarily on theoretical deep learning, or layered neural networks.)

See the answers to my Quora question:

  • Couldn’t all the tasks of natural language processing be performed solely within SQL?

See also my quick and dirty webpages:

  • AIML & SQL | Meta-Guide.com
  • Natural Language & SQL | Meta-Guide.com
  • NLDB (Natural Language Database) 2014 | Meta-Guide.com

Popular Content

New Content

Virtual Human Systems: A Generalised Model (2021)

 

Contents of this website may not be reproduced without prior written permission.

Copyright © 2011-2025 Marcus L Endicott

©2025 Meta-Guide.com | Design: Newspaperly WordPress Theme