Checkout
Personalized AI apps
Build multi-agent systems without code and automate document search, RAG and content generation
Start free trial
Question

Datalog - What is the difference between IDB and EDB?

Answer

Database relations can be either extensional (EDB) or intensional (IDB), with the former referring to relations contained in the database and the latter to relations specified by rules. You can't have both types of predicates—IDB or EDB. A rule's body and head can both have an IDB predicate, but the EDB predicate can only be found in the body.