Linear Datalog and Bounded Path Duality of Relational Structures (Logical Methods in Computer Science, 2005)