Full Text Available
Note: Clicking the button above will open the full text document at the original institutional repository in a new window.
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 langu...
| Main Author: | |
|---|---|
| Other Authors: | |
| Format: | Thesis |
| Language: | English |
| Published: |
Department of Computer Science
2023
|
| Subjects: | |
| Tags: |
No Tags, Be the first to tag this record!
|
| _version_ | 1867613746555256832 |
|---|---|
| access_status_str | Open Access |
| author | Jun, Tian Xiao |
| author2 | Wood, Peter |
| author_browse | Jun, Tian Xiao Wood, Peter |
| author_facet | Wood, Peter Jun, Tian Xiao |
| author_sort | Jun, Tian Xiao |
| collection | Thesis |
| description | 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. |
| format | Thesis |
| id | oai:open.uct.ac.za:11427/38695 |
| institution | University of Cape Town (South Africa) |
| language | eng |
| last_indexed | 2026-06-10T12:41:03.057Z |
| license_str | Not specified — see source repository |
| provenance_str_mv | Harvested via OAI-PMH from UCTD — University of Cape Town Open Access Repository |
| publishDate | 2023 |
| publishDateRange | 2023 |
| publishDateSort | 2023 |
| publisher | Department of Computer Science |
| publisherStr | Department of Computer Science |
| record_format | dspace |
| source_str | UCTD — University of Cape Town Open Access Repository |
| spelling | oai:open.uct.ac.za:11427/38695 An empirical study of negation in datalog programs Jun, Tian Xiao Wood, Peter Computer Science 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. 2023-09-15T11:07:22Z 2023-09-15T11:07:22Z 1996 2023-09-15T11:06:56Z Master Thesis Masters MSc http://hdl.handle.net/11427/38695 eng application/pdf Department of Computer Science Faculty of Science |
| spellingShingle | Computer Science Jun, Tian Xiao An empirical study of negation in datalog programs |
| thesis_degree_str | Master's |
| title | An empirical study of negation in datalog programs |
| title_full | An empirical study of negation in datalog programs |
| title_fullStr | An empirical study of negation in datalog programs |
| title_full_unstemmed | An empirical study of negation in datalog programs |
| title_short | An empirical study of negation in datalog programs |
| title_sort | empirical study of negation in datalog programs |
| topic | Computer Science |
| url | http://hdl.handle.net/11427/38695 |
| work_keys_str_mv | AT juntianxiao anempiricalstudyofnegationindatalogprograms AT juntianxiao empiricalstudyofnegationindatalogprograms |