An empirical study of negation in datalog programs

dc.contributor.advisorWood, Peter
dc.contributor.authorJun, Tian Xiao
dc.date.accessioned2023-09-15T11:07:22Z
dc.date.available2023-09-15T11:07:22Z
dc.date.issued1996
dc.date.updated2023-09-15T11:06:56Z
dc.description.abstractDatalog is the fusion of prolong and database technologies aimed at producing an difficultly logic-based, declarative language for databases. Since negation was added to Datalog, Datalog has become more expressive. In this thesis, I focus my attention on adding negation to DatalogIC which is a language which has been implemented by Mark P. Wassell, a past MSc student in the Department of Computer Science at UCT. I analyse and compare stratified, well-founded and inflationary semantics for negation, each of which has been implemented on top of INFORMIX; we call the resulting system NDatalog. According to the test results, we find that some results are unexpected. For example, when we evaluate a recursive stratified program, the results show that NDatalogstra is slower than NDatalogwellf although NDatalogwellf is more complex. After further investigation, I find the problem is that the NDatalog system has to spend a lot of time imitating the MINUS function, which does not exist in INFORMIX-SQL. So the running time depends on what kind of database system is used as backend. When we consider the time spent on pure evaluation, excluding auxiliary functions, we find that the results support our expectations, namely, that NDatalogstra is faster than NDatalogwellf which is faster than NDataloginf.
dc.identifier.apacitationJun, T. X. (1996). <i>An empirical study of negation in datalog programs</i>. (). ,Faculty of Science ,Department of Computer Science. Retrieved from http://hdl.handle.net/11427/38695en_ZA
dc.identifier.chicagocitationJun, Tian Xiao. <i>"An empirical study of negation in datalog programs."</i> ., ,Faculty of Science ,Department of Computer Science, 1996. http://hdl.handle.net/11427/38695en_ZA
dc.identifier.citationJun, T.X. 1996. An empirical study of negation in datalog programs. . ,Faculty of Science ,Department of Computer Science. http://hdl.handle.net/11427/38695en_ZA
dc.identifier.ris TY - Master Thesis AU - Jun, Tian Xiao AB - Datalog is the fusion of prolong and database technologies aimed at producing an difficultly logic-based, declarative language for databases. Since negation was added to Datalog, Datalog has become more expressive. In this thesis, I focus my attention on adding negation to DatalogIC which is a language which has been implemented by Mark P. Wassell, a past MSc student in the Department of Computer Science at UCT. I analyse and compare stratified, well-founded and inflationary semantics for negation, each of which has been implemented on top of INFORMIX; we call the resulting system NDatalog. According to the test results, we find that some results are unexpected. For example, when we evaluate a recursive stratified program, the results show that NDatalogstra is slower than NDatalogwellf although NDatalogwellf is more complex. After further investigation, I find the problem is that the NDatalog system has to spend a lot of time imitating the MINUS function, which does not exist in INFORMIX-SQL. So the running time depends on what kind of database system is used as backend. When we consider the time spent on pure evaluation, excluding auxiliary functions, we find that the results support our expectations, namely, that NDatalogstra is faster than NDatalogwellf which is faster than NDataloginf. DA - 1996 DB - OpenUCT DP - University of Cape Town KW - Computer Science LK - https://open.uct.ac.za PY - 1996 T1 - An empirical study of negation in datalog programs TI - An empirical study of negation in datalog programs UR - http://hdl.handle.net/11427/38695 ER - en_ZA
dc.identifier.urihttp://hdl.handle.net/11427/38695
dc.identifier.vancouvercitationJun TX. An empirical study of negation in datalog programs. []. ,Faculty of Science ,Department of Computer Science, 1996 [cited yyyy month dd]. Available from: http://hdl.handle.net/11427/38695en_ZA
dc.language.rfc3066eng
dc.publisher.departmentDepartment of Computer Science
dc.publisher.facultyFaculty of Science
dc.subjectComputer Science
dc.titleAn empirical study of negation in datalog programs
dc.typeMaster Thesis
dc.type.qualificationlevelMasters
dc.type.qualificationlevelMSc
Files
Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
thesis_sci_1996_jun tian xiao.pdf
Size:
7.53 MB
Format:
Adobe Portable Document Format
Description:
License bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
0 B
Format:
Item-specific license agreed upon to submission
Description:
Collections