Input: Though prehistoric remains from the Paleolithic, Neolithic, and Bronze Ages have been unearthed in the Manzanares Valley, prior to Madrid's sudden elevation to capital city in 1561 its history was rather undistinguished. Over a period of many centuries crucial in Spanish history, Madrid's significance was negligible. The Romans built their most advanced outpost on the Iberian peninsula, but left nothing of consequence in Madrid. Armies of North African nomads, intent on disseminating Islam, invaded the peninsula in a.d. Within 10 years, they had overrun most of Spain. If Madrid played any role in these pivotal events, no record of it remains. The first solid references to this obscure settlement on the Castilian plateau, guarded by the looming Guadarrama mountain range, appear in the 9th century. The Arabic name for "place of many springs," variously recorded as Magerit, Mayrit or Magrit, eventually evolved into Madrid. The hamlet entered historical chronicles for its military significance; it was located near the main line of resistance to the Christian reconquest. Over centuries of struggle, the defending Moorish army built a full-scale fort, or Alcazar, on the heights of Madrid commanding the Manzanares valley. After several unsuccessful skirmishes, the Christian forces of Alfonso VI captured Madrid in 1083. The Alcazar became a fort of the crown of Castile. During a counter-offensive in 1109, the town was overrun by the Moors, but the Christianized fortress held. The Moors were expelled from the town, but they remained in control of southern Spain for almost four centuries. Meanwhile, Madrid enjoyed brief prominence in 1308 when king Ferdinand IV and his Cortes, an early version of parliament, held a formal meeting in the fledgling town. From then on, the kings of Spain began to visit Madrid, where the air was invigorating and the hunting excellent. Ferdinand and Isabella, the Catholic monarchs that united all the provinces of Spain, first visited Madrid in 1477.
"What caused the kings of Spain to begin to visit Madrid" is "Because of the hunting"?

OPTIONS:
- no
- yes
Output: yes
Input: A handful of Bronze Age relics has fostered an assumption that prehistoric settlers inhabited Ibiza thousands of years ago. Greater evidence of such a people is found on Mallorca and Menorca than on Ibiza, but one of the Balearics' most important sites is actually on the island of Formentera, where the megalithic monument/tomb of Ca Na Costa has been dated to 2000 b.c. Ibiza's key location between Africa and ancient Iberia made it a convenient stopover for Mediterranean seafarers, such as the Phoenician traders, who called the island Ibosim. The Greeks dubbed it Ebysos, the Romans called it Ebusus, and the Moors, Yebisah. The Carthaginians: A detailed history of the island doesn't begin until it became a colony of Carthage in the 7th century b.c. . The Carthaginians originally came from the area comprising present-day Lebanon, and from their bases in North Africa and what's now Spain, they challenged the Roman Empire for domination of the Mediterranean region. Their interest in Ibiza lay partly in its vast salt flats, which to this day remain the source of a profitable industry. They capitalized on the natural resources by using the salt to cure fish, which they exported to their home country. The Carthaginians also carried out lead mining and continued to be of significance up until this century. It is believed that the lead pellets which were used by the Carthaginian general Hannibal were made on Ibiza. The Carthaginians also considered the island a holy place, and here in great splendour they buried thousands of their citizens in a huge necropolis on the Puig des Molins (Hill of the Windmills) below the Dalt Vila (Old Town) of Ibiza. Under the gnarled olive trees archaeologists have uncovered a treasure trove of statues, jewellery, pitchers, tools, and coins, which are now displayed in the town's two archaeological museums. The Romans never really infiltrated Ibiza, and even after the defeat of Hannibal in 202 b.c. during the Second Punic War their influence was restrained. Only with the fall of Carthage in 146 b.c. did they manage to make inroads, but, as local historians stress, Ibiza was neither conquered nor annexed by Rome, but confederated, retaining remarkable autonomy. For centuries to come the old Carthaginian traditions were allowed to continue on Ibiza alongside the new Roman way of life.
"What did the Carthaginians want from Ibiza?" is "Salt flats for salt to cure fish"?

OPTIONS:
- no
- yes
Output: yes
Input: For much of the world, the Algarve is synonymous with Portugal, yet the Portuguese will tell you the exact opposite: the region has little in common with the rest of the country. The southern stretch of coast is more reminiscent of a North African landscape than a European one. It has no cosmopolitan cities, like Lisbon and Porto, which are farther north. Most of Portugal is known for quaint towns, medieval castles, and grand palaces. The Algarve is more recognizable for impenetrable blocks of tourist apartments, hotels, and meticulously manicured golf courses. And beaches. Think Algarve and the mind pictures long, glorious stretches of golden sands, secluded coves framed by odd ochre-colored rock formations, and deep green waters. With about 160 km (100 miles) of coastline, Portugal's southern province is one of Europe's premier beach destinations. The occasionally chilly ocean is the Atlantic, but the Algarve has a sultry Mediterranean feel. Its consistent climate is the best in Portugal, and one of the kindest in the world: more than 250 days of sunshine a yearmore than almost any other international resort area. The moderating effect of the Gulf Stream produces a fresh springtime breeze throughout winter, and in late January and February, white almond blossoms blanket the fields. In summer the heat is intense but rarely unbearable, and regardless, beautiful beaches and innumerable pools are always just a dive away. Magnificent year-round weather has made the Algarve a huge destination for sporting vacations. Superb golf facilities aboundseveral with tees dramatically clinging to cliffs and fairways just skirting the edge of the oceanand horseback riding, tennis, big-game fishing, sailing, and windsurfing are immensely popular. Sports, beaches and hospitable weathernot to mention easily organized package vacationsare surely the reasons the Algarve receives as many visitors as the rest of Portugal in its entirety. But it's not just international tourists that descend on the Algarve; many Portuguese from Lisbon and elsewhere in the north have holiday homes and spend their summer vacations here. The coast is neatly divided into the rugged Barlavento to the west and the flat beauty of Sotavento to the east. West is where you'll find the famous orange cliffs and surreal eroded rock stacks.
"What part of Portugal is not representative of the country's "quaint towns, medieval castles, and grand palaces?"" is "North Africa"?

OPTIONS:
- no
- yes
Output:
no