Blog
Business

Two Kinds of Reasoning Your AI Agent Needs to Succeed

Julius Hollmann
June 29, 2026
5
min read

Knowledge graphs and LLMs bring different strengths to AI agents, combining them unlocks both creativity and correctness.

Executive Summary

  • Reasoning is the core capability of any agent. It can be powered by formal logic, LLMs, or other algorithms, each bringing different strengths.
  • LLM reasoning is probabilistic ideal for exploring ideas, forming hypotheses, and handling open-ended questions. OWL and SPARQL reasoning is deterministic and provable, ideal for tasks that require strict reasoning and correctness.
  • These are not competing approaches. They are complementary engines that, when combined through architectures like Schema-RAG, produce agents that can think flexibly and act correctly. Organizations that design for both will build AI that works in production, not just in demos.
Press enter or click to view image in full size

Reasoning Sits at the Center of Every Agent

Every agent by design follows the same basic loop: sense, reason, act. It perceives something about the world, figures out what it means, and decides what to do next. Reasoning is the core of that loop, it’s the “why” behind every action an agent takes.

What’s changed recently is that large language models have emerged as a powerful reasoning engine for agents capable of fluid, creative reasoning, though never quite the same way twice. However, they are not the only option. Formal logic, expressed through standards like OWL and SPARQL, has long provided reasoning that is precise, predictable, and fully traceable. The right blend determines whether your agent is merely clever or genuinely trustworthy.

The LLM: The Probabilistic Reasoning Engine

A new class of thinking models has recently pushed LLM reasoning further. Unlike standard LLMs that respond immediately, these models generate internal reasoning tokens before producing their final answer: they break problems down, consider multiple approaches, and work through intermediate steps before committing to a response. The result is measurably stronger performance on more complex tasks.

But the underlying mechanism remains the same. Every LLM thinking or not is a next-token prediction machine. Given all the tokens (words or subwords) seen so far, the model uses its transformer architecture to compute a probability distribution over what should come next. It then samples from that distribution, appends the chosen token, and repeats. Every sentence, every chain of thought, every reasoning step is built one token at a time through this process.

This means the model is not executing a logical procedure, it is statistically predicting what text is most likely to follow. Change the temperature, rephrase the prompt, or simply run the same query twice, and the sampled path can differ. The reasoning steps emerge from probability, not from rules.

Research from Google DeepMind on “deep-thinking tokens” sheds further light on this. The tokens a model is least certain about those with the highest variance across runs correspond directly to reasoning moves, where the model is bridging ideas and forming conclusions. Stable, high-confidence tokens tend to reflect memorized facts.

This is why LLMs excel at brainstorming, hypothesis generation, analogy-making, and producing explanations that feel insightful. But it also means that the same question asked twice may produce different chains of thought and arrive at different conclusions. For tasks where correctness, traceability, and repeatability matter, this is a serious limitation.

OWL and SPARQL: The Constitutional Framework

Formal reasoning through OWL and SPARQL lives in a different world than LLM-based reasoning. OWL is grounded in description logics: a branch of formal logic that defines concepts, relationships, and constraints with mathematical precision. An ontology functions like a constitutional framework for your data: it spells out what must be true, what cannot be true, and how different pieces relate to one another. There is no room for interpretation or ambiguity. Where an LLM offers answers that are plausible, an OWL reasoner produces conclusions that are guaranteed by the rules.

Since the ontology defines the conceptual structure of the domain, a reasoner can apply these rules to make implicit knowledge explicit such as subclass hierarchies, property hierarchies, or simple OWL property characteristics. In practice, this isn’t about discovering new facts at scale but about enriching the graph with the relationships that logically follow from the schema. These inferred triples aren’t guesses or heuristics; they are consequences that must hold if both the ontology and the data are correct.

SPARQL complements this by providing precise pattern-based queries over the graph. It retrieves exactly the information that fits the defined structure, reinforcing the idea that the system operates on explicit, verifiable data rather than interpretation.

The key difference is determinism. Given the same ontology and the same input data, every standards-compliant OWL or SPARQL reasoner will always produce the exact same results. No randomness, no variation, no alternate interpretations. And because every inference stems from a defined rule or axiom, the reasoning process is entirely transparent and auditable a critical requirement for systems that need reliability, compliance, and trust.

