System and method for optimizing pattern query searches on a graph database

US9292570B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9292570-B2
Application numberUS-201313856960-A
CountryUS
Kind codeB2
Filing dateApr 4, 2013
Priority dateNov 19, 2009
Publication dateMar 22, 2016
Grant dateMar 22, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

An embodiment of the system and method for optimizing pattern query searches on a graph database uses a pattern query optimizer to optimize execution of the search plan for any sequence of SQL expressions by separating or breaking a pattern query into multiple subpattern queries before converting the subpattern queries into SQL expressions. An embodiment of the pattern query optimizer algorithmically, without intervention by an analyst, decomposes any pattern query into a set of subpattern queries by first identifying branches and cycles within a pattern query and then decomposing each identified branch and cycle into equivalent straight line paths, i.e., straight line nodes joined by edges. Cardinality may be used to improve the performance of pattern searches.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for optimizing pattern query searches on a graph database, the method being implemented by a computer including at least one processor and comprising: providing a pattern search engine operative to generate a search plan on the graph database from a first pattern query, the pattern search engine being executed by the processor; identifying, by the at least one processor, in the first pattern query a first subpattern query and a second subpattern query that is structurally equivalent to the first subpattern query; wherein the first subpattern query and the second subpattern query each comprise a single path; wherein the structural equivalence meets criteria of: the paths have a same number of nodes; nodes in a same position on the paths are of a same type; nodes in a same position on the paths have same qualifications; only start and end nodes are shared; none of non-shared nodes between the paths are exported; any shared node is shared with both paths in a same position; having one shared node between both paths; and non-shared nodes in the paths are not used in pattern query language (PQL) value or constraint expressions; and reducing the number of search expressions in the search plan based on the structural equivalence between the first subpattern query and the second subpattern query. 2. The method of claim 1 , wherein the graph database is implemented in a relational database management system (RDBMS). 3. The method of claim 1 , wherein the pattern query comprises one or more branches. 4. The method of claim 1 , wherein the pattern query comprises one or more cycles. 5. The method of claim 1 , wherein the pattern query comprises one or more branches and one or more cycles. 6. The method of claim 1 , wherein the first subpattern query and the second subpattern query are each straight line nodes joined by edges. 7. The method of claim 1 , wherein the reduction of the number of search expressions in the search plan is converted into a single search query language (SQL) expression. 8. The method of claim 1 , wherein the first subpattern query and the second subpattern query each comprise a single path. 9. The method of claim 8 , wherein the structural equivalence meets a criteria of the paths having a same number of nodes. 10. The method of claim 8 , wherein the structural equivalence meets a criteria of nodes in a same position on the paths are of a same type. 11. The method of claim 8 , wherein the structural equivalence meets a criteria of nodes in a same position on the paths have same qualifications. 12. The method of claim 8 , wherein the structural equivalence meets a criteria of only start and end nodes are shared. 13. The method of claim 8 , wherein the structural equivalence meets a criteria of none of non-shared nodes between the paths are exported. 14. The method of claim 8 , wherein the structural equivalence meets a criteria of any shared node is shared with both paths in the same position. 15. The method of claim 8 , wherein the structural equivalence meets a criteria of having one shared node between both paths. 16. The method of claim 8 , wherein the structural equivalence meets a criteria of non-shared nodes in the paths are not used in pattern query language (PQL) value or constraint expressions.

Assignees

Inventors

Classifications

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9292570B2 cover?
An embodiment of the system and method for optimizing pattern query searches on a graph database uses a pattern query optimizer to optimize execution of the search plan for any sequence of SQL expressions by separating or breaking a pattern query into multiple subpattern queries before converting the subpattern queries into SQL expressions. An embodiment of the pattern query optimizer algorithm…
Who is the assignee on this patent?
Northrop Grumman Systems Corp
What technology area does this patent fall under?
Primary CPC classification G06F17/30442. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 22 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).