Next Article in Journal
Improved Carpooling Experience through Improved GPS Trajectory Classification Using Machine Learning Algorithms
Previous Article in Journal
Computationally Efficient Context-Free Named Entity Disambiguation with Wikipedia
Previous Article in Special Issue
Visualization of WiFi Signals Using Programmable Transfer Functions
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Q4EDA: A Novel Strategy for Textual Information Retrieval Based on User Interactions with Visual Representations of Time Series

Faculty of Computer Science, Dalhousie University, Halifax, NS B3H 1W5, Canada
*
Author to whom correspondence should be addressed.
Information 2022, 13(8), 368; https://doi.org/10.3390/info13080368
Submission received: 27 June 2022 / Revised: 27 July 2022 / Accepted: 28 July 2022 / Published: 2 August 2022
(This article belongs to the Special Issue Trends and Opportunities in Visualization and Visual Analytics)

Abstract

:
Knowing how to construct text-based Search Queries (SQs) for use in Search Engines (SEs) such as Google or Wikipedia has become a fundamental skill. Though much data are available through such SEs, most structured datasets live outside their scope. Visualization tools aid in this limitation, but no such tools come close to the sheer amount of information available through general-purpose SEs. To fill this gap, this paper presents Q4EDA, a novel framework that converts users’ visual selection queries executed on top of time series visual representations, providing valid and stable SQs to be used in general-purpose SEs and suggestions of related information. The usefulness of Q4EDA is presented and validated by users through an application linking a Gapminder’s line-chart replica with a SE populated with Wikipedia documents, showing how Q4EDA supports and enhances exploratory analysis of United Nations world indicators. Despite some limitations, Q4EDA is unique in its proposal and represents a real advance towards providing solutions for querying textual information based on user interactions with visual representations.

1. Introduction

It is undeniable that advancements in Search Engines (SE) [1] represent a revolution without precedent in human history for information dissemination. Due to the large amount of readily available data, knowing how to construct Search Queries (SQs) [2] has become a fundamental skill. From Google [3] to Wikipedia [4], most SEs require users to type a text-based search query to retrieve relevant information. Although much data are available through such SEs, most of the structured datasets, such as the UNData [5] time-series world indicators, live outside their scope and cannot be incorporated into search queries. On the other hand, the information contained in structured datasets is typically available to probe through visualization tools or interfaces. One example is Gapminder [6], where users can visualize animated charts displaying the UNData dataset. Despite their popularity, no individual visualization tool comes close to the sheer amount of information available through Wikipedia’s hyperlinked text documents. Therefore, even if one uses, for instance, Gapminder to discover global misconceptions [7], they will undeniably be required to search elsewhere for extra information regarding the underlying findings.
The task of generating text-based SQs for SEs is, broadly speaking, performed by the users themselves. However, this process can be challenging since the translation between user intent and keywords is sometimes not trivial, causing users not to find the information being looked for [8]. Beyond regular keyword lists, other search strategies are available to address such limitations. For instance, it is also possible to “search by image” [9], where users can find images similar to a given image, or “search by natural language” [8,10], where users can search using descriptive texts.
However, when considering structured datasets, up to our knowledge, there is no mechanism to use pieces of visual data, such as user selections in a line chart, to search for related information using general-purpose SEs. Instead of using visual selections, there are solutions that either use visualizations as outputs [11,12,13] or as a visual interface to manually construct what is essentially a text-based query [14,15,16,17]. Even though such visualizations are shown to aid the information gathering processes, in these works, the use of visual selections as visual search queries to fetch relevant information from general-purpose SEs is an unexplored concept. Various examples of search query suggestions for data analysis [18,19] have also been proposed, but the use of such techniques applied to visual search queries during data analysis is similarly unexplored.
This paper proposes QuEry for visual Data Analysis (Q4EDA), a novel framework that converts user visual selections to relevant search queries to be used for general purposes search engines, such as Google or Wikipedia. Using query expansion and suggestion techniques, one of the promising applications for Q4EDA is to allow users to perform an enhanced visual analysis of time-series dataset collections. To use Q4EDA in this context, a visualization tool, such as Gapminder or Tableau [20] captures and forwards user visual selection queries (VQs) to Q4EDA, then Q4EDA processes the selection and outputs an SQ which can then be used on general-purpose SEs. Q4EDA also suggests other potential time series related to the selected event within the dataset collection to be subsequently investigated. In summary, the main contributions of this paper are:
  • A conversion technique to transform visual selection queries into valid and stable search queries usable in general-purpose search engines;
  • A strategy to expand the converted search query to better retrieve related text documents and provide suggestion ranking lists with data related to the visual selection query;
  • An exploratory data analysis application example that uses Q4EDA in practice to provide means to find more (textual) information related to an observed pattern compared to the standard manual keyword-based queries.
The remainder of the paper is structured as follows. In Section 2, we discuss related work involving techniques that seek to interpret visual interactivity as queries and how they execute and use the results of their query. In Section 3, we formalize the problem and outline the Q4EDA solution. In Section 4, we present use-case examples of how visualization tools can use Q4EDA. Evaluations through user survey and query stability performance are then presented in Section 5, indicating a good degree of stability and reproducibility of the search queries and overall success of Q4EDA in enhancing users’ ability to probe for relevant information of patterns or events found during visual data analysis. Finally, in Section 6 we discuss Q4EDA limitations and in Section 7 we draw our conclusions.

2. Related Work

In order to support users in visual data analysis, some tools and techniques allow for a non-obstructive exploratory approach through visual interactivity [14,21], among the most relevant is NorthStar [14], which goes in-depth into the difficulties of providing an exploratory system that follows responsive and real-time guidelines for intuitive and engaging user exploratory analysis while at the same time utilizing automatic problem detectors throughout the entire workflow to reduce the amount of potential bias or incorrect insights generated through the exploration. However, although a certain level of “query conversion” is performed through these tools or techniques, they still expect what is essentially a text-based query to be constructed manually through their visual interface. Furthermore, these tools use the query to retrieve data from domain-specific databases, which differs from our proposed query conversion method for search engines. Moreover, although research has identified other ways to encode visual findings and hypotheses beyond visual query constructors [22], no existing work, as far as the authors know, has demonstrated ways to use such methodology to convert a visual selection into a search query as Q4EDA proposes.
Considering the perspective of visual selection queries and its related information from external datasets, some approaches focus on extracting or generating automatic visualizations and annotations. Despite representing significant progress, the amount of analysis enhancement they provide is limited to the generation of visual metaphors [23,24,25] and of visual feature extractions [25,26,27] produced from a single dataset used for analysis. Other works focus on generating enhanced visualizations by displaying one dataset as a visual feature of the other. These visual features can be annotations [11,28], can involve textual queries to generate visualizations [13,29,30,31], can define a question-answer interface to visualizations [32,33,34], can use textual datasets to help the understandability of structured datasets [12,13,35,36], or can automatic link text to images for use within visualizations [37,38,39]. The research has shown approachable and engaging ways to optimize visualizations and analysis by using text-based datasets and NLP techniques. Of them, usage of heterogeneous data [38] an cross-modal methods [34,37] has shown that utilizing multimodal datasets, such as time-series and text, provides significant advantages to the user’s analysis. Although many of them use some query to retrieve information from text, no one uses external search engines as the target of such queries. Instead, they focus on specific text datasets. These efforts show a focus on analyzing a single dataset with the aid of another, which provides NLP capabilities during analysis. However, such approaches differ from the proposal of Q4EDA where we do not just convert visual search queries and provide valid search queries to be used in existing search engines but also provide query suggestions, aiding the analysis in many ways.
Visual Analytics has also recently started to use heterogeneous datasets for analysis, and one such work performed by [15] proposes a method of using users’ interactions to quantify their attention and, from it, decide which medical documents to present to the user. Arguably similar to Q4EDA, [15] uses a textual database and a query system from their previous work Cadence [16,17]. Although their text database does not significantly differ from existing search engines, hence approaching Q4EDA’s proposal, this work does not provide an actual query conversion process, nor propose methods of query suggestions, nor allow for visual selections as queries. Instead, queries are again constructed manually using the Cadence system through a drag-and-drop interface to perform the search. This procedure is arguably most similar to the interface of NorthStar [14] as opposed to Q4EDA.
Significant effort has been made by the information retrieval community to propose better ways to use search engines during data analysis. The practice of retrieving information [1] describes ways to expand a query, so its effectiveness is more relevant to users when executed in a SE [40,41,42,43] and how to provide suggestions for future queries [18]. Although their techniques are very relevant to Q4EDA, the vast majority are non-visual approaches that describe advances in how to perform query expansion of a keyword or natural language search query as opposed to Q4EDA’s visual selection queries. Among the ones that use visualizations, they either use it only to display information, lacking interactivity [44], or use it as a query builder interface, where there is no concept of visual selection queries [45], focuses on visualizing a manually or interactively constructed query [46,47]. Indeed, the authors are not aware of any research within the information retrieval community which transforms or converts visual selections into SQ automatically, that is, without any user intervention to manually, even if through visual interfaces, construct the search query. Q4EDA aims to fill this gap where users are not required to interpret the available data and manually construct the search query. Instead, users can visually select portions of existing visualizations, and the selection is automatically converted into a valid search query for use in search engines.
Both information retrieval and data management communities have had great strides in connecting heterogeneous data, such as time-series datasets and text documents. Currently, one of the major advances in this direction is the concept of dataspaces [48,49] and knowledge graphs [19,43,50,51,52]. Manual, semi-automatic, and automatic procedures for matching and linking these have been studied [39,53,54,55,56,57,58]. Though some contributions links structured datasets within visualizations to external data and others link data to text documents, no related work performs the full path from visual selections to search engine responses as far as the authors are aware. Though Q4EDA uses many of the concepts shared among these valuable contributions, Q4EDA blurs the line between visual interaction, database query, and information retrieval to deliver what it proposes.
In summary, existing works provide many relevant works which use textual datasets to enhance data analysis, but they provide no visual selection query conversion capabilities. Many do not support search engines nor provide query suggestions from text documents extracted from said search engine. Some newer work exemplifies the benefits of linking structured datasets to textual counterparts for data analysis enhancement. However, they still fail to provide a way for users to analyze datasets through visual selection queries, such as a box selection within a line chart, and simultaneously be provided suggestions of said visual selection. Instead, existing work either fails to provide the visual selection query, the query conversion, the support for SEs, or the query suggestions. This is the novelty of our framework: to provide a visual analytic workspace where external VA tools provide enhanced data analysis of time-series datasets by converting visual selection queries to search queries to be used within well-known SEs and supplying query suggestions to further enhance the analysis. To promote this query conversion, we devise a novel approach using existing pattern analysis and natural language process strategies to convert user-selected findings and elements of interest to valid SQs while also providing suggestions based on the selected finding, allowing users to navigate the data and build up knowledge.

3. Q4EDA

In this paper, we present QuEry for visual Data Analysis (Q4EDA), a novel query conversion framework designed to enhance data exploration tasks by ingesting user’s findings through visual selections and returning search queries (SQs) which can retrieve relevant information from general-purpose search engines (SEs). By identifying user-driven visual selections of findings (or patterns) of interest, Q4EDA allows visualization tools to request the conversion of said selections into SQs to be used in keyword-based SEs to retrieve textual information related to the finding. Additionally, Q4EDA provides query suggestions with recommendations based on the similarity or correlation of the selected finding to other parts of the dataset under analysis. Q4EDA is specifically designed for time-series dataset collections, hence it expects the visualization tools to similarly include time-series data as the input visual selection query.

3.1. Overview

Q4EDA is structured as summarized in Figure 1. After a setup phase, a visualization may forward a Visual Selection Query (VQ) to Q4EDA to be processed and converted into a Search Query (SQ). Q4EDA can be divided into three distinct steps: conversion, output, and suggestion. Q4EDA conversion uses the VQ’s data-types, such as numeric or categorical values. Similarly, each of Q4EDA’s outputs implements the SQ specification of a target SE. Finally, Q4EDA provides query suggestions by either correlating text documents retrieved from the SE to the dataset’s available data or correlating the selected time-series pattern to other available time-series within the dataset. Although what we present of Q4EDA’s implementation attempts to emulate the data available within Gapminder, the framework is purposely flexible to allow for other applications, such as will be discussed.

3.2. Design Requirements

Q4EDA focuses on providing a VQ conversion framework for time-series dataset exploratory analysis. By combining elements of information retrieval, the gaps in the literature in regards to VQ conversion, and the goal stated above, we have compiled a list of requirements:
R1
Visual Query Conversion. Q4EDA must provide a valid SQ given a VQ that provides: (a) output correctness—the information returned from the targeted SEs should be related to the user’s VQ [1]; and (b) output stability—the results should not vary too much given slight variations on the VQ since slight variations of user interaction (selection) are expected to happen in practice [41];
R2
Information Retrieval. Q4EDA should follow existing approaches to enhance the retrieved results, including: (a) query expansion—the converted SQ should be expanded [42] with terms to broaden the query results to better allow for related information to be found; and (b) query suggestion—suggestions [18] should be provided to provide users with information of interest.

3.3. Q4EDA Definitions

As a first step, it is essential to define what an SQ is in our context. Many online resources define SQ as “A search query or search term is the actual word or string of words that a search engine user types into the search box” [60]. Beyond that, we see a plethora of similar concepts when applied to different modes of communication. To simplify and better contextualize Q4EDA, we define a Search Query (SQ) as a term-based format of querying for information. Similarly, we define a Search Engine (SE) as any system which can receive an SQ and retrieve information relevant or related to the query from its database(s), where among the most famous examples are Google, Wikipedia, Apache Lucene and Elasticsearch [61].
As we discussed, Q4EDA is designed to be used by a data analysis visualization tool to convert a visual selection query (VQ) into a search query (SQ), which can then be used to retrieve information from a search engine (SE). For this, Q4EDA expects to have access to the time-series dataset collection being analyzed. Q4EDA also expects the data to be organized as such: the dataset collection is made up of multiple datasets wherein lives the many time-series, as is exemplified in Figure 1a. For instance, UNData [5] is a dataset collection where multiple datasets of so-called indicators (e.g., “life expectancy” or “child mortality”) contains a per country time-series. With this, we have the four main data-types of Q4EDA conversion: dataset name, categorical descriptor such as country name, temporal descriptor and time-series value. With this, we also define a Visual Selection Query (VQ) as a subset of a visualization’s data, which was selected through user interaction as exemplified as the red selection of Figure 1a. For instance, Gapminder’s line-chart [59] could theoretically allow for a box-selection or lasso-selection of a part of the displayed data with which the user can indicate a visual selection query. This VQ would include the selection years as the x-axis’s temporal descriptor of the selection, the y-axis’s time-series numeric values and the corresponding dataset name and categorical descriptor of that individual line-chart.
With these definitions in hand, we can describe Q4EDA as a framework that receives a VQ and, by utilizing the available dataset, it converts the VQ into one of the output SQ formats. After executing said SQ, Q4EDA also provides query suggestions among the available dataset names and categorical descriptors. For that, the workflow to use Q4EDA follows the representation of Figure 1 where after a user performs a VQ, its data are given to Q4EDA for the query conversion and suggestion process.

3.4. Query Conversion

Q4EDA’s framework leans on the three aspects: query conversion, query combiner, and query suggestion, as is seen in Figure 1. While the query combiner defines the supported SEs, the query conversions define the process used to convert each of VQ’s individual data-types to generate a relevant output SQ using query expansion techniques (R2.a). For this, Q4EDA first converts each data-type separately, and then the results are combined and formatted into the output SQ.
The inner mechanism used by Q4EDA to process and store the individual conversion step follows a grammatical convention based on existing SQ grammars, the closest of which is Elasticsearch’s Simple Query format [62]. The formal grammar described in EBNF [63] is:
  • sub-expression〉 ::= 〈or〉 | 〈and〉 | 〈required〉 | 〈term
  • or〉 ::= ‘(’ 〈sub-expression〉 { ‘|’ 〈sub-expression〉 }+ ’)’
  • and〉 ::= ‘(’ 〈sub-expression〉 { ‘&’ 〈sub-expression〉 }+ ’)’
  • required〉 ::= ‘"’ 〈sub-expression〉 ‘"’
  • term〉 ::= [〈negative-factor〉] 〈inner-term〉 [〈weight-factor〉]
  • inner-term〉 ::= ‘(’ 〈spaced-term〉 ‘)’ | 〈word
  • spaced-term〉 ::= 〈spaced-term〉 ‘ ’ 〈word〉 | 〈word
  • word〉 ::= { 〈lower-case-letter〉 }+
  • weight-factor〉 ::= superscript ? 〈weight-factor
  • negative-factor〉 ::= ‘-’,
where the conversion’s sub-expression output consists of multiple terms which can represent the input positively or negatively, and with the added weights and logical operations, the output is able to be descriptive enough for formatting to target many SEs. In order to exemplify the grammar, if we consider an input which is requesting Q4EDA to convert the question “population of the United States” into a SQ, a plausible output could be { ( united states usa america ( north america ) 0.5 ) & ( population habitants people 0.5 ( death ) 0.5 ) } , where it includes perfect match terms (e.g., “united states”), terms with lower weights for less exact matches (e.g., “North America”) and negative terms to indicate opposite meaning or antonyms (e.g., “death”).

3.4.1. Keyword Conversion

The first conversion tackles the keyword data-type, such as the dataset name or categorical descriptors. By acquiring the dataset name(s) from a given VQ or the categorical descriptor(s), Q4EDA uses natural language processing to generate a set of related terms for inclusion in its output. We first apply a text mining approach to assign a set of related terms T d D = { t 1 d , t 2 d , } for every keyword d received. For instance, the keyword d = life expectancy , which is a dataset name from UNData [5], besides of being represented by the terms “life” and “expectancy”, can also be represented by terms such as “longevity” and “lifetime”. Similarly, the same keyword is negatively represented by terms such as “mortality” or “death”. Such an example results in the terms T l i f e _ e x p e c t a n c y D = { l i f e , e x p e c t a n c y , l o n g e v i t y , l i f e t i m e , m o r t a l i t y , d e a t h } where positive terms are related to the keyword, and negative terms are negatively related, a concept similar to antonyms. In this way, any such nominal descriptors will have their semantic meaning defined by their associated terms. Finally, the set of terms are formatted into an expression following Q4EDA’s grammar: ( l i f e e x p e c t a n c y l o n g e v i t y l i f e t i m e m o r t a l i t y d e a t h ) .
This operation is performed through a pre-trained GloVe model [64] which generates related tags for a given keyword. First, the GloVe model is loaded using the Gensim library [65], and then every unique keyword d is tokenized and lemmatized with NLTK [66] and WordNet [40,67] and passed to Gensim’s “similar_by_vector” method.

3.4.2. Country Keyword Conversion

