9. A system, comprising: a memory configured to store a data graph of a database management system, wherein the data graph comprises a first plurality of vertices; and one or more processors coupled to the memory and operable to: receive a query graph, wherein the query graph comprises a second plurality of vertices, and wherein the query graph causes the one or more processors of the database management system to retrieve data from the data graph as specified in the query graph; execute the query graph against the data graph stored in the memory, wherein the execution generates an empty data set indicating data specified in the query graph does not exist in the data graph when the data specified in the query graph exists in the data graph; and based on the empty data set, generating a discovered component and a missing component of the query graph, wherein the discovered component includes a first vertex from the first and second plurality of vertices, and the missing component includes a second vertex from the second plurality of vertices that causes the one or more processors to generate the empty data set when executing the query graph.
9. A system, comprising: a memory configured to store a data graph of a database management system, wherein the data graph comprises a first plurality of vertices; and one or more processors coupled to the memory and operable to: receive a query graph, wherein the query graph comprises a second plurality of vertices, and wherein the query graph causes the one or more processors of the database management system to retrieve data from the data graph as specified in the query graph; execute the query graph against the data graph stored in the memory, wherein the execution generates an empty data set indicating data specified in the query graph does not exist in the data graph when the data specified in the query graph exists in the data graph; and based on the empty data set, generating a discovered component and a missing component of the query graph, wherein the discovered component includes a first vertex from the first and second plurality of vertices, and the missing component includes a second vertex from the second plurality of vertices that causes the one or more processors to generate the empty data set when executing the query graph. 11. The system of claim 9 , wherein to generate the discovered component the one or more processors are further configured to: generate a maximum common sub-graph between the query graph and the data graph, wherein the maximum common sub-graph includes a maximum number of vertices that are common to the first and second plurality of vertices and wherein the maximum common sub-graph is the discovered component of the query graph.