<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Query_language</id>
	<title>Query language - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Query_language"/>
	<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Query_language&amp;action=history"/>
	<updated>2026-04-21T03:56:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.sarg.dev/index.php?title=Query_language&amp;diff=304430&amp;oldid=prev</id>
		<title>imported&gt;Bender the Bot: /* Examples */ HTTP to HTTPS for SourceForge</title>
		<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Query_language&amp;diff=304430&amp;oldid=prev"/>
		<updated>2025-08-11T02:58:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Examples: &lt;/span&gt; HTTP to HTTPS for &lt;a href=&quot;/index.php/SourceForge&quot; title=&quot;SourceForge&quot;&gt;SourceForge&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Computer language used to make queries into databases and information systems}}&lt;br /&gt;
{{Multiple issues|&lt;br /&gt;
{{more citations needed|date=October 2010}}&lt;br /&gt;
{{lacking overview|date=April 2018}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;query language&amp;#039;&amp;#039;&amp;#039;, also known as &amp;#039;&amp;#039;&amp;#039;data query language&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;database query language&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;DQL&amp;#039;&amp;#039;&amp;#039;), is a [[computer language]] used to make queries in [[database]]s and [[information system]]s. In database systems, query languages rely on strict theory to retrieve information.&amp;lt;ref&amp;gt;{{Cite journal |last=Schmitt |first=Ingo |date=January 2008 |title=QQL: A DB&amp;amp;IR Query Language |url=https://link.springer.com/article/10.1007/s00778-007-0070-1 |journal=The VDLB Journal 17 |volume=17 |pages=39–56 |doi=10.1007/s00778-007-0070-1 |s2cid=207032530 |via=ACM Digital Library|url-access=subscription }}&amp;lt;/ref&amp;gt; A well known example is the [[Structured Query Language]] (SQL).&lt;br /&gt;
&lt;br /&gt;
==Types==&lt;br /&gt;
Broadly, query languages can be classified according to whether they are &amp;#039;&amp;#039;database&amp;#039;&amp;#039; query languages or &amp;#039;&amp;#039;information retrieval&amp;#039;&amp;#039; query languages. The difference is that a &amp;#039;&amp;#039;&amp;#039;database query language&amp;#039;&amp;#039;&amp;#039; attempts to give factual answers to factual questions, while an &amp;#039;&amp;#039;&amp;#039;information retrieval query language&amp;#039;&amp;#039;&amp;#039; attempts to find documents containing information that is relevant to an area of inquiry. Other types of query languages include:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Full-text&amp;#039;&amp;#039;&amp;#039;. 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.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Boolean&amp;#039;&amp;#039;&amp;#039;. A query language that also supports the use of the [[logical connective|Boolean operator]]s AND, OR, NOT. &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Structured&amp;#039;&amp;#039;&amp;#039;. A language that supports searching within (a combination of) fields when a document is structured and has been indexed using its document structure. &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Natural language&amp;#039;&amp;#039;&amp;#039;. 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]].&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
* [[Attempto Controlled English]] is a query language that is also a [[controlled natural language]].&amp;lt;ref name=&amp;quot;FLAIRS 2006&amp;quot;&amp;gt;{{cite conference |author1=Norbert E. Fuchs |author2=Kaarel Kaljurand |author3=Gerold Schneider | title = Attempto Controlled English Meets the Challenges of Knowledge Representation, Reasoning, Interoperability and User Interfaces | book-title = FLAIRS 2006 | date = 2006 | url = http://attempto.ifi.uzh.ch/site/publications/papers/FLAIRS0601FuchsN.pdf }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
* [[AQL (ArangoDB Query Language)|AQL]] is a query language for the [[ArangoDB]] native multi-model database system.&lt;br /&gt;
* [[.QL]] is a proprietary object-oriented query language for querying [[relational database]]s; successor of Datalog;&lt;br /&gt;
* [[CodeQL]] is the analysis engine used by developers to automate security checks, and by security researchers to perform variant analysis on [[GitHub]].&lt;br /&gt;
* [[Contextual Query Language]] (CQL) a formal language for representing queries to [[information retrieval]] systems such as web indexes or bibliographic catalogues.&lt;br /&gt;
* [[Cypher Query Language|Cypher]] is a query language for the [[Neo4j]] graph database;&lt;br /&gt;
* [[Data Mining Extensions|DMX]] is a query language for [[data mining]] models;&lt;br /&gt;
* [[Datalog]] is a query language for [[deductive database]]s;&lt;br /&gt;
* [[F-logic]] is a declarative object-oriented language for [[deductive database]]s and [[knowledge representation]].&lt;br /&gt;
* [[Facebook Query Language|FQL]] enables you to use a [[SQL]]-style interface to query the data exposed by the [[Graph API]]. It provides advanced features not available in the [[Graph API]].&amp;lt;ref&amp;gt;{{cite web|url=https://developers.facebook.com/docs/technical-guides/fql/|title=FQL Overview|work=Facebook Developers|access-date=2013-12-11|archive-url=https://web.archive.org/web/20131218130320/https://developers.facebook.com/docs/technical-guides/fql/|archive-date=2013-12-18|url-status=dead}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
* [[Gellish English]] is a language that can be used for queries in Gellish English Databases, for dialogues (requests and responses) as well as for information modeling and [[knowledge modeling]];&amp;lt;ref&amp;gt;https://gellish.wiki.sourceforge.net/Querying+a+Gellish+English+database{{dead link|date=July 2016 |bot=InternetArchiveBot |fix-attempted=yes }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
* [[Gremlin (programming language)|Gremlin]] is an [[Apache Software Foundation]] graph traversal language for OLTP and OLAP graph systems.&lt;br /&gt;
* [[GraphQL]] is a data query language developed by [[Facebook]] as an alternate to [[REST]] and ad-hoc [[webservice]] architectures.&lt;br /&gt;
* [[HTSQL]] is a query language that translates [[HTTP]] queries to [[SQL]];&lt;br /&gt;
* [[ISBL]] is a query language for [[PRTV]], one of the earliest relational database management systems;&lt;br /&gt;
* [[Jaql]] is a functional data processing and query language most commonly used for JSON query processing;&lt;br /&gt;
* [[Jq (programming language)|jq]] is a functional programming language often used for processing queries against one or more [[JSON]] documents, including very large ones;&lt;br /&gt;
* [[JSONiq]] is a declarative query language designed for collections of [[JSON]] documents;&lt;br /&gt;
* [[LDAP]] is an [[application protocol]] for querying and modifying [[directory services]] running over [[TCP/IP]];&lt;br /&gt;
* LogiQL is a variant of Datalog and is the query language for [[LogicBlox|the LogicBlox system]].&lt;br /&gt;
* [[M Formula language]], a [[Mashup (web application hybrid)|mashup]] query language used in Microsoft&amp;#039;s Power Query&lt;br /&gt;
* [[Molecular Query Language|MQL]] is a [[cheminformatics]] query language for a [[substructure search]] allowing beside nominal properties also numerical properties;&lt;br /&gt;
* [[MultiDimensional eXpressions|MDX]] is a query language for [[OLAP]] databases;&lt;br /&gt;
* [[N1QL]] is a [[Couchbase, Inc.|Couchbase]]&amp;#039;s query language finding data in [[Couchbase Server]]s;&lt;br /&gt;
* [[Object Query Language]]&lt;br /&gt;
* [[Object Constraint Language|OCL]] (Object Constraint Language). Despite its name, OCL is also an object query language and an [[Object Management Group|OMG]] standard;&lt;br /&gt;
* [[OPath]], intended for use in querying [[WinFS]] &amp;#039;&amp;#039;Stores&amp;#039;&amp;#039;;&lt;br /&gt;
* [[Poliqarp Query Language]] is a special query language designed to analyze annotated text. Used in the [[Poliqarp]] search engine;&lt;br /&gt;
* PQL is a [[special-purpose programming language]] for managing [[process model]]s based on information about [[wiktionary:Scenario|scenarios]] that these models describe;&lt;br /&gt;
* [[PRQL]] [https://prql-lang.org/ PRQL] (Pipelined Relational Query Language) is a modern language for transforming data. Consists of a curated set of orthogonal transformations, which are combined together to form a pipeline.&lt;br /&gt;
* [[PTQL]] based on relational queries over program traces, allowing programmers to write expressive, declarative queries about program behavior.&lt;br /&gt;
* [[QUEL query languages|QUEL]] is a [[relational database]] access language, similar in most ways to [[SQL]];&lt;br /&gt;
* [[RDQL]] is a [[Resource Description Framework|RDF]] query language;&lt;br /&gt;
* [[Smiles arbitrary target specification|SMARTS]] is the [[cheminformatics]] standard for a [[substructure search]];&lt;br /&gt;
* [[SPARQL]] is a query language for [[Resource Description Framework|RDF]] [[Graph (discrete mathematics)|graphs]];&lt;br /&gt;
* [[SQL]] is a well known query language and [[data manipulation language]] for [[relational database]]s;&lt;br /&gt;
* [[XQuery]] is a query language for [[XML database|XML data sources]];&lt;br /&gt;
* [[XPath]] is a declarative language for navigating XML documents;&lt;br /&gt;
* [[Yahoo! Query Language|YQL]] is an [[SQL]]-like query language created by [[Yahoo!]]&lt;br /&gt;
* Search engine query languages, e.g., as used by [[Google Search|Google]]&amp;lt;ref&amp;gt;&lt;br /&gt;
{{cite web&lt;br /&gt;
| title = Search operators&lt;br /&gt;
| url = https://support.google.com/websearch/answer/2466433?hl=en&lt;br /&gt;
| access-date = August 22, 2015&lt;br /&gt;
| publisher = Google Inc.&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; or [[Bing (search engine)|Bing]]&amp;lt;ref&amp;gt;&lt;br /&gt;
{{cite web&lt;br /&gt;
| title = Bing Query Language&lt;br /&gt;
| date = 22 June 2010&lt;br /&gt;
| url = https://msdn.microsoft.com/en-us/library/ff795667.aspx&lt;br /&gt;
| access-date = August 22, 2015&lt;br /&gt;
| publisher = Microsoft&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Data control language]]&lt;br /&gt;
* [[Data definition language]]&lt;br /&gt;
* [[Data manipulation language]]&lt;br /&gt;
* [[Path expression]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
{{Database}}&lt;br /&gt;
{{Databases}}&lt;br /&gt;
{{Computer language}}&lt;br /&gt;
{{Query languages}}&lt;br /&gt;
&lt;br /&gt;
{{Authority control}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Query languages| ]]&lt;br /&gt;
[[Category:Computer languages]]&lt;br /&gt;
[[Category:Data management]]&lt;br /&gt;
[[Category:Programming language classification]]&lt;br /&gt;
[[Category:Database management systems]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Bender the Bot</name></author>
	</entry>
</feed>