Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Query language
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==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 [[logical connective|Boolean operator]]s 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]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)