Oracle Select AI can query property graphs—but not from the same profile as tables
The new SQL/PGQ path is useful for relationship-heavy questions, but Oracle’s object-list rule creates a hard architecture boundary for mixed relational-and-graph assistants.
Oracle’s November 2026 Select AI guide adds a useful new target for natural-language database questions: SQL Property Graphs. The important deployment detail is not just that Select AI can generate graph queries. It is that Oracle requires graph context to live apart from relational context inside an AI profile.
How the graph path works
When an AI profile’s object_list contains a property graph, Select AI sends the model instructions for constructing Property Graph Query (PGQ) plus metadata derived from the graph’s CREATE PROPERTY GRAPH statement. It then generates a query through Oracle’s GRAPH_TABLE operator, runs it and returns the result. Oracle says that syntax belongs to the SQL/PGQ section of the SQL:2023 standard.
The same interface still routes ordinary tables, views and other relational objects to SQL. For graph prompts, supported actions include runsql, showsql, explainsql and narrate; the feature can also retain short-term session context or customizable long-term conversation context.
The profile boundary matters
Oracle explicitly says that a profile cannot mix a property graph with tables, schemas or views. If it does, Select AI raises an error. This means a production assistant that needs both conventional business metrics and graph traversal cannot simply place every object in one Select AI profile and let the model choose.
The safer design is to keep a graph-only profile and a relational profile, then route the user’s request before invoking Select AI. That router becomes part of the application’s correctness boundary: relationship questions can go to the graph profile, while aggregate and row-oriented questions can go to the relational profile. Cross-domain questions need an application-level composition step rather than an assumed mixed query.
Know what is not supported
The feature supports SQL Property Graphs, not Oracle’s older PGQL Property Graphs. Oracle also lists synthetic-data generation and mixed graph-and-relational profiles as unsupported. Its documentation flags some queries as unsupported or intermittent, so teams should evaluate their own graph-question set rather than treating natural-language support as universal coverage.
This release broadens Select AI beyond familiar NL2SQL over tables, but it does not erase data-model boundaries. For practitioners, the operational takeaway is straightforward: graph metadata can now ground natural-language PGQ generation, while routing and result composition remain application responsibilities.
sources
comments · 0