From 155687b1de0a0588d8f5e0d02d47b8259c133a9c Mon Sep 17 00:00:00 2001 From: Rebecca Wilm Date: Wed, 6 Nov 2024 15:25:19 +0100 Subject: [PATCH] Add German translation of cql.html.ep Change-Id: I7d244aae411a1bd2969a0f158ff81fa840488281 --- Changes | 5 +++-- kalamar.dict | 6 ++++-- templates/de/doc/ql/cql.html.ep | 26 ++++++++++++++++++++++++++ templates/doc/ql/cql.html.ep | 10 ++-------- 4 files changed, 35 insertions(+), 12 deletions(-) create mode 100644 templates/de/doc/ql/cql.html.ep diff --git a/Changes b/Changes index d490c27c3..11a514d39 100644 --- a/Changes +++ b/Changes @@ -1,4 +1,4 @@ -0.58 2024-11-08 +0.58 2024-11-15 - Cookie path is settable now (hebasta) - Fix meta table view for key value pairs (diewald) - Fix warning on OAuth public clients (diewald) @@ -9,7 +9,8 @@ (fixes #224; diewald) - Support setting of query form elements via plugins (diewald) - Fix h1-logo (only visible in header; diewald) - + - Added translations for CQL (r-wilm) + 0.57 2024-10-08 - Support VCs via URL without queries (diewald) - Added translations for regexp and FCSQL (r-wilm) diff --git a/kalamar.dict b/kalamar.dict index c5c9bfc8a..12bf48441 100644 --- a/kalamar.dict +++ b/kalamar.dict @@ -86,7 +86,8 @@ my $THOUSAND_SEP_RE = qr/( 'poliqarp-plus' => 'de/doc/ql/poliqarp-plus', 'cosmas-2' => 'de/doc/ql/cosmas-2', 'regexp' => 'de/doc/ql/regexp', - 'fcsql' => 'de/doc/ql/fcsql' + 'fcsql' => 'de/doc/ql/fcsql', + 'cql' => 'de/doc/ql/cql' }, api => { 'koralquery' => 'de/doc/api/koralquery' @@ -222,7 +223,8 @@ my $THOUSAND_SEP_RE = qr/( 'poliqarp-plus' => 'doc/ql/poliqarp-plus', 'cosmas-2' => 'doc/ql/cosmas-2', 'regexp' => 'doc/ql/regexp', - 'fcsql' => 'doc/ql/fcsql' + 'fcsql' => 'doc/ql/fcsql', + 'cql' => 'doc/ql/cql' }, api => { 'koralquery' => 'doc/api/koralquery' diff --git a/templates/de/doc/ql/cql.html.ep b/templates/de/doc/ql/cql.html.ep new file mode 100644 index 000000000..2ae050c19 --- /dev/null +++ b/templates/de/doc/ql/cql.html.ep @@ -0,0 +1,26 @@ +% layout 'main', title => 'KorAP: CQL'; + +%= page_title + +

CQL steht für Contextual Query Language (Kontextuelle Anfragesprache) und dient vor allem der Repräsentation von Anfragen an Information-Retrieval-Systeme. Häufig wird CQL im Zusammenhang mit dem Webservice-Protokoll Search/Retrieve via URL (SRU) verwendet, um Suchanfragen URL-freundlich darzustellen.

+ +

KorAP unterstützt grundlegendes CQL gemäß der Spezifikation für die einfache Suche in der CLARIN Federated Content Search (FCS). Operatoren und Modifikatoren, die über AND und OR hinausgehen, werden von KorAP nicht unterstützt. Dies betrifft zum Beispiel REL und PROX.

+ +
+

Beispiele

+

Suche nach einzelnen Begriffen

+ %= doc_query cql => 'Feuer' + +

Suche nach aufeinanderfolgenden Wörtern

+ %= doc_query cql => '"Öl ins Feuer"' + +

Boolesche Anfragen

+ %= doc_query cql => 'giessen OR gießen' + %= doc_query cql => 'Feuer and gießen' +
+ +
+

Referenzen:

+

<%= 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" %>. + <%= ext_link_to 'CQL: The Contextual Query Language version 1.0', "https://www.loc.gov/standards/sru/cql/" %>, OASIS, Januar 2013

+
diff --git a/templates/doc/ql/cql.html.ep b/templates/doc/ql/cql.html.ep index 5c51e1efd..5569ab043 100644 --- a/templates/doc/ql/cql.html.ep +++ b/templates/doc/ql/cql.html.ep @@ -2,20 +2,14 @@ %= page_title -

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 URL (SRU) protocol to represent URL-friendly search queries.

+

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.

-

In KorAP, we support basic CQL as defined in the CLARIN -Federated Content Search (FCS) specification for basic search. KorAP does not - support other operators and modifiers than AND and OR, such as REL and PROX.

+

In KorAP, we support basic CQL as defined in the CLARIN Federated Content Search (FCS) specification for basic search. KorAP does not support other operators and modifiers than AND and OR, such as REL and PROX.

Examples

Querying a simple term

%= doc_query cql => 'Feuer' -

Querying a phrase

%= doc_query cql => '"Öl ins Feuer"'