Exploiting Hierarchies

By Sandra Schloen, January 2016; Updated February 2021

Skip operator

Select from

Select from, string match

This operator is used implicitly to create a list of items from which to make a selection when using the special Query Type String match, lookup when used with pre-configured queries.

Self-selecting Property

It is also useful in the case where you have a Variable that is used at different levels of the taxonomic hierarchy to provide an increasingly detailed specification of its values. A common example of this for archaeology is the use of a Material variable which refines its list of sub-materials down successive levels of a hierarchy as needed (e.g. Stone, Basalt, Vesicular basalt). A common example of this for textual studies is the use of a Part of speech variable which list increasingly more specific parts of speech (e.g. Noun, Proper noun, Personal name) for grammatical tagging.

The select from operator is useful in a case such as this when used in a pre-configured query. The given Variable is set to select from its own Values as defined by its taxonomic contexts. Here for example the Materialvariable is set to select from itself.

Self-selecting Property

This query is displayed in the View with a Select button that provides the hierarchy of Value options defined by the Material Variable.

Hierarchical pick-list of Values

Select from, secondary hierarchy

The CEDAR, Shakespeare project has developed an Ontology of Things to tag words (Discourse units) that capture either the presence of actual physical things (e.g. props) or ideas/concepts.

Discourse units, tagged as Things

Query, using the select from operator along with the Ontology of Things. Configure the Query Type to "Pick hierarchy" to enable the hierarchical selection shown below.

The pre-configured Query lets the user select "Things" of interest. Note that this strategy circumvents variations in spelling (beauteous, beautie, beauty, beawtie, ...)