-
公开(公告)号:US12271402B2
公开(公告)日:2025-04-08
申请号:US17808083
申请日:2022-06-21
Applicant: Oracle International Corporation
Inventor: Florian Gratzer , Oskar Van Rest , Vlad Ioan Haprian , Vasileios Trigonakis , Korbinian Schmid , Steven Serra , Sungpack Hong , Hassan Chafi
IPC: G06F16/29 , G06F16/21 , G06F16/242
Abstract: A method, apparatus, and product to provide a parser for property graph queries with precise error reporting and auto-completion based on information from property graph schemas. The approach generally comprises analysis of graph queries prior to their execution to identify issues prior to execution. In some embodiments, the approach includes any of: use of a property graph schema to determine whether names in a received property graph query exist within a corresponding property graph; determining whether the property graph query includes a comparison of mismatched data types; providing an autocomplete suggestion feature for assistance in resolving errors or corresponding to a cursor position within a query string; or evaluation of a property graph query to determine whether it would return an empty result. In some embodiments, property graph query analysis is performed using a context aware approach.