Misplaced Pages

Query language

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Redirected from Query languages) Computer language used to make queries into databases and information systems
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Query language" – news · newspapers · books · scholar · JSTOR (October 2010) (Learn how and when to remove this message)
This article lacks an overview of its topic. You can help by writing the lead section. (April 2018)
(Learn how and when to remove this message)

A query language, also known as data query language or database query language (DQL), is a computer language used to make queries in databases and information systems. In database systems, query languages rely on strict theory to retrieve information. A well known example is the Structured Query Language (SQL).

Types

Broadly, query languages can be classified according to whether they are database query languages or information retrieval query languages. The difference is that a database query language attempts to give factual answers to factual questions, while an information retrieval query language attempts to find documents containing information that is relevant to an area of inquiry. Other types of query languages include:

  • Full-text. The simplest query language is treating all terms as bag of words that are to be matched with the postings in the inverted index and where subsequently ranking models are applied to retrieve the most relevant documents. Only tokens are defined in the CFG. Web search engines often use this approach.
  • Boolean. A query language that also supports the use of the Boolean operators AND, OR, NOT.
  • Structured. A language that supports searching within (a combination of) fields when a document is structured and has been indexed using its document structure.
  • Natural language. A query language that supports natural language by parsing the natural language query to a form that can be best used to retrieve relevant documents, for example with Question answering systems or conversational search.

Examples

See also

References

  1. Schmitt, Ingo (January 2008). "QQL: A DB&IR Query Language". The VDLB Journal 17. 17: 39–56. doi:10.1007/s00778-007-0070-1. S2CID 207032530 – via ACM Digital Library.
  2. Norbert E. Fuchs; Kaarel Kaljurand; Gerold Schneider (2006). "Attempto Controlled English Meets the Challenges of Knowledge Representation, Reasoning, Interoperability and User Interfaces" (PDF). FLAIRS 2006.
  3. "FQL Overview". Facebook Developers. Archived from the original on 2013-12-18. Retrieved 2013-12-11.
  4. http://gellish.wiki.sourceforge.net/Querying+a+Gellish+English+database
  5. "Search operators". Google Inc. Retrieved August 22, 2015.
  6. "Bing Query Language". Microsoft. 22 June 2010. Retrieved August 22, 2015.
Database
Main
Languages
Security
Design
Programming
Management
Lists of
See also
WikiProject Category
Database management systems
Types
Concepts
Objects
Components
Functions
Related topics
Types of computer language
Types
See also
Query languages
In current use
Proprietary
Superseded
Categories: