Perseus Latin and Ancient Greek Treebank - Annis Query Tool

Announcements
General Information and Instructions:

Sample Queries and Search Tips
SearchQuery Syntax
Optative Verbs mood="optative"
Neutral conditionals with εἰ (i.e., εἰ + indicative in protasis [if-clause], indicative in apodosis [then-clause]) form="εἰ" & mood="indicative" & mood="indicative" & #1->parent #2 & #3 ->parent #1
Future less vivid conditionals with εἰ (i.e., εἰ + optative in protasis [if-clause], optative in apodosis [then-clause]) form-beta="εἰ" & mood="optative" & mood="optative" & #1->parent #2 & #3 ->parent #1
Genitive Absolutes case="genitive" & form & #2 ->parent[relation="SBJ"] #1
Substantival infinitives used as subjects mood="infinitive" & POS="verb" & #2 ->parent[relation="SBJ"] #1
Phrases with Subject-Verb-Object word order form & POS="verb" & form & #2 ->parent[relation="SBJ"] #1 & #2 ->parent[relation="OBJ"] #3 & #1 .* #2 & #2 .* #3
Phrases with Subject-Object-Verb word order form & form & POS="verb" & #3 ->parent[relation="SBJ"] #1 & #3 ->parent[relation="OBJ"] #2 & #1 .* #2 & #2 .* #3
Indicative verbs with accusative objects where the verb is that of a main clause POS="verb" & mood="indicative" & #1_=_#2 & case= "accusative" & #1->parent[relation="OBJ"] #3 & #1 .* #3 & CAT="S" & #4 > #1
Limit results to words at the root of the sentence (i.e. words which aren't dependendent on any others in the sentence) Append to the query: CAT="S" & #N > #1 (where #N is the argument number of CAT)
Limit results to the enclosing sentence? It isn't possible to do this specifically with the latest load of the data, but you can use the context dropdowns on left side of the Annis screen to append more or less context to the beginning and end of a search result until the full sentence is displayed.
Search on Citation For some of the texts, including Homer, most of Aeschylus, Hesiod, Sophocles, Ovid and Caesar, you can search on the CTS URN for the reference in the source text by searching the contents of the 'cite' annotation. For example, to do a search on verbs in sentences in lines 1-100 from Book 1 of the Iliad you would do:
POS="verb" & cite=/urn:cts:greekLit:tlg0012.tlg001:1\.([0-9]|[0-9]{2}|100)$/ & #2 _=_ #1

To determine whether or not a corpus has the cite tag available for searching, click on the 'i' information icon next to the text in the corpora list and view the list of Node Annotations to see if the 'cite' tag is present.

To find out the CTS URN for a text, go to the main Perseus site, select the text, and look for the Document URN in the lower right section of the page, in the "Data Identifiers" section.

Search on Annotator annotator_primary = /^|,shortname,|$/
(Short names can be found in the corpus metadata which is accessible from the i icons).
  • Because there are usually two primary annotators, both are loaded in a comma-separated list in the annotator_primary annotation, and you need to use regular expressions to search (e.g annotator_primary = /^|,shortname,|$/)
  • For the documents which used only a single annotator (i.e. Aeschylus and Sophocles), the annotation is just annotator
Search for any word form