Common Query Language

Common Query Language

Common Query Language or contextual query language (CQL) is a formal language for representing queries to information retrieval systems such as search engines, bibliographic catalogs and museum collection information. Based on the semantics of Z39.50, its design objective is that queries be human readable and writable, and that the language be intuitive while maintaining the expressiveness of more complex query languages. It is being developed and maintained by the Z39.50 Maintenance Agency, part of the Library of Congress.

Examples of query syntax

Simple queries:

dinosaur "complete dinosaur" title = "complete dinosaur" title exact "the complete dinosaur"

Queries using Boolean logic:

dinosaur or bird dinosaur and "ice age" dinosaur not reptile dinosaur and bird or dinobird (bird or dinosaur) and (feathers or scales) "feathered dinosaur" and (yixian or jehol)

Queries accessing publication indexes:

publicationYear < 1980 lengthOfFemur > 2.4 bioMass >= 100

Queries based on the proximity of words to each other in a document:

ribs prox/distance<=5 chevrons ribs prox/unit=sentence chevrons ribs prox/distance>0/unit=paragraph chevrons

Queries across multiple dimensions:

date within "2002 2005" dateRange encloses 2003

Queries based on relevance:

subject any/relevant "fish frog" subject any/rel.lr "fish frog"

The latter example specifies using a specific algorithm for linear regression.

External links

* [http://www.loc.gov/standards/sru/specs/cql.html CQL home page]
* [http://www.loc.gov/z3950/agency/ Z39.50 Maintenance Agency]
* [http://zing.z3950.org/cql/intro.html A Gentle Introduction to CQL]


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Common Query Language — Die Common Query Language (CQL) ist eine formale Sprache um Anfragen für Informationssysteme wie z. B. Bibliothekskataloge zu konstruieren. Anfragesprachen fallen meistens in eine der nachfolgenden Kategorien: Leistungsfähige Anfragesprachen …   Deutsch Wikipedia

  • Common Command Language — Die Common Command Language (CCL) ist eine Anfragesprache für Information Retrieval Systeme, die 1993 im ISO Standard 8777 festgelegt wurde. Mit CCL wird versucht, Suchkommandos in Datenbanken zu vereinheitlichen, damit Benutzer nicht für jede… …   Deutsch Wikipedia

  • Common Intermediate Language — (сокращённо CIL)  промежуточный язык, разработанный фирмой Microsoft для платформы .NET Framework. JIT компилятор CIL является частью так называемой CLR (англ. Common Language Runtime)  общей среды выполнения языков .NET. Ранее… …   Википедия

  • Common Intermediate Language — For the counterpart to compiled assembly in the Microsoft .NET framework, see .NET assembly. Common Intermediate Language (CIL, pronounced either sil or kil ) (formerly called Microsoft Intermediate Language or MSIL) is the lowest level human… …   Wikipedia

  • Contextual Query Language — Die Common Query Language (CQL) ist eine formale Sprache um Anfragen für Informationssysteme wie z. B. Bibliothekskataloge zu konstruieren. Anfragesprachen fallen meistens in eine der nachfolgenden Kategorien: Leistungsfähige Anfragesprachen, die …   Deutsch Wikipedia

  • Contextual Query Language — (CQL), previously known as Common Query Language,[1] is a formal language for representing queries to information retrieval systems such as search engines, bibliographic catalogs and museum collection information. Based on the semantics of Z39.50 …   Wikipedia

  • Information retrieval query language — An information retrieval query language is a query language used to make queries into database, where the semantics of the query are defined not by a precise rendering of a formal syntax, but by an interpretation of the most suitable results of… …   Wikipedia

  • Structured query language — SQL Apparu en 1974 Auteur …   Wikipédia en Français

  • Structured Query Language — SQL Apparu en 1974 Auteur Donald D. Chamberlin et Raymond F. Boyce Développeur IBM Dernière version stabl …   Wikipédia en Français

  • XML Query Language — XQuery steht für XML Query Language und bezeichnet eine vom W3C spezifizierte Abfragesprache für XML Datenbanken. XQuery benutzt eine an XSLT, SQL und C angelehnte Syntax und verwendet XPath sowie XML Schema für sein Datenmodell und seine… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”