2003 · 73 citations · 13 references
ComputingComputer ScienceInformation SystemsDatabasesLogicTheory Of ComputationPredicate LogicQuery ProcessingQuestion AnsweringSearch SystemsSearching AlgorithmsAutomata-theoretic CharacterizationsAutomata-theoretic SemanticsComplexityLinear ComplexityMonadic Second-order LogicQuery AnsweringSatisfiabilitySatisfiability Problem
A query against a database behind a site like Napster may search, e.g., for all users who have downloaded more jazz titles than pop music titles. In order to express such queries, we extend classical monadic second-order logic by Presburger predicates which pose numerical restrictions on the children (content) of an element node and provide a precise automata-theoretic characterization. While the existential fragment of the resulting logic is decidable, it turns out that satisfiability of the full logic is undecidable. Decidable satisfiability and a querying algorithm even with linear data complexity can be obtained if numerical constraints are only applied to those contents of elements where ordering is irrelevant. Finally, it is sketched how these techniques can be extended also to answer questions like, e.g., whether the total price of the jazz music downloaded so far exceeds a user's budget.
13
Weak Second‐Order Arithmetic and Finite Automata
J Büchi · Mathematical logic quarterly · 1960 · 819 citations
Rohit Parikh · Journal of the ACM · 1966 · 782 citations · Full text
Luca Cardelli, Andrew D. Gordon · 2000 · 351 citations