Skip to content

Commit

Permalink
Add German translation of cql.html.ep
Browse files Browse the repository at this point in the history
Change-Id: I7d244aae411a1bd2969a0f158ff81fa840488281
  • Loading branch information
r-wilm authored and Akron committed Nov 15, 2024
1 parent e03faf6 commit 155687b
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 12 deletions.
5 changes: 3 additions & 2 deletions Changes
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -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)
Expand Down
6 changes: 4 additions & 2 deletions kalamar.dict
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down
26 changes: 26 additions & 0 deletions templates/de/doc/ql/cql.html.ep
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
% layout 'main', title => 'KorAP: CQL';

%= page_title

<p>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.</p>

<p>KorAP unterstützt grundlegendes CQL gemäß der Spezifikation für die einfache Suche in der <a href="https://www.clarin.eu/content/federated-content-search-clarin-fcs">CLARIN Federated Content Search (FCS)</a>. Operatoren und Modifikatoren, die über AND und OR hinausgehen, werden von KorAP nicht unterstützt. Dies betrifft zum Beispiel REL und PROX.</p>

<section id="examples">
<h3>Beispiele</h3>
<p>Suche nach einzelnen Begriffen</p>
%= doc_query cql => 'Feuer'

<p>Suche nach aufeinanderfolgenden Wörtern</p>
%= doc_query cql => '"Öl ins Feuer"'

<p>Boolesche Anfragen</p>
%= doc_query cql => 'giessen OR gießen'
%= doc_query cql => 'Feuer and gießen'
</section>

<section id="References">
<h3>Referenzen: </h3>
<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" %>.
<%= ext_link_to 'CQL: The Contextual Query Language version 1.0', "https://www.loc.gov/standards/sru/cql/" %>, OASIS, Januar 2013</p>
</section>
10 changes: 2 additions & 8 deletions templates/doc/ql/cql.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,14 @@

%= page_title

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

<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>
<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>

<section id="examples">
<h3>Examples</h3>
<p>Querying a simple term</p>
%= doc_query cql => 'Feuer'


<p>Querying a phrase</p>
%= doc_query cql => '"Öl ins Feuer"'
Expand Down

0 comments on commit 155687b

Please sign in to comment.