# US 2017/0293676 A1 · Boolean-query composer

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0293676 A1
- Document ID: US20170293676A1
- Status: Published application
- Kind: A1
- Application number: 15/375,641
- Filed: 2016-12-12
- Published: 2017-10-12
- Earliest claimed: 2016-04-07
- Assignees: Quid, Inc.
- Applicants: Quid, Inc.
- Inventors: Mary Kate Lowe; Ruggero Altair Tacchi; Alex Marrs; Oriana Jeannette Love
- Web page: https://patentgrep.com/patent/US20170293676A1

## CPC

- G06F 16/3325: {Reformulation based on results of preceding query}
- G06F 16/245: Query processing
- G06F 16/3341: {using boolean model}
- G06F 16/338: Presentation of query results
- G06F 16/93: Document management systems
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Provided is a process of refining Boolean queries, the process including: obtaining a query; searching a corpus of documents based on the query; selecting narrowing terms that pertain to respective subsets of the responsive documents; selecting broadening terms related to the query; instructing the user's computing device to present a graphical user interface comprising: graphical representations of the narrowing terms; graphical representations of the broadening terms; and one or more user inputs by which the user refines the query by adding a selected narrowing term or a selected broadening term; obtaining a user selection of a broadening term or a narrowing term; forming a refined query based on the user selection; searching at least part of the corpus based on the refined query to identify refined responsive documents; and instructing the user's computing device to present an updated graphical user interface with information about the refined responsive documents.

## Claims

### Claim 1

A method, comprising:
causing, with one or more processors, a computing device to display a user interface with a result of a first Boolean query applied to a data set, wherein:
the user interface represents subsets of the result as concurrently displayed graphical regions;
each of the graphical regions representing a respective subset of query results has a visual attribute determined based on a respective statistic of the respective subset;
the user interface includes a user-selectable input by which the first Boolean query is changed, at least in part, without the user typing additional query terms;
receiving, with one or more processors, a user selection entered via the user-selectable input, the user selection indicating a term to be added to the first Boolean query;
based on the user selection, with one or more processors, forming a second Boolean query;
applying, with one or more processors, the second Boolean query to the data set to produce a result of the second Boolean query; and
causing, with one or more processors, the computing device to display the result of the second Boolean query.

### Claim 2 (depends on 1)

The method of claim 1, wherein:
the data set includes one or more corpora of unstructured text documents, the one or more corpora including more than 50,000 natural language text documents;
causing the computing device to display the user interface comprises:
receiving the first Boolean query from the user computing device;
recursively decomposing the first Boolean query to form an abstract syntax tree representation of the first Boolean query;
accessing a plurality of previously formed indices based on terms parsed from the first Boolean query to identify documents including the terms;
determining the subsets based on a semantic analysis of the one or more corpora;
determining respective statistics of the subsets;
determining dimensions in display space of the user interface based on the respective statistics;
sending instructions to render the user interface over a network from a computational linguistics system to a browser executing on the computing device, wherein the user interface is presented within the browser and is formed, at least in part, by invoking WebGL commands to enlist a graphical processing unit of the computing device in rendering at least part of the user interface;
the user interface includes means for depicting a space-filling layout;
causing the computing device to display the result of the second Boolean query comprises:
sending instructions to the computing device to update the user interface by inserting or removing components of a document object model of the user interface in memory.

### Claim 3 (depends on 1)

The method of claim 1, wherein forming the second Boolean query comprises:
selecting a Boolean operator based on whether the term is a broadening term or a narrowing term;
determining a position in the first Boolean query to add the term based on steps for determining an order of operations; and
forming an abstract syntax tree representation of the second Boolean query based on both the selected Boolean operator and the determined position.

### Claim 4 (depends on 1)

The method of claim 1, wherein:
the user interface provides a dynamically adjustable visual guide to edit Boolean queries the user.

### Claim 5 (depends on 1)

