Applying Constraint Logic Programming to SQL Semantic Analysis
dc.contributor.author | Sáenz Pérez, Fernando | |
dc.date.accessioned | 2025-01-14T10:24:35Z | |
dc.date.available | 2025-01-14T10:24:35Z | |
dc.date.issued | 2019 | |
dc.description.abstract | This paper proposes the use of Constraint Logic Programming (CLP) to model SQL queries in a dataindependent abstract layer by focusing on some semantic properties for signalling possible errors in such queries. First, we define a translation from SQL to Datalog, and from Datalog to CLP, so that solving this CLP program will give information about inconsistency, tautology, and possible simplifications. We use different constraint domains which are mapped to SQL types, and propose them to cooperate for improving accuracy. Our approach leverages a deductive system that includes SQL and Datalog, and we present an implementation in this system which is currently being tested in classroom, showing its advantages and differences with respect to other approaches, as well as some performance data. | |
dc.description.department | Depto. de Ingeniería de Software e Inteligencia Artificial (ISIA) | |
dc.description.faculty | Fac. de Informática | |
dc.description.refereed | TRUE | |
dc.description.status | pub | |
dc.identifier.citation | SÁENZ-PÉREZ F. Applying Constraint Logic Programming to SQL Semantic Analysis. Theory and Practice of Logic Programming. 2019;19(5-6):808-825. doi:10.1017/S1471068419000206 | |
dc.identifier.doi | 10.1017/S1471068419000206 | |
dc.identifier.officialurl | https://doi.org/10.1017/S1471068419000206 | |
dc.identifier.uri | https://hdl.handle.net/20.500.14352/114196 | |
dc.issue.number | 5-6 | |
dc.journal.title | Theory and Practice of Logic Programming | |
dc.language.iso | eng | |
dc.page.final | 825 | |
dc.page.initial | 808 | |
dc.publisher | Cambridge University Press | |
dc.relation.projectID | TIN2017-86217-R | |
dc.relation.projectID | S2018/TCS-4339 | |
dc.rights | Attribution-NonCommercial-NoDerivatives 4.0 International | en |
dc.rights.accessRights | restricted access | |
dc.rights.uri | http://creativecommons.org/licenses/by-nc-nd/4.0/ | |
dc.subject.cdu | 004.43 | |
dc.subject.keyword | Constraint Logic Programming | |
dc.subject.keyword | SQL | |
dc.subject.keyword | Semantic Checking | |
dc.subject.keyword | Datalog Educational System | |
dc.subject.ucm | Lenguajes de programación | |
dc.subject.unesco | 1203.23 Lenguajes de Programación | |
dc.title | Applying Constraint Logic Programming to SQL Semantic Analysis | |
dc.type | journal article | |
dc.type.hasVersion | AO | |
dc.volume.number | 19 | |
dspace.entity.type | Publication | |
relation.isAuthorOfPublication | 7d90b5c1-c8b0-4345-9fb2-11622136f010 | |
relation.isAuthorOfPublication.latestForDiscovery | 7d90b5c1-c8b0-4345-9fb2-11622136f010 |
Download
Original bundle
1 - 1 of 1
Loading...
- Name:
- applying_constraint_logic_programming.pdf
- Size:
- 428.98 KB
- Format:
- Adobe Portable Document Format