Combining Relational Algebra, SQL, Constraint Modelling, and Local Search
<|reference_start|>Combining Relational Algebra, SQL, Constraint Modelling, and Local Search: The goal of this paper is to provide a strong integration between constraint modelling and relational DBMSs. To this end we propose extensions of standard query languages such as relational algebra and SQL, by adding constraint modelling capabilities to them. In particular, we propose non-deterministic extensions of both languages, which are specially suited for combinatorial problems. Non-determinism is introduced by means of a guessing operator, which declares a set of relations to have an arbitrary extension. This new operator results in languages with higher expressive power, able to express all problems in the complexity class NP. Some syntactical restrictions which make data complexity polynomial are shown. The effectiveness of both extensions is demonstrated by means of several examples. The current implementation, written in Java using local search techniques, is described. To appear in Theory and Practice of Logic Programming (TPLP)<|reference_end|>
@article{cadoli2006combining,
    title={Combining Relational Algebra, SQL, Constraint Modelling, and Local
  Search},
    author={Marco Cadoli and Toni Mancini},
    journal={arXiv preprint arXiv:cs/0601043},
    year={2006},
    doi={10.1017/S1471068406002857},
    archivePrefix={arXiv},
    eprint={cs/0601043},
    primaryClass={cs.AI cs.LO}
}