The method of claim 1, wherein:
the user interface provides a plurality of candidate query terms that are user selectable without typing the candidate query terms, wherein the user interface graphically distinguishes between presented candidate query terms that are broadening terms and candidate query terms that are narrowing terms.

### Claim 6 (depends on 1)

The method of claim 1, wherein:
causing the computing device to display the result of the second Boolean query comprises causing portions of the graphical user interfaces to be constructed dynamically with client-side scripts executed by the computing device.

### Claim 7 (depends on 1)

The method of claim 1, wherein:
applying the second Boolean query comprises interrogating structured data associated with unstructured text documents among the data set.

### Claim 8 (depends on 1)

The method of claim 1, wherein causing the computing device to display the result of the second Boolean query comprises:
causing the computing device to display a synthesis of responsive documents.

### Claim 9 (depends on 1)

The method of claim 1, wherein causing the computing device to display the result of the second Boolean query comprises:
steps for presenting search results.

### Claim 10 (depends on 1)

The method of claim 1, wherein causing a computing device to display a user interface with a result of a first Boolean query comprises:
causing the computing device to display a proportional shape graph.

### Claim 11 (depends on 1)

The method of claim 1, wherein causing a computing device to display a user interface with a result of a first Boolean query comprises:
iteratively and alternatively subdividing available space in a region of the display based on the statistics and selecting rectangle sizes based on whether an aspect ratio of a candidate rectangle satisfies a threshold.

### Claim 12 (depends on 1)

The method of claim 1, wherein the user interface comprises user selectable filters based on metadata of the data set.

### Claim 13 (depends on 1)

The method of claim 1, wherein the user interface comprises a query editing input having means for indicating status of query terms.

### Claim 14 (depends on 1)

The method of claim 1, wherein the user interface comprises a plurality of user selectable candidate query terms, the candidate query terms being selected based on a topic to which the candidate terms pertain.

### Claim 15 (depends on 1)

The method of claim 1, wherein terms in different regions of the interface, with different visual attributes, appearing concurrently, are selectable by the user to add query elements and Boolean operators associated with those query elements.

### Claim 16 (depends on 1)

The method of claim 1, wherein:
the term is a negative disjunctive term selected from among a plurality of candidate query terms determined by means for distributional semantic analysis using means for compressing sparse matrices and means for performing matrix operations.

### Claim 17 (depends on 1)

The method of claim 1, wherein:
the term is a positive disjunctive term selected by the user clicking on a corresponding area of the user interface and invoking a corresponding event handler executed in a browser of the computing device, the positive disjunctive term being selected from among a plurality of positive disjunctive terms determined based on means for latent semantic analysis.

### Claim 18 (depends on 1)

The method of claim 1, wherein:
forming the second Boolean query comprises steps for refactoring a Boolean query and steps for validating a Boolean query.

### Claim 19 (depends on 1)

The method of claim 1, wherein:
receiving a user selection comprises receiving both a user selected positive conjunctive term and a user selected negative conjunctive term;
the second Boolean query includes both the positive conjunctive term and the negative conjunctive term; and
the user interface is caused to be updated to display text of the second Boolean query.

### Claim 20

A tangible, non-transitory, machine-readable medium storing instructions that when executed by one or more processors effectuate operations comprising:
causing, with one or more processors, a computing device to display a user interface with a result of a first Boolean query applied to a data set, wherein:
the display represents subsets of the result as concurrently displayed graphical regions;
each of the graphical regions representing a respective subset of query results has a visual attribute determined based on a respective statistic of the respective subset;
the user interface includes a user-selectable input by which the first Boolean query is changed without the user typing additional query terms;
receiving, with one or more processors, a user selection entered via the user-selectable input, the user selection indicating a term to be added to the first Boolean query;
based on the user selection, with one or more processors, forming a second Boolean query;
applying, with one or more processors, the second Boolean query to the data set to produce a result of the second Boolean query; and
causing, with one or more processors, the computing device to display the result of the second Boolean query.
