| CPC G06F 16/9024 (2019.01) [G06F 16/90335 (2019.01); G06F 16/9038 (2019.01); G06F 16/93 (2019.01)] | 20 Claims |

|
1. A method for text processing, comprising:
receiving a query comprising a natural language expression;
extracting a plurality of query mentions from the query;
generating a virtual knowledge graph of the query by masking each of the plurality of query mentions and generating, using a relation encoder network, a query relation vector between a pair of the plurality of query mentions;
identifying a virtual knowledge graph of a document including a document relation vector between a pair of a plurality of document mentions;
computing a graph similarity score between the virtual knowledge graph of the query and the virtual knowledge graph of the document based on the query relation vector, the document relation vector, and a match between the pair of the plurality of document mentions of the document relation vector and the pair of the plurality of query mentions of the query relation vector by computing a relation similarity between the query relation vector and the document relation vector based on the match; and
transmitting a response to the query based on the document and the graph similarity score.
|