Ingesting a Natural Language Query into a Cognitive Graph
A system comprising: a processor; a data bus coupled to the processor; and a non-transitory, computer-readable storage medium embodying computer program code, the non-transitory, computer-readable storage medium being coupled to the data bus. The computer program code interacting with a plurality of computer operations and comprising instructions executable by the processor and configured for: receiving data a data source, the data comprising a query and information relating to an answer to the query; processing the query, the processing the query identifying a plurality of query related knowledge elements; processing the information relating to the answer to the query, the processing the information relating to the answer to the query identifying a plurality of answer related knowledge elements; and, storing the plurality of query related knowledge elements and the plurality of answer related knowledge elements within the cognitive graph as a collection of knowledge elements.
1 . A system comprising:
a processor;
a data bus coupled to the processor; and
a non-transitory, computer-readable storage medium embodying computer program code, the non-transitory, computer-readable storage medium being coupled to the data bus, the computer program code interacting with a plurality of computer operations and comprising instructions executable by the processor and configured for:
receiving data a data source, the data comprising a query and information relating to an answer to the query;
processing the query, the processing the query identifying a plurality of query related knowledge elements;
processing the information relating to the answer to the query, the processing the information relating to the answer to the query identifying a plurality of answer related knowledge elements; and,
storing the plurality of query related knowledge elements and the plurality of answer related knowledge elements within the cognitive graph as a collection of knowledge elements.
2 . The system of claim 1 , wherein:
the plurality of query related knowledge elements and the plurality of answer related knowledge elements are stored within the cognitive graph using a consistent, non-arbitrary, universally recognizable schema.
3 . The system of claim 1 , wherein:
any ambiguity identified when processing the query is stored within the cognitive graph as a query related knowledge element.
4 . The system of claim 1 , wherein the instructions are further configured for:
analyzing the query to determine whether the query contains text; and,
performing a natural language processing operation on the text.
5 . The system of claim 1 , wherein the instructions are further configured for:
performing mapping operations on the query related knowledge elements, the mapping operations comprising mapping of structural elements of the query around a verb of the query, the mapping of the structural elements transforming the structural elements into words higher up an inheritance chain implemented in a universal cognitive graph.
6 . The system of claim 1 , wherein:
the query related knowledge elements are stored within the cognitive graph as nodes; and,
subsets of nodes are related via edges.
7 . A non-transitory, computer-readable storage medium embodying computer program code, the computer program code comprising computer executable instructions configured for:
receiving data a data source, the data comprising a query and information relating to an answer to the query;
processing the query, the processing the query identifying a plurality of query related knowledge elements;
processing the information relating to the answer to the query, the processing the information relating to the answer to the query identifying a plurality of answer related knowledge elements; and,
storing the plurality of query related knowledge elements and the plurality of answer related knowledge elements within the cognitive graph as a collection of knowledge elements.
8 . The non-transitory, computer-readable storage medium of claim 7 , wherein:
the plurality of query related knowledge elements and the plurality of answer related knowledge elements are stored within the cognitive graph using a consistent, non-arbitrary, universally recognizable schema.
9 . The non-transitory, computer-readable storage medium of claim 7 , wherein:
any ambiguity identified when processing the query is stored within the cognitive graph as a query related knowledge element.
10 . The non-transitory, computer-readable storage medium of claim 7 , wherein the instructions executable by the processor further comprise instructions for:
analyzing the query to determine whether the query contains text; and,
performing a natural language processing operation on the text.
11 . The non-transitory, computer-readable storage medium of claim 7 , wherein the instructions executable by the processor further comprise instructions for:
performing mapping operations on the query related knowledge elements, the mapping operations comprising mapping of structural elements of the query around a verb of the query, the mapping of the structural elements transforming the structural elements into words higher up an inheritance chain implemented in a universal cognitive graph.
12 . The non-transitory, computer-readable storage medium of claim 7 , wherein
the query related knowledge elements are stored within the cognitive graph as nodes; and,
subsets of nodes are related via edges.
13 . The non-transitory, computer-readable storage medium of claim 7 , wherein the computer executable instructions are deployable to a client system from a server system at a remote location.
14 . The non-transitory, computer-readable storage medium of claim 7 , wherein the computer executable instructions are provided by a service provider to a user on an on-demand basis.