US 12,248,463 B1
Query enhancements for contextual data aggregator
Srinivas Palla, Redmond, WA (US); Manoj Mandam, Jersey City, NJ (US); and Maitri Prraveg Shroff, Seattle, WA (US)
Assigned to AMAZON TECHNOLOGIES, INC., Seattle, WA (US)
Filed by Amazon Technologies, Inc., Seattle, WA (US)
Filed on Aug. 3, 2021, as Appl. No. 17/393,139.
Int. Cl. G06F 16/00 (2019.01); G06F 16/242 (2019.01); G06F 16/2453 (2019.01); G06F 16/248 (2019.01); G10L 15/22 (2006.01); G10L 15/30 (2013.01)
CPC G06F 16/244 (2019.01) [G06F 16/243 (2019.01); G06F 16/24532 (2019.01); G06F 16/248 (2019.01); G10L 15/22 (2013.01); G10L 15/30 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method comprising:
receiving, by a contextual data aggregator component associated with a natural language processing system, a graph query language query from a first natural language processing component executed by at least a first computing device;
determining that the graph query language query comprises a first sub-query directed to a first graph database hosted by a first context provider and a second sub-query directed to a second graph database hosted by a second context provider;
determining that a first variable accepted as a first input to the first sub-query is associated with first path data that specifies an operation of the second sub-query;
determining a first value for the first variable by executing the operation of the second sub-query;
determining first result data by inputting the first value for the first variable as the first input to the first sub-query; and
sending the first result data to the first computing device as a response to the graph query language query, wherein the first natural language processing component is effective to take a first action using the first result data.