Grounding agents in ontologies
By usingdiscover-schema, your agent can introspect the available classes and
properties of a world before attempting to query it.
- Discovery: Agent retrieves the world’s ontology.
- Mapping: Agent maps the user’s natural language request to specific RDF classes and predicates.
- Querying: Agent executes precise SPARQL queries instead of depending solely on vector similarity.
Why use Ontology RAG?
- Zero Hallucination: Agents only use terms that actually exist in the world’s schema.
- Complex Logic: Handle transitive relationships and inverse properties that are invisible to vector searches.
- Deterministic Reliability: Ensure the agent’s mental model matches the actual data structure.