Complexity and expressive power of logic programming | Synapse