US 10546001
Natural language queries based on user defined attributes
Granted 2020-01-28 · Filed 2016-04-05 · Application 15/091,482 · Utility · Kind B1
- Assignee as printed
- Arimo, LLC, Mountain View, CA (US)
- Inventors
- Christopher Nguyen, Los Altos, CA (US); Anh H. Trinh, Mountain View, CA (US); Khang Pham, Milpitas, CA (US)
- CPC, current
- G06F16/3322; G06F16/243; G06F16/248; G06F16/3329; G06F16/3344; G06F16/338; G06F40/186; G06N20/00; G06N5/04
Abstract
A data analysis system allows users to interact with distributed data structures stored in-memory using natural language queries. The data analysis system receives a prefix of a natural language query from the user. The data analysis system provides suggestions of terms to the user for adding to the prefix. Accordingly, the data analysis system iteratively receives longer and longer prefixes of the natural language queries until a complete natural language query is received. The data analysis system stores natural language query templates that represent natural language queries associated a particular intent. For example, a natural language query template may represent queries that compare two columns of a dataset. The data analysis system compares an input prefix of natural language with the natural language query templates to determine the suggestions. The data analysis system receives user defined metrics or attributes that can be used in the natural language queries.
The claims as the USPTO long-text file prints them (text data version 20261117.3), split by PatentRef's claim parser (structure version 2): each claim's opening words, then one row for each element with its character offsets in the claim text, and the dependent claims under the claim they refer to. The split describes the text; it is not a reading of it. Each claim and each element has a link of its own. How the links are made.
Claim 1
Independent claim.
1. A method for processing user defined metrics in natural language queries for analyzing datasets, the method comprising:
- Claim 1, element e1storing a dataset comprising one or more attributes for data analysis; 123–192
- Claim 1, element e2storing information describing a plurality of intents of natural language queries, each intent associated with: 194–304
- Claim 1, element e3criteria for identifying natural language queries having the intent; and 306–373
- Claim 1, element e4instructions for processing data of the dataset according to the intent; 379–450
- Claim 1, element e5receiving information describing a user defined metric, the information associating a natural language phrase identifying the user defined metric with an expression, the natural language phrase comprising a name in natural language, the expression associating the user defined metric with a column of the dataset and specifying a user-selected subset of named entities in the column, the expression enumerating each of the named entities in the user-selected subset, the user defined metric editable to add or remove a named entity enumerated in the expression; 452–1012
- Claim 1, element e6receiving a plurality of natural language queries, each using the natural language phrase identifying the user defined metric; 1014–1139
- Claim 1, element e7identifying, for each natural language query, an intent of the natural language query responsive to the natural language query satisfying the criteria associated with the identified intent; 1141–1329
- Claim 1, element e8processing the natural language query for each natural language query, the processing comprising: 1331–1427
- Claim 1, element e9generating a database query for retrieving data of the dataset as requested by the natural language query, 1429–1534
- Claim 1, element e10wherein the database query applies the expression of the user defined metric to select records that are associated with the user-selected subset of named entities enumerated in the expression; and 1536–1727
- Claim 1, element e11executing the database query to process the data of the dataset; and 1733–1796
- Claim 1, element e12storing a plurality of documents, each document corresponding to one of the plurality of natural language queries, each document storing a result of processing the one of the plurality of the natural language queries and storing an association between the result and the one of the plurality of natural language queries that identifies the user defined metric; 1802–2161
- Claim 1, element e13receiving an edit to the expression of the user defined metric, the edit adding or removing a named entity from the user-selected subset; and 2163–2299
- Claim 1, element e14responsive to the edit, updating the plurality of documents based on the association stored in each document, the updating of the plurality of documents comprising re-evaluating the plurality of natural language queries based on the edit to the user define metric.2305–2568
14 dependent claims: 2 to 15 (2, 8, 9, 10, 11, 12, 13, 14, 15 on claim 1; 3, 5, 6, 7 on 2; 4 on 3)
Claim 2
Depends on claim 1.
2. The method of claim 1 , further comprising;
- Claim 2, element e1determining that the expression further associates the user defined metric with an aggregate operation; 47–149
- Claim 2, element e2identifying an attribute of the dataset based on the natural language query; and 151–226
- Claim 2, element e3wherein the database query aggregates values of the expression over values of the identified attribute of the dataset.232–349
Claim 3
Depends on claim 2.
3. The method of claim 2 , wherein
- Claim 3, element e1the attribute of the dataset represents time and the identified intent is associated with instructions for retrieving data of the dataset over periodic intervals of time.35–204
Claim 4
Depends on claim 3.
4. The method of claim 3 , wherein
- Claim 4, element e1the periodic intervals of time are specified using a keyword in one of the plurality of natural language queries, 35–147
- Claim 4, element e2wherein a value of the keyword is one of: 149–189
- Claim 4, element e3weekly, daily, hourly, monthly, or yearly.191–232
Claim 5
Depends on claim 2.
5. The method of claim 2 , wherein
- Claim 5, element e1the aggregate operation of the user defined metric determines a conditional count of values in a column of the dataset.35–153
Claim 6
Depends on claim 2.
6. The method of claim 2 , wherein
- Claim 6, element e1the aggregate operation of the user defined metric determines a sum or average of the metric.35–127
Claim 7
Depends on claim 2.
7. The method of claim 2 , wherein
- Claim 7, element e1the aggregate operation of the user defined metric determines a ratio of a conditional count of metric of the dataset over total count of the metric grouped by the second attribute.35–215
Claim 8
Depends on claim 1.
8. The method of claim 1 , further comprising;
- Claim 8, element e1determining that the expression of the user defined metric further specifies a condition for filtering data of the dataset; and 47–169
- Claim 8, element e2wherein the database query specifies a filter based on the condition for filtering data of the dataset.175–277
Claim 9
Depends on claim 1.
9. The method of claim 1 , wherein
- Claim 9, element e1one of the plurality of natural language queries is a first natural language query, the identified intent is a first identified intent, and the database query is a first database query, the method further comprising: 35–250
- Claim 9, element e2receiving a second natural language query using the phrase identifying the user defined metric; 252–346
- Claim 9, element e3identifying a second intent of the second natural language query responsive to the natural language query satisfying the criteria associated with the second identified intent the second identified intent different from the first identified intent; 348–594
- Claim 9, element e4processing the natural language query, the processing comprising: 596–660
- Claim 9, element e5generating a second database query for retrieving data of the dataset as requested by the natural language query, 662–774
- Claim 9, element e6wherein the database query uses the expression associated with the user defined metric; and 776–862
- Claim 9, element e7executing the second database query to process the data of the dataset.868–938
Claim 10
Depends on claim 1.
10. The method of claim 1 , wherein
- Claim 10, element e1the information of the user defined metric is a first information of the user defined metric and the expression is a first expression, the method further comprising: 36–200
- Claim 10, element e2receiving a second information of the user defined metric, the second information associating the natural language phrase identifying the user defined metric with a second expression, 202–384
- Claim 10, element e3wherein the second expression replaces the first expression; 386–445
- Claim 10, element e4receiving a request to process an additional natural language query responsive to replacing the information of the user defined metric with the second information; 447–609
- Claim 10, element e5processing the additional natural language query, the processing comprising: 611–686
- Claim 10, element e6generating a second database query for retrieving data of the dataset as requested by the natural language query, 688–800
- Claim 10, element e7wherein the database query uses the second expression associated with the user defined metric; and 802–895
- Claim 10, element e8executing the second database query to process the data of the dataset.901–971
Claim 11
Depends on claim 1.
11. The method of claim 1 , wherein
- Claim 11, element e1the criteria for identifying natural language queries having a particular intent is specified as one or more query templates, each query template specifying one or more natural language keywords, one or more attributes of the dataset, and an order of occurrence of the natural language keywords and the attributes of the datasets.36–365
Claim 12
Depends on claim 1.
12. The method of claim 1 , wherein
- Claim 12, element e1the intent specified in a particular natural language query includes a request of information describing relationship between the user defined metric and an attribute of the dataset.36–217
Claim 13
Depends on claim 1.
13. The method of claim 1 , wherein
- Claim 13, element e1the instructions, of at least one of the intents, for processing data of the dataset according to the intent forecast a value in future time.36–176
Claim 14
Depends on claim 1.
14. The method of claim 1 , wherein
- Claim 14, element e1the instructions, of at least one of the intents, for processing data of the dataset according to the intent determine a trend of the values of an attribute of the dataset.36–207
Claim 15
Depends on claim 1.
15. The method of claim 1 , wherein
- Claim 15, element e1the expression further associates the user defined metric with a change of format operation that specifies a column of data to be converted from a first format to a second format, 36–214
- Claim 15, element e2wherein processing the natural language query further for each natural language query further comprises: 216–319
- Claim 15, element e3converting the column of data retrieved from the first format to a second column of data in the second format, the second column of data not stored in the datasets and each value in the first column corresponding to a converted value in the second column, 321–575
- Claim 15, element e4wherein the result stored in each document of the plurality of documents comprises the second column of data.577–685
Claim 16
Independent claim.
16. A non-transitory computer readable medium storing instructions for causing a processor to perform steps comprising:
- Claim 16, element e1storing a dataset comprising one or more attributes for data analysis; 120–189
- Claim 16, element e2storing information describing a plurality of intents of natural language queries, each intent associated with: 191–301
- Claim 16, element e3criteria for identifying natural language queries having the intent; and 303–370
- Claim 16, element e4instructions for processing data of the dataset according to the intent; 376–447
- Claim 16, element e5receiving information describing a user defined metric, the information associating a natural language phrase identifying the user defined metric with an expression, the natural language phrase comprising a name in natural language, the expression associating the user defined metric with a column of the dataset and specifying a user-selected subset of named entities in the column, the expression enumerating each of the named entities in the user-selected subset, the user defined metric editable to add or remove a named entity enumerated in the expression; 449–1009
- Claim 16, element e6receiving a plurality of natural language queries, each using the natural language phrase identifying the user defined metric; 1011–1136
- Claim 16, element e7identifying, for each natural language query, an intent of the natural language query responsive to the natural language query satisfying the criteria associated with the identified intent; 1138–1326
- Claim 16, element e8processing the natural language query for each natural language query, the processing comprising: 1328–1424
- Claim 16, element e9generating a database query for retrieving data of the dataset as requested by the natural language query, 1426–1531
- Claim 16, element e10wherein the database query applies the expression of the user defined metric to select records that are associated with the user-selected subset of named entities enumerated in the expression; and 1533–1724
- Claim 16, element e11executing the database query to process the data of the dataset; and 1730–1793
- Claim 16, element e12storing a plurality of documents, each document corresponding to one of the plurality of natural language queries, each document storing a result of processing the one of the plurality of the natural language queries and storing an association between the result and the one of the plurality of natural language queries that identifies the user defined metric; 1799–2158
- Claim 16, element e13receiving an edit to the expression of the user defined metric, the edit adding or removing a named entity from the user-selected subset; and 2160–2296
- Claim 16, element e14responsive to the edit, updating the plurality of documents based on the association stored in each document, the updating of the plurality of documents comprising re-evaluating the plurality of natural language queries based on the edit to the user define metric.2302–2565
Claim 17
Independent claim.
17. A computer system comprising:
- Claim 17, element e1a computer processor; and 34–54
- Claim 17, element e2a non-transitory computer readable medium storing instructions executable by the processor, the instructions for: 60–172
- Claim 17, element e3storing a dataset comprising one or more attributes for data analysis; 174–243
- Claim 17, element e4storing information describing a plurality of intents of natural language queries, each intent associated with: 245–355
- Claim 17, element e5criteria for identifying natural language queries having the intent; and 357–424
- Claim 17, element e6instructions for processing data of the dataset according to the intent; 430–501
- Claim 17, element e7receiving information describing a user defined metric, the information associating a natural language phrase identifying the user defined metric with an expression, the natural language phrase comprising a name in natural language, the expression associating the user defined metric with a column of the dataset and specifying a user-selected subset of named entities in the column, the expression enumerating each of the named entities in the user-selected subset, the user defined metric editable to add or remove a named entity enumerated in the expression; 503–1063
- Claim 17, element e8receiving a plurality of natural language queries, each using the natural language phrase identifying the user defined metric; 1065–1190
- Claim 17, element e9identifying, for each natural language query, an intent of the natural language query responsive to the natural language query satisfying the criteria associated with the identified intent; 1192–1380
- Claim 17, element e10processing the natural language query for each natural language query, the processing comprising: 1382–1478
- Claim 17, element e11generating a database query for retrieving data of the dataset as requested by the natural language query, 1480–1585
- Claim 17, element e12wherein the database query applies the expression of the user defined metric to select records that are associated with the user-selected subset of named entities enumerated in the expression; and 1587–1778
- Claim 17, element e13executing the database query to process the data of the dataset; and 1784–1847
- Claim 17, element e14storing a plurality of documents, each document corresponding to one of the plurality of natural language queries, each document storing a result of processing the one of the plurality of the natural language queries and storing an association between the result and the one of the plurality of natural language queries that identifies the user defined metric; 1853–2212
- Claim 17, element e15receiving an edit to the expression of the user defined metric, the edit adding or removing a named entity from the user-selected subset; and 2214–2350
- Claim 17, element e16responsive to the edit, updating the plurality of documents based on the association stored in each document, the updating of the plurality of documents comprising re-evaluating the plurality of natural language queries based on the edit to the user define metric.2356–2619
1. A method for processing user defined metrics in natural language queries for analyzing datasets, the method comprising: storing a dataset comprising one or more attributes for data analysis; storing information describing a plurality of intents of natural language queries, each intent associated with: criteria for identifying natural language queries having the intent; and instructions for processing data of the dataset according to the intent; receiving information describing a user defined metric, the information associating a natural language phrase identifying the user defined metric with an expression, the natural language phrase comprising a name in natural language, the expression associating the user defined metric with a column of the dataset and specifying a user-selected subset of named entities in the column, the expression enumerating each of the named entities in the user-selected subset, the user defined metric editable to add or remove a named entity enumerated in the expression; receiving a plurality of natural language queries, each using the natural language phrase identifying the user defined metric; identifying, for each natural language query, an intent of the natural language query responsive to the natural language query satisfying the criteria associated with the identified intent; processing the natural language query for each natural language query, the processing comprising: generating a database query for retrieving data of the dataset as requested by the natural language query, wherein the database query applies the expression of the user defined metric to select records that are associated with the user-selected subset of named entities enumerated in the expression; and executing the database query to process the data of the dataset; and storing a plurality of documents, each document corresponding to one of the plurality of natural language queries, each document storing a result of processing the one of the plurality of the natural language queries and storing an association between the result and the one of the plurality of natural language queries that identifies the user defined metric; receiving an edit to the expression of the user defined metric, the edit adding or removing a named entity from the user-selected subset; and responsive to the edit, updating the plurality of documents based on the association stored in each document, the updating of the plurality of documents comprising re-evaluating the plurality of natural language queries based on the edit to the user define metric.
2. The method of claim 1 , further comprising; determining that the expression further associates the user defined metric with an aggregate operation; identifying an attribute of the dataset based on the natural language query; and wherein the database query aggregates values of the expression over values of the identified attribute of the dataset.
3. The method of claim 2 , wherein the attribute of the dataset represents time and the identified intent is associated with instructions for retrieving data of the dataset over periodic intervals of time.
4. The method of claim 3 , wherein the periodic intervals of time are specified using a keyword in one of the plurality of natural language queries, wherein a value of the keyword is one of: weekly, daily, hourly, monthly, or yearly.
5. The method of claim 2 , wherein the aggregate operation of the user defined metric determines a conditional count of values in a column of the dataset.
6. The method of claim 2 , wherein the aggregate operation of the user defined metric determines a sum or average of the metric.
7. The method of claim 2 , wherein the aggregate operation of the user defined metric determines a ratio of a conditional count of metric of the dataset over total count of the metric grouped by the second attribute.
8. The method of claim 1 , further comprising; determining that the expression of the user defined metric further specifies a condition for filtering data of the dataset; and wherein the database query specifies a filter based on the condition for filtering data of the dataset.
9. The method of claim 1 , wherein one of the plurality of natural language queries is a first natural language query, the identified intent is a first identified intent, and the database query is a first database query, the method further comprising: receiving a second natural language query using the phrase identifying the user defined metric; identifying a second intent of the second natural language query responsive to the natural language query satisfying the criteria associated with the second identified intent the second identified intent different from the first identified intent; processing the natural language query, the processing comprising: generating a second database query for retrieving data of the dataset as requested by the natural language query, wherein the database query uses the expression associated with the user defined metric; and executing the second database query to process the data of the dataset.
10. The method of claim 1 , wherein the information of the user defined metric is a first information of the user defined metric and the expression is a first expression, the method further comprising: receiving a second information of the user defined metric, the second information associating the natural language phrase identifying the user defined metric with a second expression, wherein the second expression replaces the first expression; receiving a request to process an additional natural language query responsive to replacing the information of the user defined metric with the second information; processing the additional natural language query, the processing comprising: generating a second database query for retrieving data of the dataset as requested by the natural language query, wherein the database query uses the second expression associated with the user defined metric; and executing the second database query to process the data of the dataset.
11. The method of claim 1 , wherein the criteria for identifying natural language queries having a particular intent is specified as one or more query templates, each query template specifying one or more natural language keywords, one or more attributes of the dataset, and an order of occurrence of the natural language keywords and the attributes of the datasets.
12. The method of claim 1 , wherein the intent specified in a particular natural language query includes a request of information describing relationship between the user defined metric and an attribute of the dataset.
13. The method of claim 1 , wherein the instructions, of at least one of the intents, for processing data of the dataset according to the intent forecast a value in future time.
14. The method of claim 1 , wherein the instructions, of at least one of the intents, for processing data of the dataset according to the intent determine a trend of the values of an attribute of the dataset.
15. The method of claim 1 , wherein the expression further associates the user defined metric with a change of format operation that specifies a column of data to be converted from a first format to a second format, wherein processing the natural language query further for each natural language query further comprises: converting the column of data retrieved from the first format to a second column of data in the second format, the second column of data not stored in the datasets and each value in the first column corresponding to a converted value in the second column, wherein the result stored in each document of the plurality of documents comprises the second column of data.
16. A non-transitory computer readable medium storing instructions for causing a processor to perform steps comprising: storing a dataset comprising one or more attributes for data analysis; storing information describing a plurality of intents of natural language queries, each intent associated with: criteria for identifying natural language queries having the intent; and instructions for processing data of the dataset according to the intent; receiving information describing a user defined metric, the information associating a natural language phrase identifying the user defined metric with an expression, the natural language phrase comprising a name in natural language, the expression associating the user defined metric with a column of the dataset and specifying a user-selected subset of named entities in the column, the expression enumerating each of the named entities in the user-selected subset, the user defined metric editable to add or remove a named entity enumerated in the expression; receiving a plurality of natural language queries, each using the natural language phrase identifying the user defined metric; identifying, for each natural language query, an intent of the natural language query responsive to the natural language query satisfying the criteria associated with the identified intent; processing the natural language query for each natural language query, the processing comprising: generating a database query for retrieving data of the dataset as requested by the natural language query, wherein the database query applies the expression of the user defined metric to select records that are associated with the user-selected subset of named entities enumerated in the expression; and executing the database query to process the data of the dataset; and storing a plurality of documents, each document corresponding to one of the plurality of natural language queries, each document storing a result of processing the one of the plurality of the natural language queries and storing an association between the result and the one of the plurality of natural language queries that identifies the user defined metric; receiving an edit to the expression of the user defined metric, the edit adding or removing a named entity from the user-selected subset; and responsive to the edit, updating the plurality of documents based on the association stored in each document, the updating of the plurality of documents comprising re-evaluating the plurality of natural language queries based on the edit to the user define metric.
17. A computer system comprising: a computer processor; and a non-transitory computer readable medium storing instructions executable by the processor, the instructions for: storing a dataset comprising one or more attributes for data analysis; storing information describing a plurality of intents of natural language queries, each intent associated with: criteria for identifying natural language queries having the intent; and instructions for processing data of the dataset according to the intent; receiving information describing a user defined metric, the information associating a natural language phrase identifying the user defined metric with an expression, the natural language phrase comprising a name in natural language, the expression associating the user defined metric with a column of the dataset and specifying a user-selected subset of named entities in the column, the expression enumerating each of the named entities in the user-selected subset, the user defined metric editable to add or remove a named entity enumerated in the expression; receiving a plurality of natural language queries, each using the natural language phrase identifying the user defined metric; identifying, for each natural language query, an intent of the natural language query responsive to the natural language query satisfying the criteria associated with the identified intent; processing the natural language query for each natural language query, the processing comprising: generating a database query for retrieving data of the dataset as requested by the natural language query, wherein the database query applies the expression of the user defined metric to select records that are associated with the user-selected subset of named entities enumerated in the expression; and executing the database query to process the data of the dataset; and storing a plurality of documents, each document corresponding to one of the plurality of natural language queries, each document storing a result of processing the one of the plurality of the natural language queries and storing an association between the result and the one of the plurality of natural language queries that identifies the user defined metric; receiving an edit to the expression of the user defined metric, the edit adding or removing a named entity from the user-selected subset; and responsive to the edit, updating the plurality of documents based on the association stored in each document, the updating of the plurality of documents comprising re-evaluating the plurality of natural language queries based on the edit to the user define metric.
The text of each claim as printed, for pasting a claim word for word. The links in the tree view name the same claims and elements.
Status
expired_fee_nonpayment
As of 2026-11-17, the USPTO maintenance-fee record for US 10546001 has an entry dated 2024-03-04 recording that the patent expired for nonpayment of a maintenance fee, and no reinstatement after it (data version 20261117.2).
- Basis
- fee_lapse:2024-03-04 · term_20y · pta_days:641 (fee-lapse entry dated 2024-03-04, 20 years from filing, plus 641 days of patent term adjustment)
- Term end
- 2038-01-06 Computed from the dates in the USPTO recordThe maintenance-fee entry dated 2024-03-04 records an expiry for nonpayment; the date in this row is computed without the maintenance-fee record.
- Fee lapse
- 2024-03-04
- Reinstatement
- none on record; reinstatement_possible: unknown, 37 CFR 1.378: a petition to accept a delayed maintenance fee on the basis of unintentional delay has no fixed time limit; the fee-event record shows no reinstatement as of 2026-11-17
- As of
- 2026-11-17
- Data version
- 20261117.2
A petition under 37 CFR 1.378 has no fixed time limit; the record does not show whether one would be granted.
A fact about the record with its basis and its as-of date, not legal advice.
Citations
References cited on the grant: 2 US patent documents · Cited by: 144 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/10546001/ (needs a free key, as the links under Get this as data)
Family outside the US
Google Patents Public Datasets lists no publication outside the US in this patent's family (read 2026-10-15).
This patent's family on USPTO Global Dossier
Family data from Google Patents Public Datasets, used under CC BY 4.0.
Record JSON
{
"patent_id": "10546001",
"status": "expired_fee_nonpayment",
"basis": [
"fee_lapse:2024-03-04",
"term_20y",
"pta_days:641"
],
"reinstatement_possible": "unknown",
"reinstatement_basis": "37 CFR 1.378: a petition to accept a delayed maintenance fee on the basis of unintentional delay has no fixed time limit; the fee-event record shows no reinstatement as of 2026-11-17",
"expiry_date_estimated": "2038-01-06",
"lapse_date": "2024-03-04",
"reinstated_date": null,
"as_of": "2026-11-17",
"data_version": "20261117.2",
"catalog_data_version": "20261117.2",
"permalink": "https://patentref.io/p/10546001?v=20261117.2",
"next_steps": [
{
"kind": "record",
"url": "https://patentref.io/p/10546001?v=20261117.2",
"audience": "human"
},
{
"kind": "patent",
"url": "https://patentref.io/api/v1/patent/10546001/",
"audience": "agent"
},
{
"kind": "fee_events",
"tool": "uspto_patent_center",
"url": "https://patentcenter.uspto.gov/applications?patentNumber=10546001",
"audience": "agent"
}
]
}
Get this as data
- Full record
/api/v1/patent/10546001/ - Status record
/api/v1/lapse/status/10546001/ - Claim tree
/api/v1/structure/claims/10546001/ - Brief
/api/v1/structure/brief/10546001/
These four links need a free key (1,000 requests a month). Opened in a browser, which sends no key, they answer 403. Get a free key on the sign-up page, then send it in the X-Api-Key header. To see the shape of an answer without a key, open Try it.