Combining Both: Flexible Thinking, Guaranteed Results

The real architectural insight is that these two reasoning engines serve fundamentally different purposes, and a production-grade agent needs access to both. LLM reasoning produces possibilities, it explores, generates options, and handles messy, ambiguous problems. OWL reasoning produces certainties it validates, classifies, and enforces constraints.

This combination is already taking shape in architectures like Schema-RAG. The knowledge graph provides the factual backbone while the LLM handles natural language understanding and response generation. The graph grounds the LLM reducing hallucinations, anchoring responses in verified entities and relationships, enforcing the ontology’s rules.

Conclusion

If you’re evaluating AI agent strategies, the question isn’t whether to use an LLM or a knowledge graph, it’s how to combine them so your agents can think creatively and act correctly.

Reasoning is not a feature you bolt on at the end. It is the core capability that separates a useful agent from a pre-defined workflow. The choice of reasoning engine probabilistic, deterministic, or both is one of the most consequential architectural decisions you will make. Start by identifying where your organization needs exploration and where it needs enforcement, then design your architecture around both.

Checkout our latest articles:

Deep dive into further insights and knowledge nuggets.

If you're evaluating AI agent strategies, the question isn't whether to use an LLM or a knowledge graph, it's how to combine them so your agents can think creatively and act correctly.
Julius Hollmann
June 29, 2026
5
min read
Fine-tuning can improve model’s performance on domain-specific tasks, but it stores business knowledge in model weights that are difficult to audit, difficult to reliably update, and costly to maintain over time.
Julius Hollmann
June 8, 2026
5
min read
Platforms like OpenClaw solve the visibility problem: they make it possible to ask questions of your data through a conversational interface. The harder problem ensuring those answers are accurate, consistent, explainable, and secure requires an investment in knowledge architecture that no agent runtime provides on its own.
Julius Hollmann
April 10, 2026
4
min read
A shared Iceberg format doesn’t make zero‑copy possible across platforms. This article explains why physics breaks the illusion and how a knowledge layer provides the real path forward.
Julius Hollmann
March 12, 2026
5
min read
We compare the 5 best enterprise knowledge graph platforms in 2026. Evaluate d.AP, Stardog, Neo4j, Foundry, eccenca & GraphAware using a practical buyer framework
Julius Hollmann
February 19, 2026
10
min read
LLMs can talk, but they don't understand your business. Ontologies provide the missing layer of meaning, turning generative AI from a promising demo into a correct, scalable, and trustworthy enterprise tool. Here’s why semantics are having a renaissance.
Julius Hollmann
February 4, 2026
4
min read
Knowledge Graphs provide the semantic context, constraints and explicit relationships that LLMs lack. This enables true reasoning, like navigating a map of your business, instead of just text retrieval.
Julius Hollmann
January 26, 2026
4
min read
In this article, you’ll discover why Agentic-AI systems demand more than data; they require explicit structure and meaning. Learn how formal ontologies bring coherence, reasoning and reliability to enterprise AI by turning fragmented data into governed, machine-understandable knowledge.
Julius Hollmann
October 29, 2025
5
min read
In this article you'll explore how Knowledge Graphs bring coherence to complexity, creating a shared semantic layer that enables true data-driven integration and scalable growth.
Julius Hollmann
October 28, 2025
3
min read
If you’re building AI systems, you’ll want to read this before assuming MCP is your integration answer. The article breaks down why the Model Context Protocol is brilliant for quick demos but dangerously fragile for enterprise-scale architectures.
Julius Hollmann
October 20, 2025
4
min read
Despite heavy investments, enterprises remain stuck - learn how Knowledge Graphs and AI-powered ontologies finally unlock fast, trusted and scalable data access.
Julius Hollmann
September 12, 2023
3
min read
Discover how Knowledge Graphs connect scattered data into one smart network - making it easier to use AI, speed up automation, and build a future-ready data strategy.
Julius Hollmann
September 12, 2023
4
min read
GenAI alone isn’t enough. Learn how Knowledge Graphs give AI real meaning, transforming it into a trustworthy, explainable assistant grounded in enterprise reality.
Julius Hollmann
September 12, 2023
3
min read

Data silos out. Smart insights in. Discover d.AP.

Schedule a call with our team and learn how we can help you get ahead in the fast-changing world of data & AI.