• DocumentCode
    2534378
  • Title

    NP Datalog: a logic language for NP search and optimization queries

  • Author

    Greco, Sergio ; Trubitsyna, Irina ; Zumpano, Ester

  • Author_Institution
    DEIS, Universita della Calabria, Rende, Italy
  • fYear
    2005
  • fDate
    25-27 July 2005
  • Firstpage
    344
  • Lastpage
    353
  • Abstract
    This paper presents a logic language, called NP Datalog for NP search and optimization problems. The ´search´ language extends stratified Datalog with constraints and partition rules defining (nondeterministically) partition of relations. NP optimization problems are then formulated by adding a max (or min) construct to select the solution (stable model) which maximizes (resp., minimizes) the result of a polynomial function applied to the answer relation. We show that NP Datalog queries can be easily evaluated by translating them into ILOG programs which are next solved by means of the ILOG OPL Studio suite. To prove the effectiveness of our proposal, we have implemented a module, written in Sicstus Prolog, which takes in input a NP Datalog query and outputs an equivalent ILOG program. Several experiments comparing the computation of queries by different logic systems have been also performed.
  • Keywords
    DATALOG; optimisation; query processing; ILOG OPL Studio suite; ILOG programs; NP Datalog; NP optimization problems; NP search queries; Sicstus Prolog; constraints; logic language; optimization queries; partition rules; search language; Data engineering; Databases; Logic; Polynomials; Proposals; Search problems;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Database Engineering and Application Symposium, 2005. IDEAS 2005. 9th International
  • ISSN
    1098-8068
  • Print_ISBN
    0-7695-2404-4
  • Type

    conf

  • DOI
    10.1109/IDEAS.2005.38
  • Filename
    1540925