Query API

Base

BaseQuery(corpus, to_find)

Attributes

Node(node_type[, corpus, hierarchy])

NodeAttribute(node, label)

CollectionNode(anchor_node, collected_node)

CollectionAttribute(node, label)

Clause elements

ClauseElement(attribute, value)

Base class for filter elements that will be translated to Cypher.

EqualClauseElement(attribute, value)

GtClauseElement(attribute, value)

GteClauseElement(attribute, value)

LtClauseElement(attribute, value)

LteClauseElement(attribute, value)

NotEqualClauseElement(attribute, value)

InClauseElement(attribute, value)

Aggregate functions

AggregateFunction([attribute])

Average([attribute])

Count([attribute])

Max([attribute])

Min([attribute])

Stdev([attribute])

Sum([attribute])

Annotation queries

GraphQuery(corpus, to_find[, stop_check])

Base GraphQuery class.

SplitQuery(corpus, to_find[, stop_check])

Attributes

AnnotationNode(node_type[, corpus, hierarchy])

Class for annotations referenced in graph queries

AnnotationAttribute(annotation, label)

Class for information about the attributes of annotations in a graph query

Clause elements

ContainsClauseElement(attribute, value)

Clause for filtering based on hierarchical relations.

Lexicon queries

LexiconQuery(corpus, to_find)

Class for generating a Cypher query over the lexicon (type information about annotations in the corpus)

Speaker queries

SpeakerQuery(corpus)

Class for generating a Cypher query over speakers

Attributes

SpeakerNode([corpus, hierarchy])

SpeakerAttribute(node, label)

DiscourseNode([corpus, hierarchy])

DiscourseCollectionNode(speaker_node)

ChannelAttribute(node)

Discourse queries

DiscourseQuery(corpus)

Class for generating a Cypher query over discourses

Attributes

DiscourseNode([corpus, hierarchy])

DiscourseAttribute(node, label)

SpeakerNode([corpus, hierarchy])

SpeakerCollectionNode(discourse_node)

ChannelAttribute(node)