text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_11 (year INTEGER, event VARCHAR, venue VARCHAR)
  ### Question:
  What is the earliest year that a team event was included at Vilamoura, Portugal?
  ### Answer:
  SELECT MIN(year) FROM table_name_11 WHERE event = "team" AND venue = "vilamoura, portugal"