blob: 5569ab043c52c143ba89abc6e0852beb6831d440 [file] [log] [blame]
Nils Diewald61e6ff52015-05-07 17:26:50 +00001% layout 'main', title => 'KorAP: CQL';
2
Akron9490e3b2019-10-17 12:26:29 +02003%= page_title
Nils Diewald61e6ff52015-05-07 17:26:50 +00004
Rebecca Wilm155687b2024-11-06 15:25:19 +01005<p>CQL stands for Contextual Query Language. The main purpose of CQL is to represent queries to information retrieval systems. In fact, CQL is commonly used together with the Search/Retrieve via URL (SRU) protocol to represent URL-friendly search queries.</p>
margarethacd375802019-07-17 12:43:38 +02006
Rebecca Wilm155687b2024-11-06 15:25:19 +01007<p>In KorAP, we support basic CQL as defined in the <a href="https://www.clarin.eu/content/federated-content-search-clarin-fcs">CLARIN Federated Content Search (FCS)</a> specification for basic search. KorAP does not support other operators and modifiers than AND and OR, such as REL and PROX.</p>
margarethacd375802019-07-17 12:43:38 +02008
9<section id="examples">
10 <h3>Examples</h3>
11 <p>Querying a simple term</p>
12 %= doc_query cql => 'Feuer'
margarethacd375802019-07-17 12:43:38 +020013
14 <p>Querying a phrase</p>
15 %= doc_query cql => '"Öl ins Feuer"'
16
17 <p>Boolean queries</p>
18 %= doc_query cql => 'giessen OR gießen'
19 %= doc_query cql => 'Feuer and gießen'
20</section>
21
22<section id="References">
23 <h3>References: </h3>
Akron9490e3b2019-10-17 12:26:29 +020024 <p><%= ext_link_to 'searchRetrieve: Part 5', "http://docs.oasis-open.org/search-ws/searchRetrieve/v1.0/os/part5-cql/searchRetrieve-v1.0-os-part5-cql.doc" %>.
25 <%= ext_link_to 'CQL: The Contextual Query Language version 1.0', "https://www.loc.gov/standards/sru/cql/" %>, OASIS, January 2013</p>
margarethacd375802019-07-17 12:43:38 +020026</section>