Of course! WolframAlpha is a question answering system developed by Wolfram Research. It's able to provide useful results to many questions in natural language. You can find it at https://www.wolframalpha.com/ where you can enter my query. You are correct in assuming that you can use the query directly, without any modifications. The result might look something like this:
Input interpretation: distance | from | Chicago, Illinois to | Tokyo, Japan
Result: 6313 miles
spam