Stav dette: On Tractable Queries and Constraints