Foundations of archaeological inquiry