Abstract

The FO Model Counting problem (FOMC) is the following: given a sentence ΦΦ in FO and a number nn, compute the number of models of ΦΦ over a domain of size nn; the Weighted variant (WFOMC) generalizes the problem by associating a weight to each tuple and defining the weight of a model to be the product of weights of its tuples. In this paper we study the complexity of the symmetric WFOMC, where all tuples of a given relation have the same weight. Our motivation comes from an important application, inference in Knowledge Bases with soft constraints, like Markov Logic Networks, but the problem is also of independent theoretical interest. We study both the data complexity, and the combined complexity of FOMC and WFOMC. For the data complexity we prove the existence of an FO3^{3} formula for which FOMC is #P1_1-complete, and the existence of a Conjunctive Query for which WFOMC is #P1_1-complete. We also prove that all γγ-acyclic queries have polynomial time data complexity. For the combined complexity, we prove that, for every fragment FOk^{k}, k≥2k\geq 2, the combined complexity of FOMC (or WFOMC) is #P-complete.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.