Constitutes the refereed post-conference proceedings of the 17th International Conference on Applications of Declarative Programming & Knowledge Management, INAP 2007, & the 21st Workshop on Logic Programming, WLP 2007, held in Wurzburg, Germany, during October 4-6, 2007.