Contextual Query Language

Contextual Query Language

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, 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
Palomar assignment 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 logistic regression.[2]

References

  1. ^ CQL: the Contextual Query Language: Specifications SRU: Search/Retrieval via URL, Standards, Library of Congress
  2. ^ Relevance Ranking Context Set version 1.1

External links

 This article incorporates public domain material from the United States Government document "http://www.loc.gov/standards/sru/cql/".


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • 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

  • Query language — Query languages are computer languages used to make queries into databases and information systems. Broadly, query languages can be classified according to whether they are database query languages or information retrieval query languages. The… …   Wikipedia

  • 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… …   Wikipedia

  • 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

  • Contextual advertising — Internet marketing Display advertising Email marketing E mail marketing software Interactive advertising …   Wikipedia

  • CQL — As an abbreviation, CQL can refer to: * Chess Query Language, a query language for interrogating chess databases; * CIM Query Language, a query language for the Common Information Model; * Common Query Language (or contextual query language ), a… …   Wikipedia

  • XFLAIM Database Engine — Infobox Software name = XFLAIM caption = latest release version = latest release date = operating system = Cross platform genre = Development Library license = GPL website = [http://developer.novell.com/wiki/index.php/FLAIM XFLAIM] TOC… …   Wikipedia

  • Yahoo! — This article is about the corporation. For the search engine, see Yahoo! Search. For other uses, see Yahoo (disambiguation). Yahoo! Inc. Type Public Traded as NASDAQ:  …   Wikipedia

  • Data architect — A data architect is a person responsible for ensuring that the data assets of an organization are supported by an architecture supporting the organization in achieving its strategic goals. The architecture should cover databases, data integration …   Wikipedia

  • Sicily — Infobox Region of Italy name = Sicily fullname = it. Regione Autonoma Siciliana isocode = capital = Palermo status = Autonomous region governor = Raffaele Lombardo (MpA) zone = South Italy province = Agrigento Caltanissetta Catania Enna Messina… …   Wikipedia

Share the article and excerpts

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