You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use the main class QuerySerializer to translate and serialize queries
17
-
for you. The usage example below illustrates this. Valid QL identifiers
18
-
are `cosmas2`, `annis`, `poliqarp`, `poliqarpplus` and `cql`.
19
-
11
+
*[CQL] (http://www.loc.gov/standards/sru/cql/spec.html) (for basic search as described in [the CLARIN FCS 1.0 Specification] (https://www.clarin.eu/content/federated-content-search-clarin-fcs) )
12
+
* FCSQL (based on [CQP](http://cwb.sourceforge.net/files/CQP_Tutorial/), for advanced search as described in the CLARIN FCS 2.0 specification draft)
20
13
21
14
## Usage Example
22
15
16
+
You can use the main class QuerySerializer to translate and serialize queries. Valid QL identifiers are `cosmas2`, `annis`, `poliqarp`, `poliqarpplus` and `cql`.
This will print out the following JSON-LD string for the Koralized query.
33
-
The query asks for a sentence element (`<s>`) that is contained in a
27
+
The query asks for a sentence element (`<s>`) contained in a
34
28
sequence of the surface form *zu* and a token with the part-of-speech tag *ADJA*.
35
29
In the KoralQuery string, a containment relation is defined over two
36
30
operands, an *s* span and a sequence of two tokens.
@@ -81,15 +75,13 @@ operands, an *s* span and a sequence of two tokens.
81
75
82
76
## Motivation
83
77
84
-
Koral enables the design and implementation of corpus query systems
85
-
independently of any specific query languages. All the system needs to do on
86
-
the query processing side is have the query translated to KoralQuery (see usage)
87
-
and feed the translated query to its search engine. In particular, several query
88
-
languages can be supported without further adjustments to the search engine.
78
+
Koral allows designing and implementating corpus query systems
79
+
independent of any specific query languages. The systems only need to have Koral translate a query to a KoralQuery (see usage)
80
+
and feed the translated query to its search engine. Several query languages can be supported without further adjustments to the search engine.
89
81
90
82
Koral and KoralQuery have been designed and developed within the
91
83
[KorAP Project](http://korap.ids-mannheim.de/), and are used in KorAP to
92
-
translate queries to a common format before sending them to the backend.
84
+
translate queries to a common format before sending them to its search engine.
93
85
94
86
## Installation
95
87
@@ -111,6 +103,12 @@ There is also a command line version. After installation, simply run
111
103
* At least [Maven 3.2.1](https://maven.apache.org/)
112
104
* Further dependencies are resolved by Maven.
113
105
106
+
## Publications
107
+
108
+
J. Bingel, "Instantiation and implementation of a corpus query lingua franca," M.S. thesis, University of Heidelberg, Heidelberg, 2015.
109
+
110
+
J. Bingel and N. Diewald, "KoralQuery – a General Corpus Query Protocol," in Proceedings of the Workshop on Innovative Corpus Query and Visualization Tools at NODALIDA 2015, Vilnius, 2015, pp. 1-5.
111
+
114
112
## Authorship
115
113
116
114
Koral and KoralQuery were developed by Joachim Bingel,
0 commit comments