Although the simple method described so far works well for dataset names and categorical descriptors with common nouns, specialized versions of keyword conversion are used to dataset names or categorical descriptors with proper nouns, such as geo-locations such as street, building name, city, state or country and events such as “the second world war”, for better query expansion results [68]. Therefore, Q4EDA provides one of such specialized keyword conversions to properly process a country keyword.
Since geo-information also encodes geographical concepts such as continents, distances, area, and population, among others, this specialized conversion can output a more relevant set of terms for a given country. That said, this module design could expand indefinitely due to its data complexity, therefore we limited our processing to grammatical variations, naming conventions, synonyms, and regionality. To create the set of terms T c C of words for a country keyword, the country’s name is used along with other terms related to the country, such as adjectives or nouns (e.g., “United States” adds “America”, “American” and “USA”). Although a VQ may be specific for a single country, the VQ’s relevant information within the target SE may include other similar or neighboring countries as well. Therefore, we add terms for the collection of countries nearby the selected country, such as the continent name or sub-area, with a smaller weight (e.g., “United States” adds “North America” with lower weights). This generalization has shown to be essential because some textual information may only contain more general references to the geographical location where a specific event occurred. To complement T c C with said extra data, we extracted data from Gapminder’s geography dataset [69] and used it as a reference for any country categorical descriptor, such as is the case with UNData. Therefore, such an example results in the following output:
T u n i t e d _ s t a t e s C = ( united states united states of america american america usa ( north america ) 0.5 ) .
Finally, the list of terms is converted to Q4EDA inner grammar definition.

3.4.3. Temporal Descriptor Conversion

Unlike previous processors, the temporal descriptor conversion is unique since it tackles a continuous temporal value and has some inner context that can be used to enhance search queries. Similar to the country keyword conversion, this step is required to be specialized to a given temporal variable, such as date, time, month, week-day, year or any combination of them. Therefore, Q4EDA provides one such implementation which focuses on converting a year range into a valid query output to be included in Q4EDA’s output SQ.
The term set generated has the form of T y a , y b E = { t 1 e , t 2 e , } where y a and y b identify the limits of the range of years. The natural terms associated with a range of years are the years themselves. However, this conversion process goes beyond and allows the VA Tool to define a weight distribution to better describe the selection interest within the range of years. For instance, while the default weight profile will give the same weight to all years within a range, if the VA Tool includes a gaussian weight distribution, the processor will give higher weights to the center of the range and lower to the others.
Additionally, the year conversion compares the year range to a predefined year range term. For example, if the year range is 1950–1960, an additional term of 1950s is included to represent the decade selected. If the year range does not match the exact decade, lower weights are given to the decade terms. The weight used in decade terms is w = 1 2 × ( | d s a b | + | d s b e | ) where d s a b is the distance from the first year to the beginning of the decade and d s b e is the distance in years from the last year to the end of the decade, and weights equal or below 0 causes the decade term to be discarded. The same process is applied for centuries. Therefore, such an example results in the following output:
T 1851 1859 , g a u s s i a n E = ( 1851 0.2 1852 0.3 1853 0.5 1854 0.8 1855 1856 0.8 1857 0.5 1858 0.3 1859 0.2 1850 s 0.6 ) .

3.4.4. Time-Series’ Selected Finding Conversion

Finally, we analyse the numerical values selected by the user F = I c d ( y a , y b ) = { e y a , , e y b } and converts the underlying pattern into a set of terms { t 1 p , t 2 p , } . Our implementation categorizes the selected values, which we call finding, by its trend t r , which can be either ascending, descending or stable, and by its pattern t p , which can either be peak, valley, and neutral. This results in nine different possible trend/pattern combinations, as exemplified by Figure 2a. These two identifiers are applied to a finding by using existing trend/pattern statistical methods and the resulting keyword is then converted to the desired query output using the same GloVe model [64] NLP process used in the Keyword Conversion (see Section 3.4.1). That said, if the input has only one value (e.g., a = b ) or no value, this conversion step will output nothing at all.
The type of a selected trend t r is defined by applying the Moving Averages (MA) method, a well-known technique in time-series analysis to define whether a series is stationary or not, providing us with a trend estimation [70]. MA first transforms the selection F = I c d ( y a , y b ) = { e y a , , e y b } into a new series F = I c d ( y a , y b ) = { e y a , , e y b } setting its values e I c d ( y a , y b ) to the average value in the time interval e p ( w ) = μ ( e y w , , e y , , e y + w ) . Here we empirically define the window with the default value w = 2 , however, it is possible to modify this parameter during setup. After that, we compute the discrete derivative of F and sum the normalized values as follows:
t r = e y F e y e y 1 | e y e y 1 | .
Based on that, the trend type is defined as:
t r e n d = ascending , t r > 0 descending , t r < 0 neutral , otherwise .
To define the pattern type t p of the selected finding, we use peak detection methods which attempt to identify a local maximum by comparing neighboring values [71,72]. In this process, we identify all k p potential peaks within the selection, and similarly, we identify all k v potential valleys by inverting the selection data points as F v = F = I c d ( y a , y b ) . Using this method, we assign a pattern factor p f to the selection F, computing the following equation to determine whether it contains a peak, a valley, or neither.
p f = | F | × ( w + w ) σ ( F ) , w + = k p W ( k p ) . P r ( k p ) , k p p e a k s , w = k v W ( k n ) . P r ( k v ) , k v v a l l e y s .
In Equation (3), W represents the width and P r the prominence, or absolute height, of the peak or valley. Therefore w + is equivalent to a probability of the selection to be a peak and w a similar probability of being a valley. Note that σ ( F ) is the standard deviation of F = I c d ( y a , y b ) . Based on the pattern factor p f , the type of pattern is defined as:
p a t t e r n = stable , σ ( F c r ) < λ 1 peak , σ ( F ) > λ 1 and p f > λ 2 valley , σ ( F ) > λ 1 and p f < λ 2 unstable , σ ( F ) > λ 1 and λ 2 p f λ 2 ,
where λ 1 is a threshold of whether to consider if a selection contains a pattern or not, and, if a pattern is detected, λ 2 is a threshold to define whether the selection is a peak, a valley, or an unstable oscillation. Empirically we set λ 1 = 0.5 and λ 2 = 1.5 , but these parameters can be changed.
The result of this process is a pair of identifiers ( t r e n d and p a t t e r n ), which describes the selection and is exemplified in Figure 2b. Finally, we define the conversion’s output by using the identifier pair as keywords to be converted with the same GloVe model presented in Section 3.4.1, in which Q4EDA expands a keyword into a valid query output to be used within the output SQ.

3.5. Query Combiner and Output Formatter

So far, we exemplified the conversion process given a singular input to each. Each conversion outputs a single query output in the sub-expression format of Section 3.4, with a valid sub-expression representing that specific. However, Q4EDA is not limited to only one input per data-type. Instead, each conversion process is performed for each occurrence of its input, therefore if the input has multiple datasets { D 1 , D 2 , η } , the keyword conversion will be executed for each individual dataset name and return one sub-expression per dataset T D 1 , T D 2 , η . All other processors would similarly be executed multiple times if the VQ includes multiple occurrences of the input metadata types.
Q4EDA then combines every sub-expression into a full expression by first creating a full combinatory permutation within each sub-expression output excluding the time-series pattern conversion, since its output will already be associated with the combination of the others. For instance, if the VQ contains two countries, one dataset name, and two ranges of years, then Q4EDA would also expect four finding sub-expressions, one for each of the country/name/years combination. With this, each of the two countries would be converted individually T c 1 C and T c 2 C , the dataset name would be converted to T d D , the two-year ranges of the selection would output T y a , y b E and T y c , y d E , and the four findings would output four distinct T P . Q4EDA then expands the combinatory permutations as four inner queries by the combinatory permutations one by one and concatenates each with an “and” & operation, resulting in the following four sets of sub-expressions: ( T c 1 C & T d D & T y a , y b E & T c 1 , d , y a , y b P ) , ( T c 1 C & T d D & T y c , y d E & T c 1 , d , y c , y d P ) , ( T c 2 C & T d D & T y a , y b E & T c 2 , d , y a , y b P ) and ( T c 2 C & T d D & T y c , y d E & T c 2 , d , y d , y c P ) .
Then, to unite the sub-expression sets, two expressions are calculated: a full expression intersection T I by concatenating all sub-expressions sets with “and” & operands and a full expression union T U by concatenating all sub-expression sets with “or” ∥ operands. These two are then united as T = ( T I ) 2 T U where the full intersection is given higher weight over the full union. Note that ( T I ) 2 applies a weight operation to a sub-expression set instead of an inner-term, as defined by our grammar. Therefore, every term within the full expression intersection should have its weight multiplied by 2. Finally, the two full expressions are summarized through a Boolean Algebra [73] which includes Exponentiation Algebra to also solve for the weight-factor calculation.
Finally, we use an output formatter to reformat the final query calculated above into a valid SQ of a given SE. Q4EDA provides one such formatter which converts the query to the Elasticsearch simple query format [62] by replacing the following aspects of the query:
bnfInner ExampleElasticsearch Equivalent
weight-factorsuperscript
negative-factorN/A
and&+
required“spaced term”+(spaced term)
spaced-termsome words“some words”
Therefore, other than the direct equivalents listed above, which are simply replaced, the negative-factor is not available and removed. Note that the term itself with a negative-factor is kept as regular operands (e.g., “ ( m e x i c o 0.5 ) ” becomes “ m e x i c o 0.5 ”) since querying for antonym terms of the finding can also represent information about it [40].

3.6. Query Suggestion

