Skip to main content

AI Model

A generically dependent continuant representing an AI language model used by an agent in the Nexus platform.

ABIClass
IRI
http://ontology.naas.ai/nexus/AIModel
Module
NexusPlatformOntology ยท ABI

Hierarchyโ€‹

Position of AI Model in the class hierarchy: its ancestors and direct subclasses.

Propertiesโ€‹

Declared on this classโ€‹

Properties declared on AI Model
PropertyDomain โ†’ RangeDetails
has providerobjectDomain โ†’ RangeAI Model to Organization
is model ofobjectDomain โ†’ RangeAI Model to Agent
model iddatatypeDomain โ†’ RangeAI Model, Workspace Agent Configuration to xsd:string

Inherited propertiesโ€‹

From Generically dependent continuant (7)

Declared on generically dependent continuant.

Properties inherited from generically dependent continuant
PropertyDomain โ†’ RangeDetails
has partDomain โ†’ Rangegenerically dependent continuant to generically dependent continuant
is aboutDomain โ†’ Rangegenerically dependent continuant to any
is created byDomain โ†’ Rangegenerically dependent continuant to process
is deleted byDomain โ†’ Rangegenerically dependent continuant to process
is part ofDomain โ†’ Rangegenerically dependent continuant to generically dependent continuant
is sourced fromDomain โ†’ Rangegenerically dependent continuant to Profile Document
is updated byDomain โ†’ Rangegenerically dependent continuant to process
From Continuant (6)

Declared on continuant.

Properties inherited from continuant
PropertyDomain โ†’ RangeDetails
continuant part ofDomain โ†’ Rangecontinuant to continuant
has continuant partDomain โ†’ Rangecontinuant to continuant
is affected byDomain โ†’ Rangecontinuant to process
is input ofDomain โ†’ Rangecontinuant to process
is object ofDomain โ†’ Rangecontinuant to process
is output ofDomain โ†’ Rangecontinuant to process
From Entity (15)

8 of 15 properties declared on entity, where all of them are listed.

Properties inherited from entity
PropertyDomain โ†’ RangeDetails
condition described byDomain โ†’ Rangeentity to Performance Specification
data propertyDomain โ†’ Rangeentity to xsd:string
described byDomain โ†’ Rangeentity to Descriptive Information Content Entity
designated byDomain โ†’ Rangeentity to Designative Information Content Entity
exists atDomain โ†’ Rangeentity to temporal region
has backing data sourceDomain โ†’ Rangeentity to Data Source
has nebari classDomain โ†’ Rangeentity to Nebari Class
is measured byDomain โ†’ Rangeentity to Measurement Information Content Entity

Used as the range ofโ€‹

Logical axiomsโ€‹

Restrictionsโ€‹

Every AI Model is a subclass of:

Examplesโ€‹

  • claude-sonnet-4-6
  • gemini-1.5-pro
  • gpt-4.1-mini
Turtle
@prefix abi: <http://ontology.naas.ai/abi/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <https://example.org/> .

ex:aiModel1 a <http://ontology.naas.ai/nexus/AIModel> ; # AI Model
rdfs:label "Example AI Model" ;
<http://ontology.naas.ai/nexus/hasProvider> ex:organization1 ; # has provider
<http://ontology.naas.ai/nexus/isModelOf> ex:agent1 . # is model of

ex:organization1 a abi:Organization . # Organization
ex:agent1 a <http://ontology.naas.ai/nexus/Agent> . # Agent
SPARQL
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

# Instances of AI Model, including instances of its subclasses
SELECT ?item ?label WHERE {
?item a/rdfs:subClassOf* <http://ontology.naas.ai/nexus/AIModel> .
OPTIONAL { ?item rdfs:label ?label }
}
LIMIT 100

Sibling classesโ€‹

And 42 more under generically dependent continuant.

Used in ABIโ€‹

AI Model is referenced in 2 files of jupyter-naas/abi (revision 56f86c1): 2 query files, across the naas-abi and templatablesparqlquery modules.

In SPARQL queriesโ€‹

Modeling guideโ€‹

An AI Model, in the Nexus platform ontology, is a language model that a Nexus Agent uses, such as gpt-4.1-mini or gemini-1.5-pro. Like the agent, it is information (a generically dependent continuant): the model as a named, versioned artifact, not the servers that run it. Each model has a model id and a provider organization (has provider); agents point to it with uses model. The ABI marketplace's AI application ontologies (ChatGPT, Gemini, Mistral, Llama, Qwen, DeepSeek and others) describe the providers' model families in more detail.

When to use itโ€‹

  • To record which model an agent is configured with, and who provides it.
  • Use the provider-specific application ontologies for model families, pricing or capabilities.
  • The model's runs are agent events (log process), not properties of the model.

Turtle exampleโ€‹

@prefix nexus: <http://ontology.naas.ai/nexus/> .
@prefix abi: <http://ontology.naas.ai/abi/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <https://example.org/> .

# A model, its provider, and an agent that uses it.
ex:mistralLarge a nexus:AIModel ;
rdfs:label "Mistral Large" ;
nexus:model_id "mistral-large-latest" ;
nexus:hasProvider ex:mistralAi .
ex:mistralAi a abi:Organization ; rdfs:label "Mistral AI" .
ex:frenchAssistant a nexus:Agent ;
rdfs:label "French support assistant" ;
nexus:usesModel ex:mistralLarge .

SPARQL exampleโ€‹

PREFIX nexus: <http://ontology.naas.ai/nexus/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

# How many agents use each provider's models
SELECT ?providerLabel (COUNT(DISTINCT ?agent) AS ?agents) WHERE {
?agent nexus:usesModel ?model .
?model nexus:hasProvider ?provider .
?provider rdfs:label ?providerLabel .
}
GROUP BY ?providerLabel
ORDER BY DESC(?agents)