-
公开(公告)号:US20180181613A1
公开(公告)日:2018-06-28
申请号:US15388464
申请日:2016-12-22
Applicant: SAP SE
Inventor: Pranav Acharya , Raghavendra Nagaraja
Abstract: Various examples are directed to converting a natural language query to a structured query. The natural language query may comprise a plurality of terms. A natural language system may generate a set of operators and a set of operands based at least in part on the plurality of terms and a metadata dictionary. The natural language system may generate an expression tree based at least in part on the set of operators and the set of operands. The expression tree may comprise a plurality of interconnected nodes. A first node may be associated with a first function corresponding to a first operator of the set of operators and a second node may be associated with a first argument of the first function corresponding to a first operand of the set of operands. The natural language system may generate a query based at least in part on the expression tree.
-
公开(公告)号:US10719506B2
公开(公告)日:2020-07-21
申请号:US15388464
申请日:2016-12-22
Applicant: SAP SE
Inventor: Pranav Acharya , Raghavendra Nagaraja
IPC: G06F7/00 , G06F16/242
Abstract: Various examples are directed to converting a natural language query to a structured query. The natural language query may comprise a plurality of terms. A natural language system may generate a set of operators and a set of operands based at least in part on the plurality of terms and a metadata dictionary. The natural language system may generate an expression tree based at least in part on the set of operators and the set of operands. The expression tree may comprise a plurality of interconnected nodes. A first node may be associated with a first function corresponding to a first operator of the set of operators and a second node may be associated with a first argument of the first function corresponding to a first operand of the set of operands. The natural language system may generate a query based at least in part on the expression tree.
-