Skip to main content

Introduction

The Naas Ontology is the vocabulary of ABI, the Agentic Brain Infrastructure: the classes and relations ABI's agents use to store and query knowledge. It reuses two standard ontologies, Basic Formal Ontology (BFO) and the Common Core Ontologies (CCO), and extends them with ABI's own classes and with the ontologies of the ABI marketplace modules.

This site documents every class and property of those ontologies, one page per term, generated from the .ttl files of the ABI repository. Each page gives the term's IRI, definition, place in the hierarchy and properties, and lists the ABI files that use it.

Four levels​

The ontology is organized in four levels, from the most general to the most specific:

  1. The most general categories: process, quality, role, information.

    • bfo-core.ttl
    • owl.ttl
  2. Concepts shared across domains: person, organization, planned act.

    • AgentOntology.ttl
    • EventOntology.ttl
    • QualityOntology.ttl
    • ArtifactOntology.ttl
  3. ABI's own classes: agents, workspaces, people, organizations.

    • AIAgentOntology.ttl
    • OrganizationOntology.ttl
    • CapabilityOntology.ttl
    • PersonOntology.ttl
  4. The marketplace modules: one source or integration each.

    • FoundryOntology.ttl
    • DataSourceOntology.ttl
The four ontology levels, from BFO to the applications. Each level extends the one above it.

Core principles​

1. Everything is grounded in BFO​

Every class is, directly or through its parents, a subclass of a BFO class. That is what lets ABI combine data from different modules: a LinkedIn position, a GitHub pull request and an employment contract are all placed in the same small set of categories.

BFO provides the categories, CCO the common concepts, ABI the concepts of its platform and domains, and application ontologies the details of one source or integration. A level does not change the meaning of the terms above it; it adds subclasses, properties and axioms.

@prefix obo: <http://purl.obolibrary.org/obo/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix abi: <http://ontology.naas.ai/abi/> .

# ABI's process class is the BFO process class (BFO_0000015).
abi:Process a owl:Class ;
owl:equivalentClass obo:BFO_0000015 .

2. Seven questions, seven buckets​

ABI models describe anything by answering seven questions, each with one BFO category:

  • WHO: the things and agents that take part, a material entity such as a person, an organization or a server.
  • WHAT: what happens, a process such as a sale, a meeting or an agent's answer.
  • WHEN: the time it takes, a temporal region: an instant or an interval.
  • WHERE: the place it happens or things are located, a site such as an office, a region or a cloud zone.
  • HOW IT IS: the characteristics of a thing, a quality such as a size, a status or a color.
  • WHY: what a thing can do or is for, a realizable entity: a role, a disposition or a function.
  • HOW WE KNOW: the information about all of these, a generically dependent continuant such as a document, a record or a dataset.

The top-level page explains each one with examples.

3. Processes drive the routing​

Because ABI models work as BFO processes, it can route a request by the kind of process it asks for rather than by a specific AI model. See process-centric routing.

The process is the hub of the seven buckets: material entities and qualities take part in it (who, how it is), it occupies a temporal region (when), occurs in a site (where), realizes roles and dispositions (why) and concretizes information (how we know). Click a bucket to see its relations.

The seven buckets: a process, when and where it happens, who takes part, and the qualities, roles and records attached to them

Groups

  • What · process: Process
  • When · temporal region: Temporal Region
  • Who · material entity: Material Entity
  • Where · site: Site
  • How we know · GDC: Generically Dependent Continuant
  • How it is · quality: Quality
  • Why · realizable: Realizable Entity

Modular AI integration​

Each ABI module ships its own ontology files next to its code:

Core ontology module and the ontologies of the AI modules

  • Core Ontology Module (ontology/ontologies/; top-level/, mid-level/; domain-level/, application-level/)
    • Claude Module
      • claude/ontologies/
    • Gemini Module
      • gemini/ontologies/
    • Gemma Module
      • gemma/ontologies/
    • Qwen Module
      • qwen/ontologies/

Groups

  • Core Framework: Core Ontology Module
  • AI Module Extensions: Claude Module, Gemini Module, Gemma Module, Qwen Module
  • Module Ontologies: claude/ontologies/, gemini/ontologies/, gemma/ontologies/, qwen/ontologies/

How ABI uses the ontology​

  • Knowledge graph. ABI loads these ontologies and the data built on them into its triple store, and queries them with SPARQL.
  • Queries for agents. Modules ship templatable SPARQL queries: stored queries with an intent description, which an agent picks and fills in from a user's question.
  • Events. What ABI's services do (triples inserted, an agent routed a conversation, a secret set) is recorded as events, all subclasses of log process.

Next steps​

  1. Top-level: BFO and the seven buckets.
  2. Mid-level: how ABI uses the Common Core Ontologies.
  3. Domain-level: ABI's domain ontologies.
  4. Application-level: ontologies of integrations and data sources.
  5. Process-centric routing: routing AI work by process type.

Learn more on docs.naas.ai​