Korp builds on the IMS Open Corpus Workbench (CWB) and thereby the Corpus Query Processor (CQP). All search queries in Korp are automatically translated to the query language implemented by the CQP. When we at Språkbanken are talking about "CQP", we are usually referring to the query language.
Shown below is an example CQP query. It matches the word sequence subject + "äter" + noun.
[deprel = "FS|SS"] [word = "äter"] [pos = "NN"]
Learn CQP here:
- Att söka i Korp med CQP och Regexp – en introduktion (PDF) (Klas Hjortstam, 2018)
- CQP Interface and Query Language Manual (PDF) (Stephanie Evert & The CWB Development Team, 2022)
Also see:
- Korp tips and tricks: using CQP labels to search for dependency structures (Arianna Masciolini, 2023)