langtech:lcp:dqd:start
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| langtech:lcp:dqd:start [2024/03/05 13:15] – created johannes.graen.uzh.ch | langtech:lcp:dqd:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== The DQD Query Language ====== | ||
| - | |||
| - | LCP's query language DQD (Descriptive Query Definition) follows the idea of Entity-Relationshop models. Entities sets are defined by logical formulae on properties and relations between them. The query engine then searches for those constellations inside the corpus or corpora selected. Along the lines of first order logic, quantors can be employed to enforce the existence or non-existence of constellations. | ||
| - | |||
| - | Every query needs to specify at least one result set, which is either a (plain) list of entities comprising the query matches, a statistical or a collocational analysis. | ||
| - | |||
| - | |||
| - | ===== Introduction ===== | ||
| - | |||
| - | In a text corpus with standard annotations (viz the [[https:// | ||
| - | <code dqd> | ||
| - | Segment s | ||
| - | |||
| - | Token t | ||
| - | form = " | ||
| - | |||
| - | Result => plain | ||
| - | context | ||
| - | s | ||
| - | entities | ||
| - | t | ||
| - | </ | ||
| - | |||
| - | |||
| - | |||
| - | ===== Quick Reference ===== | ||
| - | |||
| - | <wrap #entity /> | ||
| - | ==== Entities ==== | ||
| - | |||
| - | Entities are defined in the [[|Corpus Template]]. Though aleatory names can be used, we use // | ||
| - | |||
| - | |||
| - | <wrap #attribute /> | ||
| - | ==== Attributes ==== | ||
| - | |||
| - | Attributes are also defined in the [[|Corpus Template]] and thus their naming is free for a corpus creator to define. As a standard set, we use //form// for word forms, //lemma// for lemmas, //upos// for [[https:// | ||
| - | |||
langtech/lcp/dqd/start.1709644532.txt.gz · Last modified: by johannes.graen.uzh.ch
