Evaluating tourism demand using search queries and functional models