In parallel to the SQ conversion, Q4EDA also provides query suggestions by utilizing and analyzing the available dataset collection, the VQ and the final text documents results from the conversion process, as is shown in Figure 1. In other words, Q4EDA not only implements query expansion (R2.a) by aggregating relevant terms to the SQ through the conversion processes but also implements query suggestions (R2.b) in terms of the visual selection query by suggesting other partitions of the dataset collection which may potentially be related. By loosely following information retrieval techniques [18], Q4EDA tackles two suggestion approaches where users are suggested related dataset names and categorical descriptors. First it provides suggestions given the presence of said dataset names or categorical descriptors within the text documents which were retrieved from the SE after executing the final SQ. Second, Q4EDA provides suggestions based on the numerical or pattern similarity of the VQ finding to other possible VQs among all the datasets and categorical descriptors.

3.6.1. Nominal Suggestions from Text

The first suggestion approach attempts to search the available nominal data’s presence, which includes both the dataset name and the categorical descriptor, in a given text document. For that, a VQ is required to be converted and its output SQ executed within the target SE. The resulting text document(s) are used by this suggestion process to rank the nominal data present on each text document by number of occurrences. The result provides the suggestion of other datasets or categorical descriptors which are related to the text document being read. In order to broaden the use of this suggestion approach, we provide three implementations: direct counting, indirect counting and natural language processing (NLP), and the result is a score list which associates each nominal data to each of the texts. That is, if we follow the previous sections’ examples, Q4EDA suggests the most relevant datasets and countries within UNData that relates to any given Wikipedia text document which was retrieved from Elasticsearch after executing the result of a VQ conversion.
In the direct mode, we use a simple case-insensitive number of occurrences of all possible nominal data from the dataset, or, in other words, we apply a bag-of-words technique. That is, Q4EDA suggests a ranked list indicating the number of occurrences of every dataset name and another ranked list for the categorical descriptor. In the indirect mode, however, we first use the same keyword conversion approach of Section 3.4.1 to expand the available keywords from the dataset name and categorical descriptor, and their query output’s terms are then searched within the text document using bag-of-words. Finally, with the NLP mode, we compare the keyword conversion outputs to the extracted keyword list from the text document through another NLP method called which Gensim Keywords [65] which transforms text documents into keywords. Finally, we once again use NLTK with the GloVe model [64] to transform both sets of terms, namely the keyword conversion and from the text keyword extraction, into two vector embeddings which are then compared with cosine similarity. The result is, once again, one ranked list per nominal data which indicates suggestions indicating the similarity between the text contents and the available data within the dataset collection under analysis.
To exemplify our approach, if we assume Q4EDA setup with Elasticsearch’s Wikipedia Dump [74], UNData [5] and Gapminder line-charts [59], and at some point, the user performs a VQ which, after converted and executed, returns a Wikipedia document about USA’s life expectancy, then we scan the whole UNData dataset collection across the two nominal data, namely dataset name and country, and search for all their keywords (e.g., United States or Life Expectancy) within the text document. In the direct mode, we would provide two lists containing the number of occurrences of each country and indicator within the text documents. In indirect mode, we convert each dataset name and country using the keyword conversion process and search the resulting terms (e.g., United States, USA, American for the united states country or Life, Expectancy, Death for the life expectancy indicator) within the text document, and the occurrences of each term is aggregated as its respective dataset name or country as an average. The results are similarly two lists indicating the average occurrences of related terms of each country and dataset name. Finally, with the NLP mode, we also convert the text document itself into a keyword list and by converting both this list and the keyword conversion query output terms to a vector embedding format, we calculate their cosine similarity. Once again, the results are two lists indicating a similarity score between the text’s generated keywords and the related terms of each country and dataset name. Independent of the mode used, the resulting lists are a country ranking list of the most related countries to the text and an indicator list of the most related indicators to the text documents.
While the direct mode provides suggestions of other nominal data present in the text and the indirect mode provides suggestions of other nominal data whose concept is present in the text, the NLP mode provides suggestions of nominal metadata whose concept matches the most prominent concepts within the text. In other words, the direct mode is better to find texts literally talking about “life expectancy”, the indirect mode is better to find texts with information that talks about the concepts surrounding “life expectancy” of a country (e.g., including “death” and “mortality”), and the NLP mode is better to find texts whose overall context is regarding the concepts surrounding “life expectancy” of a country. In the case of suggesting UNData nominal data from Wikipedia text documents, through our preliminary tests we gathered that the direct mode provided better ways to suggest nominal data based on the presence of specific words within the text, such as “child” of the child mortality indicator, the indirect mode provided better ways to suggest similar countries of a given VQ, and the NLP mode provided better ways to suggest similar datasets of a given VQ.

3.6.2. Nominal Suggestions from Pattern

The other query suggestion approach focuses on analyzing the selected finding of Section 3.4.4 and providing related nominal data, such as dataset name or categorical descriptor, as suggestions for further analysis due to their similarity or dissimilarity. By comparing the time-series numeric values of the finding F = I c d ( y a , y b ) = { e y a , , e y b } to all other equivalent findings among the nominal data present within the dataset collection, we are able to calculate a similarity list for each nominal data using statistical correlation techniques, as is exemplified in Figure 3. For instance, if considering the UNData, we would output one list indicating the similarity of the finding of all other countries c C , c c if all other inputs are the same, which includes the year range and dataset name, and another similarity list of all other datasets d D , d d if all other inputs remain the same, this time including the year range and country. Among the two lists, the most similar are suggested as related to the VQ, while the most dissimilar (e.g., lowest similarity score) are suggested as examples of an “opposite” or “inverted” pattern to the VQ.
For this, we provide two different strategies to compute the aforementioned similarity: Pearson correlation and Dynamic Time-Warping (DTW) [75,76]. These two techniques are provided because each one solves the limitations of the other. For instance, Pearson Correlation is the choice if one prefers to compare findings purely according to their general visual pattern similarity while not focusing on the distance between the selection’s individual values. However, if one wishes to compare findings according to differences in amplitude or consider their raw value distances, DTW is the option. The Pearson correlation is calculated as follows:
c o r r ( F , F ) = 1 N 2 i N ( x i μ ( F ) ) ( x i μ ( F ) ) σ ( F ) σ ( F ) ,
where μ ( · ) is the average value, σ ( · ) is the standard deviation, and N is the number of values in the patterns. Correlation c o r r ( F , F ) ranges in [ 1 , 1 ] . Positive values indicate linear related series, negative inversely related series, or no relationship otherwise.
The second option, the DTW, is a robust dissimilarity measure that finds the non-linear alignment that has the lowest accumulative Euclidean distances between points, resulting in an optimal shape match preserving magnitude [75,76]. Since the correlation is a similarity and the DTW is an unbounded dissimilarity, we transform the DTW dissimilarity into similarity to keep consistency as follows:
d t w s i m ( F , F ) = 1 1 + d t w ( F , F ) ,
where d t w ( F , F ) is the DTW distance between two patterns, and the resulting similarity d t w s i m ( F , F ) ranges in [ 0 , 1 ] .
The resulting suggestion lists contain the correlation score of all other possible variations for each of the respective nominal data, as seen in Figure 3. This list represents suggestions of similar or dissimilar findings extracted from the dataset collection given the user’s VQ. With these suggestion lists, users can, for instance, directly analyze other related countries or datasets of the UNData or even visualize the lists as a similarity heat-map, or, in the case of geographic information, choropleth geography maps, for example.

4. Use-Cases and Results

4.1. UNData Line Charts and Wikipedia

This section presents a hypothetical usage scenario of Q4EDA, showing how it can assist external VA tool users in understanding patterns of interest and building up extra knowledge during exploratory data analysis. Here we use a replica of Gapminder’s line chart visualization [59] to explore the UNData dataset [5] as a VA tool couple with an Elasticsearch [61] SE loaded with Wikipedia text documents [74].
We introduce Justin, our fictional American High School student. He wants to investigate how the average lifespan has changed over the years in the United States. With that in mind, he visualizes the “Life Expectancy” indicator of the “United States” country (Figure 4). The resulting line-chart shows a positive trend toward increasing the overall American lifespan over the years. However, he notices two interesting patterns, one valley between 1860 and 1866 and another between 1917 and 1919 with some instability between 1901 and 1930.
To further inspect these patterns and understand what is happening, Justin first selects the left-most valley (between 1860 and 1866). Internally, the enhanced VA tool uses Q4EDA to generate a search query, retrieves related Wikipedia documents, and gets a list of suggestions of related countries and datasets considering the selection (Section 3.6). Based on that, Justin adds the two top-ranked suggested countries to the line chart (Sweden and the United Kingdom) and realizes that the drop in life expectancy is probably an American effect since even the most related countries do not present similar valley in the same period (omitted due to space constraints). With that in mind, Justin checks the retrieved documents and observes the prevalence of the terms “civil war” in the returned snippets (Figure 5a) and concludes that the lower life expectancy rating may result from a civil war. By reading some of the retrieved documents, he learns that the trigger of the civil war was the result of Abraham Lincoln’s election and the United States southern states feeling unrepresented and/or challenged due to slavery, being able to discover one important piece for the storytelling of the United States lifespan variations, including its trigger.
Justin follows up to investigate the second dip in life expectancy and selects the period between 1917 and 1919. The retrieved documents’ contents are, however, less homogeneous with different causes for the drop, with a span of documents discussing different topics (Figure 5b). As in the previous example, he adds other top-ranked suggested countries to the line chart, including countries from different continents. Differently from the previous valley, all the included countries present a similar drop in life expectancy in the same period (Figure 6), apparently suggesting that a global event took place. Rechecking the retrieved documents, he infers that some potential reasons for the changes in life expectancy may be World War I and the Spanish Flu, also called Influenza Pandemic.
Still using the countries suggestion list, Justin discovers that Russia is amongst the lowest-ranked countries and decides to investigate—here we are discussing the country suggestion as a ranked list. Adding Russia to the line chart, Justin finds out that the reason for the similarity score being low in this period is that Russia’s valley is much wider than the United States (image omitted due to space constraints). By selecting the valley in Russia’s life expectancy and checking the suggested countries, he discovers that Belarus, Ukraine, Turkmenistan, Uzbekistan, Tajikistan, Kazakhstan, and Uzbekistan are the most similar to Russia. By checking the retrieved documents (Figure 7a), Justin discovers that during 1917 and 1919, Russia was facing the abolition of its monarchy in 1917, a civil war, and the beginning of the Soviet Union, besides likely facing World War I and the Influenza Pandemic as he saw with the rest of the world.
Besides suggesting countries, Q4EDA also suggests other datasets with correlations given a selection (Section 3.6.2). Justin notices that the “Democracy Index” dataset is suggested, so he creates a line-chart displaying Russia’s life expectancy and democracy index together (Figure 8). In the resulting visual representation, he notices an inverted pattern (a valley in the life expectancy and a peak in the democracy index) between 1917 and 1923. Justin then selects such time period and, considering the list of returned Wikipedia documents (Figure 7b), he discovers that the sudden change in the democracy index of Russia can be attributed in some part to Russia’s constitution of 1918, “Russian Famine”, “Russia’s Civil War” and the “Russian Revolution”, which tells about how the monarchy was abolished in 1917 and the Soviet Union was established in 1923, matching the steep fall of Russia’s democracy index in 1923. Justin concludes that the political landscape variation in Russia definitively impacted the lives of the Russian population, including their life expectancy.
Although an elementary analysis, Justin discovered pieces for the life-expectancy variations in the United States, including its trigger. Two different global situations, World War I and the Spanish Flu. Why Russia was differently affected than the rest of the world at the time, and much of Russia’s history on revolutions and economic crisis.

