Skip to content

Commit 702bd04

Browse files
Merge branch 'main' into NicolaCimitile-patch-1
2 parents f6d05e4 + 1164667 commit 702bd04

62 files changed

Lines changed: 2171 additions & 40 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,53 @@
11

2+
# AskOracle: Spatial, Graph, and AI Agents
3+
4+
This version extends AskOracle 5.0.1 with interactive Spatial and Graph toolkits, the Graph Visualization plug-in, map styling, and Select AI Agent team support. It is a general-purpose APEX application: the questions it can answer depend on the data, profiles, and agents configured in your database.
5+
6+
**Reviewed:** 2026-11-16
7+
8+
## When to use this asset?
9+
10+
Use this application when you want to ask questions in natural language and inspect the results in chat, on a map, or as a graph.
11+
12+
- **Spatial visualization:** Display returned points, lines, and polygons. Style map features using attributes in the query results.
13+
- **Graph visualization:** Explore graph results through the Graph Visualization plug-in and Export PDF file on plugin.
14+
- **Agent teams:** Select a database-defined Agent team to route questions to specialized tools and agents.
15+
- **Toolkits:** Use the Spatial and Graph toolkits to check and enable their application components.
16+
17+
18+
## How to use this asset?
19+
20+
For more details, check out the [AskOracle Medium blog post](https://medium.com/@maryam.oracle2025/askoracle-part-two-from-graph-and-spatial-visualization-to-interactive-toolkits-and-ai-agents-c702f1cabb44?postPublishedType=initial).
21+
22+
1. Import `f121/f121.sql` into Oracle APEX and select the intended parsing schema.
23+
2. Review and install the application's supporting objects. Confirm that its application processes, static files, and Graph Visualization plug-in are present.
24+
3. Check **Graph Toolkit → Component checks**. Open **Spatial Toolkit → Install** if the spatial components are not yet installed, then install it.
25+
4. Configure the Select AI profiles and/or Agent teams you intend to use. These database objects and their source data must be prepared separately; importing the APEX application does not create your datasets or OML models.
26+
5. Run the application. Ask a spatial question, check that the returned features appear on the map, and try the map styling controls. Then test a graph question and an Agent team question.
27+
28+
`f121_static_application_files.zip` is a separate backup of the application's JavaScript, CSS, and other static files. Use it if any static files are missing after import.
29+
30+
For maps, return geometry as **GeoJSON in WGS 84 (EPSG:4326)**. Source geometry may remain in its original coordinate system in the database; transform it when producing the map result.
31+
32+
Sample datasets and agent, follow the [Den Haag dataset and notebook workflow](https://github.com/oracle-devrel/technology-engineering/tree/main/oci-and-db/database/converged-database/oracle-spatial/SpatialAI/Buurt_tree).
33+
34+
## Sample questions
35+
36+
These examples require suitable datasets and configured profiles or agents:
37+
38+
- “Show me 11 trees close to tree ID 5811455, including 5811455.”
39+
- “Which five Den Haag neighbourhoods have the highest tree density despite having less than 30% green area?”
40+
- “Group Quercus robur trees into three clusters by age and trunk-diameter class.”
41+
- “Which tree records have unusual age and trunk-diameter combinations?”
42+
43+
For graph visualization, load the [Bank Graph sample data](https://github.com/oracle-devrel/technology-engineering/blob/main/oci-and-db/database/converged-database/oracle-graph/askoracle/sampledata.zip) and configure its graph profile. Then try:
44+
45+
- “Which accounts receive the most transfers?”
46+
- “Show transfers from account 406 as a graph.”
47+
- “Show transfers from account 934 as a graph.”
48+
49+
## License
50+
51+
Copyright (c) 2026 Oracle and/or its affiliates.
52+
53+
Licensed under the Universal Permissive License (UPL), Version 1.0. See [LICENSE.txt](LICENSE.txt). Third-party components retain their respective licenses.
Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Oracle Spatial and AI Agents Getting Started - Den Haag Trees and Neighbourhoods
2-
Use this asset as a reference for exploring Den Haag tree and green-neighbourhood data with Oracle Spatial, Select AI Agents, and Oracle Machine Learning (OML) in Oracle AI Database. The notebooks define SQL functions, procedures, tools, tasks, agents, and teams for natural-language analysis. Reviewed: 2026.11.04
2+
Use this asset as a reference for exploring Den Haag tree and green-neighbourhood data with Oracle Spatial, Select AI Agents, and Oracle Machine Learning (OML) in Oracle AI Database. The notebooks define SQL functions, procedures, tools, tasks, agents, and teams for natural-language analysis. For more details, check out the [AskOracle Medium blog post](https://medium.com/@maryam.oracle2025/askoracle-part-two-from-graph-and-spatial-visualization-to-interactive-toolkits-and-ai-agents-c702f1cabb44?postPublishedType=initial).
3+
4+
Reviewed: 2026.11.16
35

46
## When to use this asset?
57

@@ -11,12 +13,13 @@ For more information check PDF file
1113

1214
## How to use this asset?
1315

14-
This asset is general-purpose demo material. Adapt the schema names, credentials, model access, and data to your environment. First import the `bomen-shape_denhaag` (trees) and `GEZONDZH_GROEN_BUURT` (neighbourhoods) ZIP files into Oracle Spatial as `BOMEN` and `GEZONDZH_GROEN_BUURT`. Configure the base Select AI profile in `0_2_bomen_NL2SQL.sqlnb`; the translation procedure uses it. Use `0_0_bomen_loadandcheck.sqlnb` to inspect the loaded data, and review its spatial metadata and index changes before running those cells. Replace `<your user/schema>` with your schema name wherever it occurs. Then run the implementation cells **in order and one at a time**:
16+
This is a demo workflow. Adapt the schema names, credentials, AI model access, and data to your environment. Run notebook cells one at a time and in the order below, checking the result of each cell before continuing.:
1517

16-
1. **Translate the columns and prepare nonspatial views.** Run `0_1_bomen_OML_Trans.sqlnb` to create the English-named tables `BOMEN_TREES` and `GEZOND_GREEN_NEIGHBOURHOOD`. Compile `prepare_tree_density_storage` in `1-bomen_OML_final_density.sqlnb`. The first density tool call executes this procedure and creates `BOMEN_TREES_V` and `GEZOND_GREEN_NEIGHBOURHOOD_V` automatically. These `_V` views exclude `SDO_GEOMETRY` because OML cannot use that column as a model input; the source tables keep their geometry for spatial queries and maps.
17-
2. Run the remaining cells in `1-bomen_OML_final_density.sqlnb` to define the density function, tool, task, agent, and initial team. On its first call, the function creates the missing storage and views, then saves measured neighbourhood results in `TREE_DENSITY_RESULTS`, including polygon geometry. It also creates the nonspatial `TREE_DENSITY_RESULTS_V` view.
18-
3. Add `2-bomen_OML_discovery_1.sqlnb`, `3-bomen_OML_one_class_SVM.sqlnb`, and `2-bomen_OML_final_Kmeans_2.sqlnb` for data discovery, unusual-tree flags, and tree groups. The OML setup routines create `TREE_ANOMALY_INPUT_V` and `TREE_KMEANS_INPUT_V` without geometry. Their result tables retain geometry for maps; the model-input views contain the attributes needed for scoring.
19-
4. Run `4-bomen_OML_greeting_NL2SQL.sqlnb` to add greeting and NL2SQL workers to the supervised team. Run `5-Boment_OML_History.sqlnb` if you also want the separate history team and vector search over saved questions and answers.
20-
5. Use the separate `*_tests*.sqlnb` and `*_checkSQL.sqlnb` notebooks to inspect source data and verify tools, saved results, and routing.
18+
1. Load and inspect the source data. Import bomen_shape.zip and GEZONDZH_GROEN_BUURT.zip through Spatial Studio as BOMEN and GEZONDZH_GROEN_BUURT. Use 0_0_bomen_loadandcheck.sqlnb to inspect the tables and check their spatial metadata and indexes.
2119

22-
The Ask Oracle APEX application and its static JavaScript assets are **not in this folder**. Deploy them separately to display returned GeoJSON on a map. The notebooks do not contain the source data, the application export, or database credentials.
20+
2. Configure Select AI. Set up the base profile in 0_2_bomen_NL2SQL.sqlnb. Replace <your user/schema> with your schema name wherever it appears.
21+
3. Translate the columns. Run 0_1_bomen_OML_Trans.sqlnb to create the English-named tables BOMEN_TREES and GEZOND_GREEN_NEIGHBOURHOOD.
22+
4. Set up tree density. Run the implementation cells in 1-bomen_OML_final_density.sqlnb to create the storage procedure, density function, tool, task, agent, and initial team. On the first density tool call, the storage procedure creates the required result table and nonspatial views. The source and result tables retain geometry for spatial queries and maps; the _V views provide attributes for OML.
23+
5.Add the other analysis workers. Run 2-bomen_OML_discovery_1.sqlnb, 3-bomen_OML_one_class_SVM.sqlnb, and 2-bomen_OML_final_Kmeans_2.sqlnb to add data discovery, unusual-tree review, and tree grouping.
24+
6. Add greeting and SQL questions. Run 4-bomen_OML_greeting_NL2SQL.sqlnb to add these workers to the supervised team. Optionally, run 5-Boment_OML_History.sqlnb to create the separate history team and vector search over saved questions and answers.
25+
Use the separate *tests*.sqlnb and *checkSQL.sqlnb notebooks to verify the data, tools, saved results, and agent routing. The AskOracle APEX application and its static JavaScript files are provided separately in the app folder.
Binary file not shown.

‎oci-and-db/database/data-development/sql-development-tools-features/sql/sql-tools/README.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ An additional managed offering in Oracle Cloud Infrastructure (OCI) called <b>Or
88
You establish the connection and then access your database resources via web-based SQL Worksheet or use the SQLcl connection via OCI Cloud Shell.
99
Security is preserved as passwords and ADB credentials are securely stored and encrypted in OCI Vault resource.
1010

11-
Reviewed: 05.11.2026
11+
In the <b>files</b> subfolder you can find short useful videos on how to interact with SQL Development tools, like FreeSQL and Visual Studio Code integration and others.
12+
13+
Reviewed: 13.11.2026
1214

1315
# Table of Contents
1416

@@ -28,13 +30,14 @@ Reviewed: 05.11.2026
2830

2931
- SQL and ADB - [Oracle ADB ADMIN is not a SYSDBA..not even a DBA](https://medium.com/@paulbrad71/oracle-adb-admin-is-not-a-sysdba-not-even-a-dba-50bc6f2bbb33) - Published on [Medium](http://www.medium.com) on 14th April 2025.
3032

33+
3134
# Useful Links
3235

3336
## Public Oracle SQL Tools
3437

3538
Explore a variety of Oracle SQL tools to streamline your database management tasks:
3639

37-
- **Learn and share SQL**: the new [Livesql Portal](https://livesql.oracle.com/landing/) including Scripts, Tutorials, Tips and a Live SQL Developer Web environment to quickly get hands on practice. You can start coding straight away or access the useful Scripts and Tutorial Library section from the landing page.
40+
- **Learn and share SQL**: the new [Oracle FreeSQL.com](http://freesql.com) Public Web-based SQL Development IDE portal for public access and SQL Tutorials. From 19c to 26ai database connections, SQL Worksheet SQL and PL/SQL execution capabilities and schema objects browsing, together with integrated Database Connections via SQL Developer for VS Code, sqlcl and NodeJS. You can quickly get hands on practice. You can start coding straight away or access the useful Scripts and Tutorial Library section from the landing page.
3841

3942
- **SQL Developer**: Oracle SQL Developer provides a powerful integrated development environment (IDE) for Oracle Database. Discover its features and functionalities to optimize your SQL workflow.
4043

@@ -74,9 +77,6 @@ Explore a variety of Oracle SQL tools to streamline your database management tas
7477

7578
- [Database For Developers: Next Level](https://devgym.oracle.com/pls/apex/dg/class/databases-for-developers-next-level.html)
7679
- Complete the course to get your free certificate. This course continues where Databases for Developers: Foundations left off, taking you further on your SQL journey. The class consists of a series of videos introducing concepts, interactive coding sections, and quizzes to test your understanding.
77-
78-
- [Oracle FreeSQL.com](http://freesql.com)
79-
- Public Web-based SQL Development IDE portal for public access and SQL Tutorials. From 19c to 26ai database connections, SQL Worksheet SQL and PL/SQL execution capabilities and schema objects browsing, together with integrated Database Connections via SQL Developer for VS Code, sqlcl and NodeJS.
8080

8181

8282
## SQL Best Practices

‎oci-and-db/database/data-integration/oracle-goldengate/README.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@
22

33
Oracle GoldenGate is a comprehensive software package for enabling the replication of data in heterogeneous data environments. The product set enables high-availability solutions, real-time data integration, transactional change data capture, data replication, transformations, and verification between operational and analytical enterprise systems.
44

5-
Reviewed: 04.06.2026
5+
Reviewed: 17.11.2026
66

77
# Table of Contents
88

99
1. [Team Publications](#team-publications)
1010
2. [Useful Links](#useful-links)
1111

1212
# Team Publications
13-
13+
- [GoldenGate 26ai AUTOSCHEMA: Automating Heterogeneous Database Instantiation and Replication from MySQL to Oracle](https://blogs.oracle.com/dataintegration/goldengate-26ai-autoschema-automating-heterogeneous-database-instantiation-and-replication-from-mysql-to-oracle)
14+
- A practical MySQL-to-Oracle example of GoldenGate 26ai AUTOSCHEMA, covering automatic table creation, controlled recreation, custom datatype mappings, and the transition from initial load to CDC..
15+
1416
- [Integrating Oracle GoldenGate for DAA 26ai with RabbitMQ Using JMS](https://blogs.oracle.com/dataintegration/integrating-oracle-goldengate-for-daa-26ai-with-rabbitmq-using-jms)
1517
- A practical, lab-tested guide to publishing Oracle Database changes to RabbitMQ with Oracle GoldenGate for Distributed Applications and Analytics (Oracle GoldenGate for DAA) 26ai and the standard JMS Handler.
1618

‎oci-and-db/database/multicloud/oracle-database@aws/README.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ Reviewed: 18.08.2026
8888

8989
## LiveLabs
9090
- [Oracle Database@AWS- Autonomous Database on dedicated infrastructure](https://livelabs.oracle.com/pls/apex/r/dbpm/livelabs/view-workshop?wid=4203)
91+
- [Create an Oracle Exadata Database on Dedicated Infrastructure with Oracle AI Database@AWS](https://livelabs.oracle.com/ords/r/dbpm/livelabs/view-workshop?wid=4399)
92+
- [Create an Oracle Autonomous AI Database on Dedicated Exadata Infrastructure on Oracle AI Database@AWS](https://livelabs.oracle.com/ords/r/dbpm/livelabs/view-workshop?wid=4405)
93+
- [Observability for Oracle Database@AWS Using Amazon CloudWatch and EventBridge](https://livelabs.oracle.com/ords/r/dbpm/livelabs/view-workshop?wid=4524)
94+
- [Bring Your Laptop, Leave with a Migration: Move a Live Workload to Multicloud](https://livelabs.oracle.com/ords/r/dbpm/livelabs/view-workshop?wid=4553)
9195

9296

9397
## Videos

‎oci-and-db/foundation/operations-advisory/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Reviewed: 2026-09-14
4242
- [Git Security.](./multi-cloud-operating-models/operational-security/git-security/README.md)
4343
- [CI/CD Security.](./multi-cloud-operating-models/operational-security/cicd-security/README.md)
4444
- [CIS Compliance Dashboard.](./multi-cloud-operating-models/operational-security/CISDashboard/README.md)
45-
- [OCI Terraform GitHub Actions Worload Identity Federation Example.](./multi-cloud-operating-models/operational-security/programatic-access-cicd/README.md)
45+
- [OCI Workload Identity Federation for GitHub Actions.](./multi-cloud-operating-models/operational-security/github-actions-oci-wif/README.md)
4646
- [Programmatic Access to OCI for CI/CD Pipelines.](./multi-cloud-operating-models/operational-security/programatic-access-cicd/README.md)
4747
- [Cloud Guard Activity Reporter.](./multi-cloud-operating-models/operational-security/cloud-guard-activity-reporter/README.md)
4848
- [Automate Security List Updates.](./multi-cloud-operating-models/operational-security/automate-security-list-updates/README.md)
@@ -64,7 +64,7 @@ Reviewed: 2026-09-14
6464
- [ExaDB-XS - Management Interfaces Deep Dive Workshop](./customer-operations/oracle-database/exadb-xs/exadb-xs-management-interfaces-ws/README.md)
6565
- [ExaDB-XS - Provisioning Operations Deep Dive Workshop](./customer-operations/oracle-database/exadb-xs/exadb-xs-provisioning-ops-ws/README.md)
6666
- [ExaDB-XS - Change Operations Deep Dive Workshop](./customer-operations/oracle-database/exadb-xs/exadb-xs-change-ops-ws/README.md)
67-
- [ExaDB-XS - Maintenance Operations Deep Dive Workshop](./customer-operations/oracle-database/exadb-xs/exadb-xs-maintenace-ops-ws/README.md)
67+
- [ExaDB-XS - Maintenance Operations Deep Dive Workshop](./customer-operations/oracle-database/exadb-xs/exadb-xs-maintenance-ops-ws/README.md)
6868
- [ExaDB-XS - Backup and Recovery Operations Deep Dive Workshop](./customer-operations/oracle-database/exadb-xs/exadb-xs-backuprecovery-ops-ws/README.md)
6969
- [ExaDB-D/ExaDB-C@C Dynamic Scaling.](./customer-operations/oracle-database/scaling/README.md)
7070
- [Oracle Database@AWS Automation Workshop](./customer-operations/oracle-database/od-at-aws-cloud-operations/od-at-aws-automation-ws/README.md)

‎oci-and-db/foundation/operations-advisory/customer-operations/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This section includes assets that explain how different Day 1 & Day 2 operations
1919
- [ExaDB-XS - Management Interfaces Deep Dive Workshop](./oracle-database/exadb-xs/exadb-xs-management-interfaces-ws/README.md)
2020
- [ExaDB-XS - Provisioning Operations Deep Dive Workshop](./oracle-database/exadb-xs/exadb-xs-provisioning-ops-ws/README.md)
2121
- [ExaDB-XS - Change Operations Deep Dive Workshop](./oracle-database/exadb-xs/exadb-xs-change-ops-ws/README.md)
22-
- [ExaDB-XS - Maintenance Operations Deep Dive Workshop](./oracle-database/exadb-xs/exadb-xs-maintenace-ops-ws/README.md)
22+
- [ExaDB-XS - Maintenance Operations Deep Dive Workshop](./oracle-database/exadb-xs/exadb-xs-maintenance-ops-ws/README.md)
2323
- [ExaDB-XS - Backup and Recovery Operations Deep Dive Workshop](./oracle-database/exadb-xs/exadb-xs-backuprecovery-ops-ws/README.md)
2424
- [ExaDB-D/ExaDB-C@C Dynamic Scaling](./oracle-database/scaling/README.md)
2525
- [Oracle Database@AWS Automation Workshop](./oracle-database/od-at-aws-cloud-operations/od-at-aws-automation-ws/README.md)

0 commit comments

Comments
 (0)