Digital Cities and the Challenges for a Knowledge-Based View of the Territory: Evidence from Portugal