Optimization of a subclass of conjunctive queries (extended abstract)