4.2. Inner Query Stability Evaluation

Although so far we assumed precise visual queries within our examples, user selection is expected to not be exact every time due to the inherent limitations of visual interfaces and means of visual selection. Therefore, we measure how much the Wikipedia results change when slight variations of VQ occur in order to evaluate R1.b (see Section 3.2). For this, we follow [77] and create an oracle that emulates the user behavior, allowing us to test this aspect of Q4EDA exhaustively. Notice that in this evaluation, we are not validating the search results themselves since we could not find a labeled dataset that would allow us to evaluate the connection between time-series visual patterns and the text documents of a search engine such as Elasticsearch.
The oracle implementation we use is straightforward. Given a time series, we iterate over it, automatically extracting the top patterns classified by the height of their valleys and peaks; then, we vary a window around each of the patterns to generate similar selections that emulate users’ selection inaccuracies. In our experiments, the window size is set to 3, resulting in 9 queries per pattern (one original and eight derived). This value was defined by running a test with our lab members asking them to manually select patterns in several different time series, considering the average variation among them to set the window. The stability of our query process is then measured by comparing the intersection of the set of documents retrieved using the original query q and the sets of documents fetched using the derived queries q . Given D the set documents retrieved using the original query q and D i the list of documents returned using one of the derived queries q i , the stability is computed as:
1 | D | · | Δ | D i Δ | ( D D i ) | ,
where Δ is the set containing the lists of documents produced by all derived queries q . Notice that the number of documents in D and D i is the same and defined by the number of documents we display in our interface. In our tests, we set it to 10.
To execute a comprehensive test, we select 960 time series from the UNData dataset [5] and measure the query stability for each one. We automatically detected 5286 relevant patterns, resulting in 47 , 574 queries submitted to the search engine. Figure 9 summarizes the results. Overall, on average, the stability is 0.5121 , meaning that slight variations in the selection return 51 % of the documents returned by the original query. More specifically, peaks and valleys are more stable, with an average of around 64 % and a standard deviation of 0.22 . At the same time, ’unstable patterns’ have less document stability with an average of 39 % and a standard deviation of 0.27 . This suggests that the peaks and valleys are meaningful within Q4EDA, indicating that it appropriately translates well-defined visual patterns into coherent groups of documents. Although this cannot quantify the quality of the retrieved documents, it indicates that users with similar behavior are expected to receive similar documents when attempting to select the same pattern, indicating a good degree of stability and reproducibility.

5. User Evaluation

Using the same workflow as Justin’s usage scenario (see Section 4.1), we conducted a user study to evaluate: (1) whether Q4EDA conversion method allows users to more accurately find textual information related to a specific time series pattern if compared to manually searching (R1 and R2.a); and (2) whether users are more accurate in their query results using Q4EDA even when confident in their findings (R1.a). We use a replica of Gapminder [6,59] line-chart to represent the times-series and the Wikipedia search engine. We use this setup given the Gapminder popularity and to avoid search results variations that may occur between different user profiles if, for instance, the Google search engine is employed. Through this study, we aim to check the following null hypotheses:
H 0 P : There is no difference in the amount of correct information related to a given pattern of interest a user can find using the proposed visual query conversion and manually querying the target search engine.
H 0 C : There is no difference in the amount of correct information related to a given pattern of interest a user who was confident in their answer can find using the proposed visual query conversion and manually querying the target search engine.
We recruited 21 participants aged 16 and up. All but two are from computer sciences, one is from social sciences, and the other claim to not have a primary area of study. Due to COVID-19, we were not able to conduct an in-person study. Instead, we conducted it through a self-guided online survey. Our experiment first conducts a demographic questionnaire and introduces the Gapminder replica with a video tutorial. Participants are then guided through an interactive tutorial using the system and finally are given a list of tasks to be performed. The study was executed in an automated and non-obstructive manner through an online survey system. Participants joined the study through their machines and had unrestricted time to complete it. The study took on average 50 min, but due to the self-guided nature of online surveys, a third of the participants did not complete the study in one continuous session.
To evaluate our hypotheses, we randomly split our participants into two groups, one containing 11 participants, which we call Cohort 1 (C1), and another containing 10 participants, which we call Cohort 2 (C2). Both groups execute two sets of tasks. For the first task, C2 is the experimental group while executing tasks using Q4EDA, and C1 is the control group executing tasks without visual queries but instead manually searching Wikipedia to find related information to the observed patterns. Therefore no search query conversion capabilities are provided to C1 as opposed to C2. For the second task, the roles of C1 and C2 are swapped.
The benchmark of this user study was performed by manually searching both Wikipedia and through visual query for the expected text documents and phrases and confirming that all tasks can be performed with both tools. It is important to note that both tools use and provide interfaces to the same time-series dataset and the same textual dataset. The study does not attempt to capture all possible historical events and facts related to a pattern but only to capture some equally available to be queried in both formats.
For the first set of tasks, using the “United States life expectancy” dataset, we asked participants to search for probable causes for the drop between 1860 and 1866. We presented 5 alternatives and asked which one is related to the observed patterns (four correct and one incorrect). Answers from the experimental group using Q4EAD were better in finding more texts related to the time-series pattern. On average, participants manually searching Wikipedia (C1) answered correctly 31 % of the alternatives presented regarding related causes against 48 % using Q4EDA (C2). For this task, all participants but one from C2 said they now understand better Q4EDA’s usefulness for this kind of task and, by using the Q4EDA’s suggestions (see Section 3.6 and R2.b), 7 participants from the experimental group were also able to find other related indicators that may further enhance the exploratory analysis.
In the second task, we swapped the two groups so that C1 is the experimental group using Q4EDA’s query conversion and suggestions and C2 is the control group directly querying Wikipedia. In this task, we ask users to investigate another drop in the United States life expectancy between 1916 and 1919. Similar to the previous set of tasks, participants using Q4EDA had an overall higher performance. Participants manually searching Wikipedia (C2) correctly answered 38 % of the alternatives presented of related causes against 68 % using Q4EDA (C1).
To verify our null hypothesis H 0 P across the two sets of tasks, we compared the control group directly using only Wikipedia and the experimental group using Q4EDA across all tasks. The calculated p-value is P v H 0 = 0.0006 < 0.05 and t-value is T v H 0 P = 4.33 . Therefore we can confidently reject H 0 P and affirm that the experimental group was statistically better in finding textual information related to a pattern of interest when compared to the control group. In more specific terms, when comparing the number of answers from each group which matched our expected answers, the control group had, on average, identified 4.33 fewer pieces of information matching our expectations than the experimental group.
We also asked participants how confident they were with their answers to our tests. We first collected the answers where the participant was at least C o n f Agree in their confidence level. The resulting p-value is P v = 0.011 < 0.05 , therefore rejecting the hypothesis H 0 C , indicating that among the participants who claim are confident in their answers, the control group has fewer answers matching what was expected when compared to similarly confident participants from the experimental group. When considering that these two groups were similarly confident in their answers, we conclude that the confidence of the control group does correlate to a correct answer as well as experimental group, or in other words, given a pattern of interest, confident Q4EDA users have more accurate textual findings than users who directly queried Wikipedia.
In conclusion, participants of the experimental group significantly outperformed participants of the control group, showing that Q4EDA is effective in providing means for users to better and more correctly discover information in regards to a visual pattern and also to provide an effective way to convert a visual query into useful Wikipedia queries when compared to constructing the query manually.

6. Discussions and Limitations

