Query generation for TypeDB

Victor Morgante
3 min readSep 4, 2021

Controlled Natural Language to TypeQL…push a button

Natural language query to TypeQL. Image by author.

FactEngine is an initiative to radically rethink how databases are designed, viewed and queried. The ultimate goal is to make life easier, and that includes controlled natural language queries over your database.

TypeDB is a new breed of database that is based on hypergraph theory. It is produced by a company called Vaticle.

In an earlier article I outlined FactEngine’s move to automatically creating DDL (Database Definition Language) for TypeDB.

TypeDB approaches the database market conceptualised as both a database and a rules-based knowledge graph combined as one. Operating over a key/value store the database encompasses the same sort of architecture used by FactEngine to effectively turn any compatible database into a natural language/hypergraph database. I wrote about this architecture in an earlier article.

The synergy between the two products is so close that I have decided to extend FactEngine to working beyond the relational databases it currently caters for and to operate over TypeDB.

Tooling

A C#/.Net TypeDB client doesn’t currently exist for TypeDB, but that doesn’t stop anyone from being able to generate natural language queries for a database and convert those queries to…

--

--

Victor Morgante
Victor Morgante

Written by Victor Morgante

@FactEngine_AI. Manager, Architect, Data Scientist, Researcher at www.factengine.ai and www.perceptible.ai

No responses yet