Used identifier: http://text-plus.org/cql/lexres/1.0/
(draft)
Recommended prefix: lexres
Tip
|
For more examples of CQL ContextSets, see the list of Context Sets at the Library of Congress (LoC). |
Tip
|
For more information about CQL indexes, see The CQL Context Set, section "INDEXES". |
Index title | Description | Details/Open questions |
---|---|---|
|
Lemma name |
Support of multiword expressions? |
|
Part of Speech |
Use of Universal POS tags. Allow custom tag sets? |
|
Definition |
|
|
Semantic relations, analogous to types in TEI Lex0 |
Only Synonym, Hyponym, Hyperonym, Meronym, Antonym, or additional relations? |
|
Sense, Entity, … - URI/ID pointint to unique identifier, e.g. for disambiguation |
Any URI allowed? Defined subsets (using prefixes)? Subdivision by type (e.g. synset/sense or entity, …)? |
Tip
|
More information about CQL relations can be found The CQL Context Set, section "RELATIONS". |
-
=
Different functions based on index. Suggested use:
-
Full match for
lemma
anddef
, -
for other indexes (like
pos
) use as "contained in" (Endpoint-dependent behaviour).
-
Tip
|
For more information about Booleans in CQL, see The CQL Context Set, section "BOOLEANS". |
-
AND
-
OR
-
NOT
(might be unnecessary) -
PROX
(might be obsolete)
Tip
|
For more information about relation modifiers/qualifiers, see The CQL Context Set, section "RELATION MODIFIERS". |
none
-
=
with/contains
,/startswith
,/endswith
,/fullmatch
,/partialmatch
modifiers
Tip
|
More information about Boolean modifiers can be found The CQL Context Set, section "BOOLEAN MODIFIERS". |
none
-
cat
,"cat"
,"United Nations"
Searching in the default index;cql.word
orlemma
-
pos = ADJ
Search for adjectives -
def = "cat"
Search for records whose definition contains the term "cat".
TODO: Stemming, Lower/Uppercase, Subword-Matches -
pos = NOUN NOT lion AND def = carnivore
Search for nouns with "carnivore" in definition; exclusion of records with "lion"