This paper has explored a method to convert a visual selection query into a search query usable within search engines. We tested this technique by converting patterns within world indicator dataset collections and enhancing users’ analysis through Wikipedia documents. Indeed, our system is open and easily usable in other domains, which may also benefit from interpreting time-series visual selections as search queries. Different input datasets, such as news, stock market, financial data, IoT sensor data, social media, and natural disasters dataset collections could also be used in a similar fashion. Although some of such dataset collections may be directly supported by the processes implemented so far, others may contain new data-types, which would also require new conversion processes to be implemented, requiring modification to Q4EDA’s structure. We leave the application of Q4EDA to other domains for future work.
Since we implemented Q4EDA’s basic functionality, most of the exploratory tests we executed resulted in valuable retrieved textual information. However, it failed to bring meaningful documents for some specific demography indicators during our tests, though manually searching the same search engine gave similar poor results. Indeed, the usefulness of the query conversion depends on whether the SE has relevant information about the selected patterns and how well both the user and the SE can parse the data. For instance, if Wikipedia has no information on some subject for a given pattern, our framework may still return documents that may aggregate next to nothing for the analysis, which is not surprising. We forgo how to match other time-series datasets to potential SEs, expecting instead this to be decided by whoever sets up and uses our framework (e.g., external VA tools).
Another limitation pertains to the suggestion approaches. Q4EDA suggests relevant nominal data given the visual query and the text documents by counting the number of the textual elements shared among the two either directly or through NLP. Updates to the suggestion processes are planned so that Q4EDA can also include the temporal descriptor (e.g., year) within the search or include semantic analysis over the text. The suggestion and keyword conversion processes could also benefit from other NLP techniques. Important to note that we tested other NLP techniques as part of our development process, namely Latent Dirichlet Allocation (LDA) [78] and DistilBert [79]. We, however, landed on the ones presented due to their speed in processing hundreds of text documents in less than a minute.
We also tested our usage scenario and user evaluation using Google as a search engine, and the preliminary results were arguably more informative than Wikipedia. Indeed, Google API was our first choice for most of our examples. However, its connection to the Gapminder replica was not ideal due to Google’s imposed limitations, such as the limited number of API calls and limited information parsing. Other challenges were also encountered, such as the processing of unstructured web pages as opposed to well-defined Wikipedia documents and the significant variations of results given the user’s profile. Therefore, even though both output modules were available, we opted for Wikipedia for our examples and user evaluation. We also observed this issue when considering our evaluation process. Seen that there is no labeled dataset where patterns within time-series data are linked to textual information within a search engine, Q4EDA was unable to use common metrics, such as accuracy or f1-score, to evaluate its resulting query. However, we hope Q4EDA will instigate such labeled datasets to be compiled in the future.
Finally, although our main usage scenario focuses on a line-chart view, Q4EDA does not impose such requirements on the visual metaphor. For instance, if the Gapminder’s bubble chart [80] is used, a VQ over it would consider the two datasets displayed as the chart’s axis. Hypothetically, such a VA tool could expect a box selection within the main bubble chart visualization, which would make the VQ include one year and a range of countries. However, the VA tool could also expect a selection within the animation timeline of the bubble chart, which would make the VQ include a range of years and all available countries or even a combination of the two selection modes. In summary, Q4EDA is agnostic in terms of which visual representation was chosen.

7. Conclusions

In this paper, we present Q4EDA, a framework that converts a visual selection query into a search query format to be used in existing search engines and, from its results, suggests other potential aspects of the data to be analysed, all of which provide a novel strategy to utilize user input for textual information retrieval. The usefulness of Q4EDA is brought by an application linking a Gapminder’s line-chart replica with Wikipedia documents to support exploratory analysis of world indicators. The improvement in users’ exploratory analysis capability is then confirmed through a user test showing that users can find more information using Q4EDA compared to the standard manual keyword-based queries, especially when confident in their findings. The stability of the conversion process given slight variations of its inputs was also evaluated to in order to verify the applicability of Q4EDA with inaccurate visual selection interfaces. Despite its limitations, Q4EDA is unique in its proposal, representing an advance towards providing solutions for querying textual information from general purpose search engines based on user interaction with visual representations.

Author Contributions

Conceptualization, L.C. and F.V.P.; methodology, L.C., M.D.F. and F.V.P.; software, L.C. and M.D.F.; validation, L.C. and F.V.P.; formal analysis, L.C. and F.V.P.; investigation, L.C. and F.V.P.; data curation, L.C. and M.D.F.; writing—original draft preparation, L.C. and F.V.P.; writing—review and editing, L.C. and F.V.P.; visualization, L.C. and F.V.P.; supervision, F.V.P.; project administration, F.V.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

