Skip to main content

Log process

An occurrent recorded by the EventService. All concrete event types must be subclasses of LogProcess.

ABIClass
IRI
http://ontology.naas.ai/abi/LogProcess
Parent class
process
Module
EventOntology Β· ABI

Hierarchy​

Properties​

Declared on this class​

Properties declared on log process
PropertyDomain β†’ RangeDetails
actor containerdatatypeDomain β†’ Rangelog process to xsd:string
actor user iddatatypeDomain β†’ Rangelog process to xsd:string
actor workspace iddatatypeDomain β†’ Rangelog process to xsd:string
created atdatatypeDomain β†’ Rangelog process to xsd:dateTime
triggered viadatatypeDomain β†’ Rangelog process to xsd:string

Inherited properties​

From Process (26)

8 of 26 properties declared on process, where all of them are listed.

Properties inherited from process
PropertyDomain β†’ RangeDetails
affectsDomain β†’ Rangeprocess to continuant
concretizesDomain β†’ Rangeprocess to generically dependent continuant
disruptsDomain β†’ Rangeprocess to process
has accessoryDomain β†’ Rangeprocess to Agent
has accompliceDomain β†’ Rangeprocess to Agent
has agentDomain β†’ Rangeprocess to Agent
has inputDomain β†’ Rangeprocess to continuant
has objectDomain β†’ Rangeprocess to continuant
From Occurrent (8)

Declared on occurrent.

Properties inherited from occurrent
PropertyDomain β†’ RangeDetails
caused byDomain β†’ Rangeoccurrent to occurrent
has occurrent partDomain β†’ Rangeoccurrent to occurrent
has temporal partDomain β†’ Rangeoccurrent to occurrent
is cause ofDomain β†’ Rangeoccurrent to occurrent
occurrent part ofDomain β†’ Rangeoccurrent to occurrent
preceded byDomain β†’ Rangeoccurrent to occurrent
precedesDomain β†’ Rangeoccurrent to occurrent
temporal part ofDomain β†’ Rangeoccurrent to occurrent
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

Examples​

  • user authenticated; agent invoked; task started
Turtle
@prefix abi: <http://ontology.naas.ai/abi/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <https://example.org/> .

ex:logProcess1 a abi:LogProcess ; # log process
rdfs:label "Example log process" ;
abi:actorContainer "Example" ; # actor container
abi:actorUserId "Example" . # actor user id
SPARQL
PREFIX abi: <http://ontology.naas.ai/abi/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

# Instances of log process, including instances of its subclasses
SELECT ?item ?label WHERE {
?item a/rdfs:subClassOf* abi:LogProcess .
OPTIONAL { ?item rdfs:label ?label }
}
LIMIT 100

Sibling classes​

And 155 more under process.

Used in ABI​

Log process is referenced in 12 files of jupyter-naas/abi (revision 56f86c1): 12 ontology modules, across the agent, bus, cache, coding_environment, dataset, email, keyvalue, object_storage, secret, source_control, triple_store and vector_store modules.

In ontology modules​

Modeling guide​

Log process is the root of every event ABI records. The event service ontology (EventOntology.ttl in abi-core) states the rule: all event types published through the EventService must be subclasses of LogProcess. Each abi-core service declares its events under it: the agent service (user message received, model called, tool called, tool responded, routed, invocation completed), the bus, cache, key-value, object storage, triple store, vector store, secret, e-mail, dataset and coding environment services. Every event carries the same data properties: created at, actor user id, actor container and triggered via.

When to use it​

  • For a new kind of event your service publishes: subclass log process in the service's event ontology.
  • Store identifiers, never names or e-mail addresses, on events: the event ontology resolves user IDs against the identity graph of the deploying app.
  • It is a process: use process relations when an event needs participants or parts.

Turtle example​

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

# One event from the agent service.
ex:event42 a agent:AgentToolCalled ; # subclass of log process
rdfs:label "Agent called the web search tool" ;
abi:createdAt "2026-11-24T09:15:02Z"^^xsd:dateTime ;
abi:actorUserId "user-7f3a" ;
abi:triggeredVia "api" .

SPARQL example​

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

# Event counts per type over a day
SELECT ?type (COUNT(?event) AS ?events) WHERE {
?event a ?type ;
abi:createdAt ?at .
?type rdfs:subClassOf* abi:LogProcess .
FILTER(?at >= "2026-11-24T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime>)
}
GROUP BY ?type
ORDER BY DESC(?events)