141 research outputs found

    On the Termination of Logic Programs with Function Symbols

    Get PDF
    Recently there has been an increasing interest in the bottom-up evaluation of the semantics of logic programs with complex terms. The main problem due to the presence of functional symbols in the head of rules is that the corresponding ground program could be infinite and that finiteness of models and termination of the evaluation procedure is not guaranteed. This paper introduces, by deeply analyzing program structure, new decidable criteria, called safety and Gamma-acyclicity, for checking termination of logic programs with function symbols under bottom-up evaluation. These criteria guarantee that stable models are finite and computable, as it is possible to generate a finitely ground program equivalent to the source program. We compare new criteria with other decidable criteria known in the literature and show that the Gamma-acyclicity criterion is the most general one. We also discuss its application in answering bound queries

    Detecting Decidable Classes of Finitely Ground Logic Programs with Function Symbols

    Get PDF
    In this article, we propose a new technique for checking whether the bottom-up evaluation of logic programs with function symbols terminates. The technique is based on the definition of mappings from arguments to strings of function symbols, representing possible values which could be taken by arguments during the bottom-up evaluation. Starting from mappings, we identify mapping-restricted arguments, a subset of limited arguments, namely arguments that take values from finite domains. Mapping-restricted programs, consisting of rules whose arguments are all mapping restricted, are terminating under the bottom-up computation, as all of its arguments take values from finite domains. We show that mappings can be computed by transforming the original program into a unary logic program: this allows us to establish decidability of checking if a program is mapping restricted. We study the complexity of the presented approach and compare it to other techniques known in the literature. We also introduce an extension of the proposed approach that is able to recognize a wider class of logic programs. The presented technique provides a significant improvement, as it can detect terminating programs not identified by other criteria proposed so far. Furthermore, it can be combined with other techniques to further enlarge the class of programs recognized as terminating under the bottom-up evaluation. </jats:p

    Querying Data Exchange Settings Beyond Positive Queries

    Full text link
    Data exchange, the problem of transferring data from a source schema to a target schema, has been studied for several years. The semantics of answering positive queries over the target schema has been defined in early work, but little attention has been paid to more general queries. A few proposals of semantics for more general queries exist but they either do not properly extend the standard semantics under positive queries, giving rise to counterintuitive answers, or they make query answering undecidable even for the most important data exchange settings, e.g., with weakly-acyclic dependencies. The goal of this paper is to provide a new semantics for data exchange that is able to deal with general queries. At the same time, we want our semantics to coincide with the classical one when focusing on positive queries, and to not trade-off too much in terms of complexity of query answering. We show that query answering is undecidable in general under the new semantics, but it is \co\NP\complete when the dependencies are weakly-acyclic. Moreover, in the latter case, we show that exact answers under our semantics can be computed by means of logic programs with choice, thus exploiting existing efficient systems. For more efficient computations, we also show that our semantics allows for the construction of a representative target instance, similar in spirit to a universal solution, that can be exploited for computing approximate answers in polynomial time. Under consideration in Theory and Practice of Logic Programming (TPLP).Comment: Under consideration in Theory and Practice of Logic Programming (TPLP

    GenBrick – A Rapid Multi-Part Assembly Method for BioBricks

    Get PDF
    This BioBricks Foundation Request for Comments (BBF RFC) describes a novel approach, GenBrick, for the rapid assembly of multiple BioBrick RFC10-compatible parts in a single reaction, with completely flexible part order, without recloning or reamplification

    Review of the results of the EASYDia international observational study. The effect of dose titration of diabeton MR on the effectiveness of treatment of type 2 diabetes

    Get PDF
    Although the number of antihyperglycemic agents has expanded significantly, sulfonylureas (in particular gliclazide MR) remain an important option in the treatment algorithms of type 2 diabetes mellitus (DM2). A large observational international study EASYDia in real clinical practice, assessing effectiveness of gliclazide MR 60 mg in patients with long-term DM2 on standard glucose-lowering therapy, showed that step-by-step intensification of therapy with gliclazide MR 60mg allows to achieve and maintain the target values of glycemia, with good tolerability even in maximum doses, low risk of hypoglycemia and no weight gain
    corecore