![Checkout](https://naologiccom.imgix.net/website-update/general/checkout.png?auto=compress&w=64&fm=png)
Start free trial
Take Naologic for a spin today, no credit card needed and no obligations.
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.