Similar Items: A Fragment of Dependence Logic Capturing Polynomial Time