US 12,271,402 B2
Method, product, and system to provide a parser for property graph queries with precise error reporting and auto-completion based on information from property graph schemas
Florian Gratzer, Mountain View, CA (US); Oskar Van Rest, Los Gatos, CA (US); Vlad Ioan Haprian, Zurich (CH); Vasileios Trigonakis, Zurich (CH); Korbinian Schmid, Austin, TX (US); Steven Serra, Arlington, MA (US); Sungpack Hong, Palo Alto, CA (US); and Hassan Chafi, Las Vegas, NV (US)
Assigned to Oracle International Corporation, Redwood Shores (CA)
Filed by Oracle International Corporation, Redwood Shores, CA (US)
Filed on Jun. 21, 2022, as Appl. No. 17/808,083.
Prior Publication US 2023/0409610 A1, Dec. 21, 2023
Int. Cl. G06F 16/29 (2019.01); G06F 16/21 (2019.01); G06F 16/242 (2019.01)
CPC G06F 16/29 (2019.01) [G06F 16/211 (2019.01); G06F 16/2433 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method comprising:
receiving, at a user interface, a property graph query directed towards a property graph;
processing, prior to execution of the property graph query against the property graph, the property graph query against a previously stored property graph schema corresponding to the property graph by:
accessing the previously stored property graph schema, wherein the previously stored property graph schema was generated by a property graph schema generator that traversed the property graph to identify relationships in the property graph and represents the relationships in the previously stored property graph schema,
parsing the property graph query using one or more property graph validators to determine whether there is a mismatch between the property graph query and the previously stored property graph schema that was generated by the property graph schema generator that traversed the property graph; and
generating an output for display at the user interface, wherein
when an error in the property graph query is identified due to a mismatch between the property graph query and the previously stored property graph schema that was generated by the property graph schema generator that traversed the property graph, the output comprises an error message and an identification of a location in the property graph query corresponding to the error message, and
when an error in the property graph query is not identified due to a mismatch between the property graph query and the previously stored property graph schema that was generated by the property graph schema generator that traversed the property graph, the output comprises a result of processing the property graph query against the property graph.