Port of Antwerp-Bruges' APICA agent writes SQL for staff
Port of Antwerp-Bruges and Superlinear built APICA Chat, a Microsoft Teams agent that reads the port's data catalog and writes SQL against its data warehouse, so staff without SQL skills get answers.
Port of Antwerp-BrugesBelgiumAirports and portsIn production
- Scale
- 25 SQL tables of nautical chain data
- Scenario
- Natural-language querying of a data warehouse
- Business function
- Knowledge management
- Kind of solution
- Knowledge assistant
- Who built it
- Built with a partner (Superlinear and dScribe)
- Human oversight
- Assists people
- Organization
- Public sector
- AI types
- Generative AI, Agentic AI, Conversational AI
- Users
- 300+ unique monthly users
tl;drAn urgent COO data request took 20 minutes with APICA instead of a full workday.See the results
Port of Antwerp-Bruges uses APICA Chat, a set of large language model (LLM) agents in Microsoft Teams, to answer employees’ questions about its data1, 2. The agents turn a plain-language question into a query on the port’s SQL data warehouse1. The port built it with Superlinear, a Belgian AI consultancy3.
The agents read the port’s data catalog of 1,500 concepts to work out what a question means, then write and run the query1. Superlinear published its accounts of the project in November 2026. In them, an urgent request from the chief operating officer (COO) took 20 minutes with APICA, against a full workday before1, 3.
Before the deployment
The port’s data governance team started a few years ago to build a company-wide data catalog in the form of a conceptual graph1. Only tech-savvy employees could combine that catalog with the structured data1.
- Analyst queue: An employee who needed data asked a business analyst for a SQL query and a dashboard on top of it1.
- Manual lookup: The analyst searched the data catalog for the relevant concepts and for where they occur in the data1.
- Wait time: The process took hours at best, and days or weeks in most cases1.
- Ambiguous terms: A question such as how many sea ships arrived yesterday needs definitions of a sea ship and an arrival. It also needs the link between their two data sources1.
LLMs changed the port’s options, because they write SQL well and can share the catalog with the whole company1. In a December 2025 presentation for CIONET, the port set ChatAPICA beside its digital twin5. The presentation held that data in the hands of a few provides insights, and in the hands of many drives transformation5.
What was built
APICA Chat answers an employee’s question in Teams by combining the data catalog with the port’s SQL databases1, 2. It offers two tools. One explains a concept, its related concepts and where it occurs in the data. The other turns a question into a SQL query1. Agents and people divide the work:
- Orchestrator Agent: Routes each question to the right domain expert agent. For a data question, it decides whether a SQL query is needed or the catalog’s information answers it1, 2.
- Data Catalog Agent: Selects the relevant concepts from the catalog by using graph algorithms. It then traces where each concept occurs in the SQL database1.
- Query Constructor Agent: Builds the query step by step from the tables that the Data Catalog Agent found relevant. It repairs a failed query, asks for clarification on a vague question, and explains the query1.
- Business analysts: Stop replicating simple queries and take the complex requests1.
- Data governance team: Keeps the catalog, which it built with dScribe, and reads the questions to find concepts and tables that confuse employees1, 3.
“By creating APICA, we are not just optimizing port operations, we are fundamentally changing how our teams interact with technology.”
The data agent is the nautical data expert, one of three domain experts behind the orchestrator. The other two are an ICT Service Assistant and an HR Assistant2.
Rollout
Superlinear and the port rolled APICA out in three steps3:
- Development: The two teams designed the system together3.
- Integration: The teams built it into Microsoft Teams3.
- Testing and feedback: Key users tested it, the teams made changes, and the system opened to everyone3.
Technology and architecture
APICA Chat is the port’s assistant. Each of its domain experts is an LLM app built from one template and a Python library of reusable components2. An improvement to one app carries over to all of them2.
| Layer | What they used | Role | Source |
|---|---|---|---|
| Task agent | Query Constructor Agent | Builds, repairs and explains the SQL query for a data question | 1 |
| Task agent | Data Catalog Agent | Selects catalog concepts with graph algorithms and finds where they occur | 1 |
| Agent orchestration | Orchestrator Agent | Routes each question to a domain expert and decides whether a SQL query is needed | 1, 2 |
| Solution platform | APICA Chat | The port’s assistant that puts its domain expert agents behind one orchestrator | 2 |
| Chat interface | Microsoft Teams | Channel where employees ask APICA their questions | 2, 4 |
| Knowledge graph | dScribe data catalog | Holds the port’s business glossary of concepts, definitions and connections | 1, 3, 4 |
| Data platform and storage | SQL data warehouse | Holds the nautical chain data that the agent queries | 1, 2, 3 |
| Framework or library | Python library of reusable components | Shares components and a template across the LLM domain expert agents | 2 |
Data inputs
- Employee question: A question in natural language, typed in Microsoft Teams1, 2.
- Data catalog: 1,500 concepts with definitions, the relations between them and where each occurs in the data, held in the dScribe data catalog1, 3, 4.
- Nautical chain data: 25 SQL tables in the port’s data warehouse3.
Integrations
- Microsoft Teams: Employees talk to APICA there as they would with any colleague, because Teams is widely used across the port2.
- SQL data warehouse: The Query Constructor Agent executes the SQL statements it builds on the warehouse1, 2.
- dScribe data catalog: The Data Catalog Agent reads concepts and their occurrences from the catalog1, 3.
How one question flows through the system
- An employee asks APICA in Teams how many sea ships arrived at the port yesterday1, 2.
- The Orchestrator Agent sends the question to the nautical data expert2.
- The Data Catalog Agent uses the catalog’s structure to find what a sea ship and an arrival are1.
- The Data Catalog Agent traces where each concept occurs in the SQL database. This shows which tables hold sea ships and arrivals, and how they link1.
- The Orchestrator Agent decides that the question needs a SQL query1.
- The Query Constructor Agent builds the query from the relevant tables and runs it. If the query fails, the agent modifies it1, 2.
- The employee gets the answer and an explanation of the query1.
Results
By November 2026, employees put data questions to the agent in Teams instead of waiting for an analyst’s dashboard1, 3.
| Metric | Before | After | Scope and timeframe | Reported by |
|---|---|---|---|---|
| Time to answer an urgent COO data request | A full workday | 20 minutes | One urgent COO request | Port of Antwerp-Bruges, via Superlinear, measured1, 3 |
| Analyst time saved on complex questions | Not disclosed | several hours or even days of work | Complex port operations questions | Port of Antwerp-Bruges, via Superlinear and dScribe, estimate3, 4 |
| Time to an insight from the data | Hours at best, days or weeks in most cases | a matter of seconds | Data questions, against an analyst’s dashboard | Superlinear, estimate1 |
- Urgent COO request: The data chat feature of APICA answered one urgent request in 20 minutes. The same work used to take a full workday1, 3.
- Analyst time saved: Several hours or even days of work is the estimated saving for analysts on complex questions about port operations3. dScribe gives the same saving per query4.
- Time to an insight: A matter of seconds is the estimated time to an answer. An analyst-built dashboard took hours at best, and days or weeks in most cases1.
- Onboarding: A new hire can get to know the whole data catalog and databases in a matter of days by using APICA1.
APICA as a whole, with the HR and ICT assistants, had 300+ unique monthly users and 250+ daily sessions3.
Lessons learned
The data catalog made the SQL agent possible. The governance team had already defined the port’s concepts and where they occur in the data. That gives the agent the meaning of terms such as sea ship and arrival1, 3.
The agent also improves the catalog. Employees’ questions showed the governance team which concepts were still confusing and which SQL tables were hard to understand. This led to a debate on adding a SQL table and to redefined concepts1.
One orchestrator in Teams answers the problem of scattered agents. Separate platforms would make users hunt for the right tool and add maintenance, while the orchestrator grows by adding a domain expert agent2.
The headline figures are narrow. The 20 minutes covers one urgent request, and the hours-or-days and seconds figures are estimates1, 3. The user and session counts cover APICA as a whole, not the data agent alone3.
The catalog’s size differs slightly between accounts: 1500 concepts and 1500+ business definitions in Superlinear’s, and nearly 1,500 business definitions in dScribe’s1, 3, 4.
The figures come from Superlinear, the port’s implementation partner, and from the port staff it quotes, and dScribe’s account repeats the analyst-time estimate1, 3, 4.
Case study scorecard
- 20 minutes Time to answer an urgent COO data request1, 3
- several hours or even days of work Analyst time saved on complex questions3, 4
- a matter of seconds Time to an insight from the data1
Sources by publication date
- Organization 1
- Vendors and partners 4
Build this solution yourself
Analysis
What you need
- A data catalog that maps business terms to tables: The agent learns what a sea ship is and where it sits in the data from the catalog1. The governance team spent years on that catalog, so check that your definitions and table links exist first1.
- A curated SQL warehouse for one domain: The port’s data agent queries 25 SQL tables of nautical chain data3.
- A chat channel your staff already use: The port put APICA in Microsoft Teams because staff already used it across the port2.
Reference architecture
Knowledge assistant
A knowledge assistant answers a question that staff ask in their own words, by using the organization's own documents, and shows the sources of the answer. The search index returns the passages that best match a question, and a language model writes the answer from them. Content curators prepare the content beforehand, and the person who asked checks the answer and decides what to do with it.
- Chat interface (documented in this case study)
- Assistant platform (documented in this case study)
- Search index
- Knowledge content
- Content ingestion
- Embedding and ranking models
- Language model
- Answer ratings
- Business system
- Test set of sample questions
A check mark shows a building block that this case study's sources document.
Open the reference architectureOthers who built it
- European Commission: European Commission's DG INTPA gives staff an AI assistant. More than 2,000 DG INTPA staff have sent the AI assistant over 400,000 queries since March 2026.
- NSI Luxembourg: AskNSI answers 83% of employee queries at NSI Luxembourg. AskNSI automatically answers 83% of employee queries at NSI Luxembourg.
- West Midlands Police: West Midlands Police halts Copilot after AI hallucination. West Midlands Police switched Copilot off after it put a non-existent match in a police report.
- Vanderlande: Vanderlande's AI assistant handles IT self-service requests. Vanderlande's VIGO assistant now takes self-service IT requests that used to reach the help desk.
- Target Corporation: How Target rolled out an AI chatbot to nearly 2,000 stores. Target store staff used Store Companion more than 50,000 times after its chainwide rollout.
- CM.com: How CM.com staff search company policies with AI agent Norma. CM.com saw policy awareness rise as staff sent policy search prompts to its Norma agent.
Cite this case study
Enterprise AI Case Studies. "Port of Antwerp-Bruges' APICA agent writes SQL for staff." Updated Nov 26, 2026. https://case-studies.ai/case-studies/operational-technology/OT-054-text-to-sql-agent-antwerp-bruges/
@misc{csai-ot-054,
author = {{Enterprise AI Case Studies}},
title = {{Port of Antwerp-Bruges' APICA agent writes SQL for staff}},
year = {2026},
note = {Updated 2026-11-26},
url = {https://case-studies.ai/case-studies/operational-technology/OT-054-text-to-sql-agent-antwerp-bruges/}
}Sources
The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership
- Source 1:
Talk to your SQL data warehouse: Into APICA Chat's agent at Port of Antwerp Bruges
Supporting excerpts (29)
A few years ago, the data governance team at the Port of Antwerp-Bruges started on a quest to develop a comprehensive company-wide data catalog in the form of a conceptual graph.
only tech-savvy employees could effectively combine the data catalog with structured data
This agent can construct SQL queries to retrieve data from the databases, and can explore the data catalog to provide employees with an easy access point to the business glossary.
By leveraging a natural language interface, we empower every employee to effortlessly extract insights from our extensive data and comprehensive data catalog, without the need for technical skills.
Pieter Van Bouwel, Team Lead Data Science, Port of Antwerp-Bruges
In general, they would have to ask a business analyst to write a SQL query and create a dashboard on top of it.
the analyst will make use of the data catalog created by the data governance team to find the relevant concepts, and identify where they occur in the data
the Port of Antwerp-Bruges realized that the data catalog they developed could now be shared across the whole company in a user-friendly way
since these models are very capable SQL developers, it would be possible to create an agent that enables interacting with the database in natural language
This allows everyone in the company to quickly find the definition of a certain concept, to find out which other concepts are related to it, and where in the data this concept occurs.
The Port's data catalog contains 1500 concepts, and our solution helps employees navigate that glossary.
A SQL query creator that translates a natural language question into a SQL query
A process that takes hours at best, and days or weeks in most cases. With our solution, key insights can be obtained in a matter of seconds.
For the business analysts, this tool accelerates query construction, and takes away the burden of having to replicate simple queries. Instead, they can focus on complex requests with more impact.
When a question is received, the Data Catalog Agent selects the relevant concepts from the data catalog. This agent leverages graph algorithms to improve retrieval.
Subsequently, the occurrences of each concept in the SQL database are traced, so that a holistic view of the concept is obtained.
The Orchestrator Agent then decides whether the question requires a SQL query to be constructed, or whether the question can be answered based on the information collected by the Data Catalog Agent.
In case the question does require a query to be constructed, all information about the SQL tables considered relevant by the Data Catalog Agent is collected.
The Query Constructor Agent then uses this information to iteratively construct the right query.
This agent will perform self-healing modifications in case the query was not successful at first, will ask for clarification if the question is unclear, and will provide an explanation of the generated query.
How many sea ships arrived at the port yesterday?
What is a sea ship? What does arrival mean? These terms can be found in the data catalog, but technical knowledge is required to query it.
Where can I find the data related to sea ships and arrivals, and how should I link these two data sources?
These difficulties are solved by our agent, which leverages the structure of the data catalog to answer both questions.
By interacting with APICA, they can see which concepts are still confusing, and can see what SQL tables are unclear.
We have seen first-hand how this led to a discussion of whether a new SQL table should be added, and how it led to a redefinition of various concepts.
APICA allows a new hire to get acquainted with the whole data catalog and databases in a matter of days.
For an urgent COO request, APICA's Chat with your Data feature delivered in 20 minutes what used to take a full workday.
Evelien Baelden, Team Lead Port Intelligence, Port of Antwerp-Bruges
- Source 2:
Integrating APICA Chat at Port of Antwerp-Bruges
Supporting excerpts (15)
the APICA Chatbot (the Advanced Port Intelligence & Coordination Assistant)
By creating APICA, we are not just optimizing port operations, we are fundamentally changing how our teams interact with technology.
said Pieter Van Bouwel, Team Lead Data Science of Port of Antwerp-Bruges
If each of these agents operates on a separate platform, it creates a fragmented system that complicates user experience. Users struggle to locate the appropriate tool for their needs, while administrators face increased complexities and burdens in maintaining various systems.
APICA Chat was integrated within Microsoft Teams, leveraging the platform's widespread use across the port for a seamless adoption process. This integration allows employees to interact with APICA just like they would with any other colleague.
The orchestrator serves as the central point of access, responsible for interpreting user questions and routing them to the appropriate LLM domain expert agent.
Currently, we have implemented the following three domain experts:
Nautical data expert: Functions as a business analyst, querying data catalogs and the data warehouse to answer nautical questions, such as how many seaships arrived yesterday afternoon through this particular lock.
ICT Service Assistant: Supports people with questions related to ICT concerns.
HR Assistant: Assists people with questions related to HR concerns.
from executing SQL statements on a data warehouse
This library contains a collection of reusable components that facilitate the sharing of intelligence across different LLM agents.
Increasing the brain is thus simply a matter of adding a new LLM domain expert agent to the orchestrator.
we have created a template to quickly build new LLM apps, ensuring best practices within each LLM domain expert
Improvements to one application become compatible across all, allowing developers and administrators to easily contribute to different apps.
- Source 3:
Port of Antwerp-Bruges & Superlinear leading the smart port revolution
Supporting excerpts (13)
Working with Superlinear, a Belgian AI Strategy consulting company
A relational database and comprehensive data model, developed by the port's data governance team in collaboration with dScribe, ensure accurate retrieval of key information by cataloging terms, definitions, and connections.
Development: The teams at Superlinear and the Port of Antwerp-Bruges worked together to design a system that's easy to use.
Integration: It was built right into tools like Microsoft Teams, so it's simple to access.
Testing and Feedback: They tested it with key users, made tweaks, and got it ready for everyone to use to ensure adoption.
This integration simplifies the process of asking complex questions regarding port operations, saving analysts several hours or even days of work
said Inge Lemmens, Team Lead Data Governance
Engagement: 300+ unique monthly users and 250+ daily sessions.
25 SQL tables integrated for nautical chain data.
A data catalog with 1500+ business definitions, streamlining knowledge management.
APICA transforms hours of analysis into minutes, allowing me to focus on high-level innovation initiatives.
Erwin Verstraelen, VP Innovation
For an urgent COO request, APICA delivered in 20 minutes what used to take a full workday.
- Source 4:
Case Study: Port of Antwerp-Bruges enables chat with data using dScribe
Supporting excerpts (4)
implemented its data catalog service to build a powerful semantic layer for their data
the team at the port documented and linked nearly 1,500 business definitions
This created the foundation for an AI copilot named APICA, deployed in Microsoft Teams
reportedly saving them several hours or even days of work per query by eliminating the need for manual data preparation
- Source 5:
Supporting excerpts (3)
ChatAPICA Digital Twin
Data in the hands of a few provides insights
Data in the hands of many drives
Comments
Start the conversation.
Invited members of the library comment here. Sign in to join the conversation.