Hubbry Logo
search button
Sign in
Deductive database
Deductive database
Comunity Hub
History
arrow-down
starMore
arrow-down
bob

Bob

Have a question related to this hub?

bob

Alice

Got something to say related to this hub?
Share it here.

#general is a chat channel to discuss anything related to the hub.
Hubbry Logo
search button
Sign in
Deductive database
Community hub for the Wikipedia article
logoWikipedian hub
Welcome to the community hub built on top of the Deductive database Wikipedia article. Here, you can discuss, collect, and organize anything related to Deductive database. The purpose of the hub is to con...
Add your contribution
Deductive database

A deductive database is a database system that can make deductions (i.e. conclude additional facts) based on rules and facts stored in its database. Datalog is the language typically used to specify facts, rules and queries in deductive databases. Deductive databases have grown out of the desire to combine logic programming with relational databases to construct systems that support a powerful formalism and are still fast and able to deal with very large datasets. Deductive databases are more expressive than relational databases but less expressive than logic programming systems such as Prolog. In recent years, deductive databases have found new application in data integration, information extraction, networking, program analysis, security, and cloud computing.[1]

Deductive databases reuse many concepts from logic programming; rules and facts specified in Datalog look very similar to those written in Prolog,[2] but there are some important differences:

  • Order sensitivity and procedurality: In Prolog, program execution depends on the order of rules in the program and on the order of parts of rules; these properties are used by programmers to build efficient programs. In database languages (like SQL or Datalog),[3] however, program execution is independent of the order of rules and facts.
  • Special predicates: In Prolog, programmers can directly influence the procedural evaluation of the program with special predicates such as the cut. This has no correspondence in deductive databases.
  • Function symbols: Logic programming languages allow function symbols to build up complex symbols. This is not allowed in deductive databases.
  • Tuple-oriented processing: Deductive databases use set-oriented processing, while logic programming languages concentrate on one tuple at a time.

References

[edit]
  1. ^ Datalog and Emerging applications
  2. ^ Maier, David; Tekle, K. Tuncay; Kifer, Michael; Warren, David S. (2018-09-01), "Datalog: concepts, history, and outlook", Declarative Logic Programming: Theory, Systems, and Applications, vol. 20, Association for Computing Machinery and Morgan & Claypool, pp. 3–100, doi:10.1145/3191315.3191317, ISBN 978-1-970001-99-0, retrieved 2025-01-06
  3. ^ "People Search: How It Works". veripages.com. Retrieved 2025-01-07.

Further reading

[edit]