Happy birthday, George Washington! In case you’d forgotten, President’s Day in the United States isn’t actually celebrated on George Washington’s birthday: since 1971, it has fallen on the 3rd Monday in February, which means it’s always at least one day short of the first president’s actual birthday, February 22.
As you might imagine for a man referred to as “the father of the country,” the name “Washington” has taken on a life of its own—and as such, it provides a good opportunity to see how Wolfram|Alpha deals with cases where a single word can be interpreted in many different ways.
Type “Washington” on its own, and you’ll learn that the word could refer to a city, a U.S. state, a surname, a specific person, or a given name. For users in the United States, Wolfram|Alpha will assume you’re talking about the nation’s capital, and then give a list of alternate cities ranked by a combination of population, distance from your current location, and general popularity. But if you’re in the United Kingdom, the default assumption will be a place closer to home:
When you ask more-specific questions about “Washington”, Wolfram|Alpha is usually able to make even-more-intelligent assumptions about which Washington you really want know about. Ask for “distance from seattle to washington” and you’ll get the great-circle distance between two cities. Try to “compare virginia and washington“, and you’ll get a stat-by-stat comparison of the two U.S. states. Ask Wolfram|Alpha “when was Washington born?” and the result is the first U.S. president’s birthday; try “washingtons in 1900” and you’ll discover that about 28 U.S. residents were given that first name that year, or ask about “washington as a last name” and Wolfram|Alpha will reveal that more than 160,000 people had that last name in the 2000 U.S. Census.
Returning sensible, accurate answers to short questions might seem like child’s play—but in fact, this aspect of Wolfram|Alpha is incredibly complex. When everything works perfectly, you shouldn’t even notice the alternate assumptions for a given question. But if you’re not getting exactly the answer you were looking for, take a second look at the assumptions Wolfram|Alpha made when it computed your answer—you may find the answer you’re looking for by selecting a different interpretation, or at least discover some surprising facts you never knew existed.