Aviso: para depositar documentos, por favor, inicia sesión e identifícate con tu cuenta de correo institucional de la UCM con el botón MI CUENTA UCM. No emplees la opción AUTENTICACIÓN CON CONTRASEÑA
 

Applying Constraint Logic Programming to SQL Semantic Analysis

dc.contributor.authorSáenz Pérez, Fernando
dc.date.accessioned2025-01-14T10:24:35Z
dc.date.available2025-01-14T10:24:35Z
dc.date.issued2019
dc.description.abstractThis 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.departmentDepto. de Ingeniería de Software e Inteligencia Artificial (ISIA)
dc.description.facultyFac. de Informática
dc.description.refereedTRUE
dc.description.statuspub
dc.identifier.citationSÁ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.doi10.1017/S1471068419000206
dc.identifier.officialurlhttps://doi.org/10.1017/S1471068419000206
dc.identifier.urihttps://hdl.handle.net/20.500.14352/114196
dc.issue.number5-6
dc.journal.titleTheory and Practice of Logic Programming
dc.language.isoeng
dc.page.final825
dc.page.initial808
dc.publisherCambridge University Press
dc.relation.projectIDTIN2017-86217-R
dc.relation.projectIDS2018/TCS-4339
dc.rightsAttribution-NonCommercial-NoDerivatives 4.0 Internationalen
dc.rights.accessRightsrestricted access
dc.rights.urihttp://creativecommons.org/licenses/by-nc-nd/4.0/
dc.subject.cdu004.43
dc.subject.keywordConstraint Logic Programming
dc.subject.keywordSQL
dc.subject.keywordSemantic Checking
dc.subject.keywordDatalog Educational System
dc.subject.ucmLenguajes de programación
dc.subject.unesco1203.23 Lenguajes de Programación
dc.titleApplying Constraint Logic Programming to SQL Semantic Analysis
dc.typejournal article
dc.type.hasVersionAO
dc.volume.number19
dspace.entity.typePublication
relation.isAuthorOfPublication7d90b5c1-c8b0-4345-9fb2-11622136f010
relation.isAuthorOfPublication.latestForDiscovery7d90b5c1-c8b0-4345-9fb2-11622136f010

Download

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
applying_constraint_logic_programming.pdf
Size:
428.98 KB
Format:
Adobe Portable Document Format

Collections