The study protocol was approved by the Institutional Review Board (or Ethics Committee) of Dalhousie University (REB # 2020-5310, 22 February 2021).

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study under REB #2020-5310.

Data Availability Statement

Not applicable.

Acknowledgments

Authors acknowledge the support of the Natural Sciences and Engineering Research Council of Canada (NSERC).

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
SESearch Engine
SQSearch Query
VAVisual Analytics
EDAExploratory Data Analysis

References

  1. Croft, W.B.; Metzler, D.; Strohman, T. Search Engines: Information Retrieval in Practice; Addison-Wesley Reading: Boston, MA, USA, 2010; Volume 520. [Google Scholar]
  2. What Is a Search Query? (Definition)—Seo Glossary. Available online: https://growhackscale.com/glossary/search-queries (accessed on 6 February 2020).
  3. Google Search. Available online: https://www.google.com/ (accessed on 6 February 2020).
  4. Wikipedia—The Free Encyclopedia. Available online: https://en.wikipedia.org/wiki/Main_Page (accessed on 6 May 2022).
  5. United Nations Datasets. Available online: https://data.un.org/ (accessed on 6 February 2020).
  6. Rosling, H. Data—Gapminder.org. Available online: https://www.gapminder.org/ (accessed on 6 February 2020).
  7. Sarma, A. Hans Rosling brought data to life, showed our misconceptions about the world. Skept. Inq. 2017, 41, 9–10. [Google Scholar]
  8. Kammerer, Y.; Bohnacker, M. Children’s web search with Google: The effectiveness of natural language queries. In Proceedings of the 11th International Conference on Interaction Design and Children, Bremen, Germany, 12–15 June 2012; pp. 184–187. [Google Scholar]
  9. Reilly, M.; Thompson, S. Reverse image lookup: Assessing digital library users and reuses. J. Web Librariansh. 2017, 11, 56–68. [Google Scholar] [CrossRef]
  10. Cafarella, M.J.; Etzioni, O. A search engine for natural language applications. In Proceedings of the 14th International Conference on World Wide Web, Chiba, Japan, 10–14 May 2005; pp. 442–452. [Google Scholar]
  11. Hullman, J.; Diakopoulos, N.; Adar, E. Contextifier: Automatic generation of annotated stock visualizations. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, Paris, France, 27 April–2 May 2013; pp. 2707–2716. [Google Scholar]
  12. Badam, S.K.; Liu, Z.; Elmqvist, N. Elastic documents: Coupling text and tables through contextual visualizations for enhanced document reading. IEEE Trans. Vis. Comput. Graph. 2018, 25, 661–671. [Google Scholar] [CrossRef] [PubMed]
  13. Yu, B.; Silva, C.T. FlowSense: A Natural Language Interface for Visual Data Exploration within a Dataflow System. IEEE Trans. Vis. Comput. Graph. 2020, 26, 1–11. [Google Scholar] [CrossRef]
  14. Kraska, T. Northstar: An interactive data science system. Proc. VLDB Endow. 2018, 11, 2150–2164. [Google Scholar] [CrossRef]
  15. Zhou, Z.; Wen, X.; Wang, Y.; Gotz, D. Modeling and Leveraging Analytic Focus During Exploratory Visual Analysis. arXiv 2021, arXiv:2101.08856. [Google Scholar]
  16. Borland, D.; Wang, W.; Zhang, J.; Shrestha, J.; Gotz, D. Selection bias tracking and detailed subset comparison for high-dimensional data. IEEE Trans. Vis. Comput. Graph. 2019, 26, 429–439. [Google Scholar] [CrossRef]
  17. Borland, D.; Zhang, J.; Kaul, S.; Gotz, D. Selection-Bias-Corrected Visualization via Dynamic Reweighting. IEEE Trans. Vis. Comput. Graph. 2020, 27, 1481–1491. [Google Scholar] [CrossRef]
  18. Ooi, J.; Ma, X.; Qin, H.; Liew, S.C. A survey of query expansion, query suggestion and query refinement techniques. In Proceedings of the 2015 4th International Conference on Software Engineering and Computer Systems (ICSECS), Kuantan, Malaysia, 19–21 August 2015; pp. 112–117. [Google Scholar]
  19. Yi, P.; Choi, B.; Bhowmick, S.S.; Xu, J. AutoG: A visual query autocompletion framework for graph databases. VLDB J. 2017, 26, 347–372. [Google Scholar] [CrossRef]
  20. Zhang, L.; Stoffel, A.; Behrisch, M.; Mittelstadt, S.; Schreck, T.; Pompl, R.; Weber, S.; Last, H.; Keim, D. Visual analytics for the big data era—A comparative review of state-of-the-art commercial systems. In Proceedings of the 2012 IEEE Conference on Visual Analytics Science and Technology (VAST), Seattle, WA, USA, 14–19 October 2012; pp. 173–182. [Google Scholar]
  21. Srinivasan, A.; Drucker, S.M.; Endert, A.; Stasko, J. Augmenting visualizations with interactive data facts to facilitate interpretation and communication. IEEE Trans. Vis. Comput. Graph. 2018, 25, 672–681. [Google Scholar] [CrossRef]
  22. Suh, A.; Jiang, Y.; Mosca, A.; Wu, E.; Chang, R. A Grammar for Hypothesis-Driven Visual Analysis. arXiv 2022, arXiv:2204.14267. [Google Scholar]
  23. Cui, W.; Zhang, X.; Wang, Y.; Huang, H.; Chen, B.; Fang, L.; Zhang, H.; Lou, J.G.; Zhang, D. Text-to-Viz: Automatic Generation of Infographics from Proportion-Related Natural Language Statements. IEEE Trans. Vis. Comput. Graph. 2019, 26, 906–916. [Google Scholar] [CrossRef]
  24. Lin, A.Y.; Ford, J.; Adar, E.; Hecht, B. VizByWiki: Mining data visualizations from the web to enrich news articles. In Proceedings of the 2018 World Wide Web Conference, Lyon, France, 23–27 April 2018; pp. 873–882. [Google Scholar]
  25. Bryan, C.; Ma, K.L.; Woodring, J. Temporal summary images: An approach to narrative visualization via interactive annotation generation and placement. IEEE Trans. Vis. Comput. Graph. 2016, 23, 511–520. [Google Scholar] [CrossRef]
  26. Tang, B.; Han, S.; Yiu, M.L.; Ding, R.; Zhang, D. Extracting top-k insights from multi-dimensional data. In Proceedings of the 2017 ACM International Conference on Management of Data, Chicago, IL, USA, 14–19 May 2017; pp. 1509–1524. [Google Scholar]
  27. Ding, R.; Han, S.; Xu, Y.; Zhang, H.; Zhang, D. Quickinsights: Quick and automatic discovery of insights from multi-dimensional data. In Proceedings of the 2019 International Conference on Management of Data, Amsterdam, The Netherlands, 30 June–5 July 2019; pp. 317–332. [Google Scholar]
  28. Kwon, B.C.; Stoffel, F.; Jäckle, D.; Lee, B.; Keim, D. Visjockey: Enriching data stories through orchestrated interactive visualization. In Proceedings of the Poster Compendium of the Computation+ Journalism Symposium, New York, NY, USA, 24–25 October 2014; Volume 3, p. 3. [Google Scholar]
  29. Luo, Y.; Qin, X.; Tang, N.; Li, G.; Wang, X. Deepeye: Creating good data visualizations by keyword search. In Proceedings of the 2018 International Conference on Management of Data, Houston, TX, USA, 10–15 June 2018; pp. 1733–1736. [Google Scholar]
  30. Metoyer, R.; Zhi, Q.; Janczuk, B.; Scheirer, W. Coupling story to visualization: Using textual analysis as a bridge between data and interpretation. In Proceedings of the 23rd International Conference on Intelligent User Interfaces, Tokyo, Japan, 7–11 March 2018; pp. 503–507. [Google Scholar]
  31. Hoque, E.; Setlur, V.; Tory, M.; Dykeman, I. Applying pragmatics principles for interaction with visual analytics. IEEE Trans. Vis. Comput. Graph. 2017, 24, 309–318. [Google Scholar] [CrossRef]
  32. Kim, D.H.; Hoque, E.; Agrawala, M. Answering questions about charts and generating visual explanations. In Proceedings of the CHI Conference on Human Factors in Computing Systems, Honolulu, HI, USA, 25–30 April 2020; pp. 1–13. [Google Scholar]
  33. Kafle, K.; Shrestha, R.; Cohen, S.; Price, B.; Kanan, C. Answering questions about data visualizations using efficient bimodal fusion. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, Snowmass Village, CO, USA, 1–5 March 2020; pp. 1498–1507. [Google Scholar]
  34. Yu, J.; Zhu, Z.; Wang, Y.; Zhang, W.; Hu, Y.; Tan, J. Cross-modal knowledge reasoning for knowledge-based visual question answering. Pattern Recognit. 2020, 108, 107563. [Google Scholar] [CrossRef]
  35. Kim, D.H.; Hoque, E.; Kim, J.; Agrawala, M. Facilitating document reading by linking text and tables. In Proceedings of the 31st Annual ACM Symposium on User Interface Software and Technology, Berlin, Germany, 14–17 October 2018; pp. 423–434. [Google Scholar]
  36. Srinivasan, A.; Stasko, J. Orko: Facilitating multimodal interaction for visual exploration and analysis of networks. IEEE Trans. Vis. Comput. Graph. 2017, 24, 511–521. [Google Scholar] [CrossRef]
  37. Yu, J.; Zhang, W.; Lu, Y.; Qin, Z.; Hu, Y.; Tan, J.; Wu, Q. Reasoning on the relation: Enhancing visual representation for visual question answering and cross-modal retrieval. IEEE Trans. Multimedia. 2020, 22, 3196–3209. [Google Scholar] [CrossRef]
  38. Dhelim, S.; Ning, H.; Aung, N. ComPath: User interest mining in heterogeneous signed social networks for Internet of people. IEEE Internet Things J. 2020, 8, 7024–7035. [Google Scholar] [CrossRef]
  39. Mogadala, A.; Kalimuthu, M.; Klakow, D. Trends in integration of vision and language research: A survey of tasks, datasets, and methods. arXiv 2019, arXiv:1907.09358. [Google Scholar] [CrossRef]
  40. Zhang, J.; Deng, B.; Li, X. Concept based query expansion using wordnet. In Proceedings of the 2009 International e-Conference on Advanced Science and Technology, Daejeon, Korea, 7–9 March 2009; pp. 52–55. [Google Scholar]
  41. Carpineto, C.; Romano, G. A survey of automatic query expansion in information retrieval. ACM Comput. Surv. 2012, 44, 1–50. [Google Scholar] [CrossRef]
  42. Azad, H.K.; Deepak, A. Query expansion techniques for information retrieval: A survey. Inf. Process. Manag. 2019, 56, 1698–1735. [Google Scholar] [CrossRef]
  43. Dahir, S.; El Qadi, A. A query expansion method based on topic modeling and DBpedia features. Int. J. Inf. Manag. Data Insights 2021, 1, 100043. [Google Scholar] [CrossRef]
  44. Hoeber, O.; Yang, X.D.; Yao, Y. Visualization support for interactive query refinement. In Proceedings of the 2005 IEEE/WIC/ACM International Conference on Web Intelligence (WI’05), Compiegne, France, 19–22 September 2005; pp. 657–665. [Google Scholar]
  45. Khazaei, T.; Hoeber, O. Supporting academic search tasks through citation visualization and exploration. Int. J. Digit. Libr. 2017, 18, 59–72. [Google Scholar] [CrossRef]
  46. Scells, H.; Zuccon, G. Searchrefiner: A query visualisation and understanding tool for systematic reviews. In Proceedings of the 27th ACM International Conference on Information and Knowledge Management, Torino, Italy, 22–26 October 2018; pp. 1939–1942. [Google Scholar]
  47. Russell-Rose, T.; Gooch, P. 2dSearch: A visual approach to search strategy formulation. In Proceedings of the Design of Experimental Search and Information REtrieval Systems (DESIRES 2018), Bertinoro, Italy, 28–31 August 2018. [Google Scholar]
  48. Curry, E. Dataspaces: Fundamentals, Principles, and Techniques. In Real-Time Linked Dataspaces; Springer: Berlin/Heidelberg, Germany, 2020; pp. 45–62. [Google Scholar]
  49. Franklin, M.; Halevy, A.; Maier, D. From databases to dataspaces: A new abstraction for information management. ACM Sigmod Rec. 2005, 34, 27–33. [Google Scholar] [CrossRef]
  50. Balalau, O.; Galhardas, H.; Manolescu, I.; Merabti, T.; You, J.; Youssef, Y. Graph integration of structured, semistructured and unstructured data for data journalism. arXiv 2020, arXiv:2007.12488. [Google Scholar]
  51. Martinez-Gil, J. Automated knowledge base management: A survey. Comput. Sci. Rev. 2015, 18, 1–9. [Google Scholar] [CrossRef]
  52. Auer, S.; Bizer, C.; Kobilarov, G.; Lehmann, J.; Cyganiak, R.; Ives, Z. Dbpedia: A nucleus for a web of open data. In The Semantic Web; Springer: Berlin/Heidelberg, Germany, 2007; pp. 722–735. [Google Scholar]
  53. Golshan, B.; Halevy, A.; Mihaila, G.; Tan, W.C. Data integration: After the teenage years. In Proceedings of the 36th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems, Raleigh, NC, USA, 14–19 May 2017; pp. 101–106. [Google Scholar]
  54. Mountantonakis, M.; Tzitzikas, Y. Large-scale semantic integration of linked data: A survey. ACM Comput. Surv. 2019, 52, 1–40. [Google Scholar] [CrossRef]
  55. Arya, A.; Kuchhal, V.; Gulati, K. Survey on Data Deduplication Techniques for Securing Data in Cloud Computing Environment. Smart Sustain. Intell. Syst. 2021, 443–459. [Google Scholar] [CrossRef]
  56. Christophides, V.; Efthymiou, V.; Palpanas, T.; Papadakis, G.; Stefanidis, K. End-to-end entity resolution for big data: A survey. arXiv 2019, arXiv:1905.06397. [Google Scholar]
  57. Gröger, C.; Schwarz, H.; Mitschang, B. The deep data warehouse: Link-based integration and enrichment of warehouse data and unstructured content. In Proceedings of the 2014 IEEE 18th International Enterprise Distributed Object Computing Conference, Ulm, Germany, 1–5 September 2014; pp. 210–217. [Google Scholar]
  58. Roy, P.; Mohania, M.; Bamba, B.; Raman, S. Towards automatic association of relevant unstructured content with structured query results. In Proceedings of the 14th ACM International Conference on Information and Knowledge Management, Bremen, Germany, 31 October–5 November 2005; pp. 405–412. [Google Scholar]
  59. Rosling, H. Gapminder—USA’s Life Expectancy Line-Chart. Available online: tinyurl.com/gapminderlinechart (accessed on 6 February 2020).
  60. Gabbert, E. Keywords vs. Search Queries: What’s the Difference? Available online: https://www.wordstream.com/blog/ws/2011/05/25/keywords-vs-search-queries (accessed on 6 February 2020).
  61. Everett, N. Loading Wikipedia’s Search Index for Testing. 2016. Available online: https://www.elastic.co/blog/loading-wikipedia (accessed on 6 February 2020).
  62. Team, E.D. Simple Query String Query. 2018. Available online: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-simple-query-string-query.html (accessed on 15 February 2020).
  63. Feynman, R. Ebnf: A Notation to Describe Syntax. 2016. Available online: http://www.ics.uci.edu/~pattis/misc/ebnf2.pdf (accessed on 6 May 2022).
  64. Pennington, J.; Socher, R.; Manning, C.D. Glove: Global vectors for word representation. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar, 25–29 October 2014; pp. 1532–1543. [Google Scholar]
  65. Rehurek, R.; Sojka, P. Gensim–Python Framework for Vector Space Modelling; NLP Centre, Faculty of Informatics, Masaryk University: Brno, Czech Republic, 2011; Volume 3. [Google Scholar]
  66. Loper, E.; Bird, S. NLTK: The natural language toolkit. arXiv 2002, arXiv:cs/0205028. [Google Scholar]
  67. Fellbaum, C. WordNet. In Theory and Applications of Ontology: Computer Applications; Springer: Berlin/Heidelberg, Germany, 2010; pp. 231–243. [Google Scholar]
  68. Bhogal, J.; MacFarlane, A.; Smith, P. A review of ontology based query expansion. Inf. Process. Manag. 2007, 43, 866–886. [Google Scholar] [CrossRef]
  69. Rosling, H. Geography Related Dataset from Gapminder. 2018. Available online: https://www.gapminder.org/data/geo/ (accessed on 6 February 2020).
  70. Brockwell, P.J.; Davis, R.A. Introduction to Time Series and Forecasting; Springer: Berlin/Heidelberg, Germany, 2016. [Google Scholar]
  71. Virtanen, P.; Gommers, R.; Oliphant, T.E.; Haberland, M.; Reddy, T.; Cournapeau, D.; Burovski, E.; Peterson, P.; Weckesser, W.; Bright, J.; et al. SciPy 1.0: Fundamental algorithms for scientific computing in Python. Nat. Methods 2020, 17, 261–272. [Google Scholar] [CrossRef] [PubMed]
  72. Yang, C.; He, Z.; Yu, W. Comparison of public peak detection algorithms for MALDI mass spectrometry data analysis. BMC Bioinform. 2009, 10, 4. [Google Scholar] [CrossRef]
  73. Lashkari, A.H.; Mahdavi, F.; Ghomi, V. A boolean model in information retrieval for search engines. In Proceedings of the 2009 International Conference on Information Management and Engineering, Kuala Lumpur, Malaysia, 3–5 April 2009; pp. 385–389. [Google Scholar]
  74. Team, W. Wikimedia Downloads. 2020. Available online: https://dumps.wikimedia.org/other/cirrussearch/ (accessed on 15 February 2020).
  75. Keogh, E.; Ratanamahatana, C.A. Exact indexing of dynamic time warping. Knowl. Inf. Syst. 2005, 7, 358–386. [Google Scholar] [CrossRef]
  76. M ü ller, M. Dynamic time warping. In Information Retrieval for Music and Motion; Springer: Berlin/Heidelberg, Germany, 2007; pp. 69–84. [Google Scholar]
  77. Memon, A.; Banerjee, I.; Nagarajan, A. What test oracle should I use for effective GUI testing? In Proceedings of the 18th IEEE International Conference on Automated Software Engineering, Montreal, QC, Canada, 6–10 October; 2003; pp. 164–173. [Google Scholar]
  78. Blei, D.M.; Ng, A.Y.; Jordan, M.I. Latent dirichlet allocation. J. Mach. Learn. Res. 2003, 3, 993–1022. [Google Scholar]
  79. Reimers, N.; Gurevych, I. Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, Hong Kong, China, 3–7 November 2019. [Google Scholar]
  80. Rosling, H. Gapminder—Life Expectancy vs Income Bubble-Chart. Available online: https://tinyurl.com/gapminderbubblechart (accessed on 6 May 2022).
Figure 1. Overall summary of Q4EDA. (a) Time-series dataset collection structure expected by Q4EDA (left) is composed of multiple time-series datasets. Each row of the many datasets are the time-series which are visualized through tools such as Gapminder [59], and a selection within such visualization (in red) comprises the Visual Selection Query (VQ) converted by Q4EDA. (b) Overview of Q4EDA conversion and suggestion processes. Q4EDA expects to have access to a dataset collection and a given user’s VQ (left), and the inner operations convert each data-type into output queries which are combined as a valid SQ (right). After executing the SQ in a SE and retrieving the text documents, Q4EDA also provides query suggestions.
Figure 1. Overall summary of Q4EDA. (a) Time-series dataset collection structure expected by Q4EDA (left) is composed of multiple time-series datasets. Each row of the many datasets are the time-series which are visualized through tools such as Gapminder [59], and a selection within such visualization (in red) comprises the Visual Selection Query (VQ) converted by Q4EDA. (b) Overview of Q4EDA conversion and suggestion processes. Q4EDA expects to have access to a dataset collection and a given user’s VQ (left), and the inner operations convert each data-type into output queries which are combined as a valid SQ (right). After executing the SQ in a SE and retrieving the text documents, Q4EDA also provides query suggestions.
Information 13 00368 g001
Figure 2. Examples of trends and patterns combinations and peaks and valleys detected by our algorithm. (a) Combinations of trends and pattern types in visual selections. (b) Peaks and valleys detection.
Figure 2. Examples of trends and patterns combinations and peaks and valleys detected by our algorithm. (a) Combinations of trends and pattern types in visual selections. (b) Peaks and valleys detection.
Information 13 00368 g002
Figure 3. Example of the two suggestion lists given the dataset collection and the user’s VQ (A) of the visualized time-series (B). Q4EDA calculates and outputs two suggestion lists: a dataset list indicating similar datasets to the VQ given the same time-range and categorical descriptor, and another list indicating similar categorical descriptors (e.g., country) to the VQ given the same time-range and dataset.
Figure 3. Example of the two suggestion lists given the dataset collection and the user’s VQ (A) of the visualized time-series (B). Q4EDA calculates and outputs two suggestion lists: a dataset list indicating similar datasets to the VQ given the same time-range and categorical descriptor, and another list indicating similar categorical descriptors (e.g., country) to the VQ given the same time-range and dataset.
Information 13 00368 g003
Figure 4. Life expectancy line chart of the United States. Two noticeable valleys are observed between 1860 and 1866 and between 1917 and 1919. The gray area represents the user selection.
Figure 4. Life expectancy line chart of the United States. Two noticeable valleys are observed between 1860 and 1866 and between 1917 and 1919. The gray area represents the user selection.
Information 13 00368 g004
Figure 5. List of documents retrieved from Wikipedia related to the drop in the United States’ life expectancy. (a) Selection between 1860 and 1866. (b) Selection between 1917 and 1919.
Figure 5. List of documents retrieved from Wikipedia related to the drop in the United States’ life expectancy. (a) Selection between 1860 and 1866. (b) Selection between 1917 and 1919.
Information 13 00368 g005
Figure 6. Life expectancy line chart multiple countries. All countries present the same valley between 1917 and 1919, indicating a global reason for the drop in life expectancy.
Figure 6. Life expectancy line chart multiple countries. All countries present the same valley between 1917 and 1919, indicating a global reason for the drop in life expectancy.
Information 13 00368 g006
Figure 7. List of documents retrieved from Wikipedia related to the pattern in the Russia’s dataset between 1917 and 1919, indicating several potential events that may have affected it. (a) Selection of the valley of Russia’s life expectancy. (b) Selection of the drop of Russia’s democracy index score.
Figure 7. List of documents retrieved from Wikipedia related to the pattern in the Russia’s dataset between 1917 and 1919, indicating several potential events that may have affected it. (a) Selection of the valley of Russia’s life expectancy. (b) Selection of the drop of Russia’s democracy index score.
Information 13 00368 g007
Figure 8. Russia life expectancy and democracy index presents interesting similarities.
Figure 8. Russia life expectancy and democracy index presents interesting similarities.
Information 13 00368 g008
Figure 9. Query stability analysis. On average, slight variations in the selection return 39 % to 64 % of the documents returned by the original query depending on the pattern type, indicating a good degree of stability and reproducibility, especially for patterns with peaks and valleys.
Figure 9. Query stability analysis. On average, slight variations in the selection return 39 % to 64 % of the documents returned by the original query depending on the pattern type, indicating a good degree of stability and reproducibility, especially for patterns with peaks and valleys.
Information 13 00368 g009
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Christino, L.; Ferreira, M.D.; Paulovich, F.V. Q4EDA: A Novel Strategy for Textual Information Retrieval Based on User Interactions with Visual Representations of Time Series. Information 2022, 13, 368. https://doi.org/10.3390/info13080368

AMA Style

Christino L, Ferreira MD, Paulovich FV. Q4EDA: A Novel Strategy for Textual Information Retrieval Based on User Interactions with Visual Representations of Time Series. Information. 2022; 13(8):368. https://doi.org/10.3390/info13080368

Chicago/Turabian Style

Christino, Leonardo, Martha D. Ferreira, and Fernando V. Paulovich. 2022. "Q4EDA: A Novel Strategy for Textual Information Retrieval Based on User Interactions with Visual Representations of Time Series" Information 13, no. 8: 368. https://doi.org/10.3390/info13080368

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop