Needless to say, there are all sorts of detailed controls provided. For determining the geolocation to assume. For specifying whether results should come back synchronously all together, or asynchronously in pieces when they are ready. And so on. It can also have a complete symbolic representation of each piece of the output, given as a Mathematica symbolic expression. Or it can have individual images, or text, that correspond to particular pods or parts of pods in the Wolfram|Alpha output. It can have a big HTML structure, suitable for reproducing a whole Wolfram|Alpha output page. That XML output can contain all sorts of different elements. Like most modern APIs, the Wolfram|Alpha API is a so-called REST-style API, that returns XML output. ![]() Well, if you were a program, all you’d do is instead use a URI of the form … And what you’d get back is a structure that you could use inside your program. What your web browser gets back from that URI is all sorts of HTML and Javascript and so on that makes it assemble the page you see. When you use the Wolfram|Alpha website, each query you type corresponds to a particular URI (effectively, web address), like. ![]() In the end the way it works is pretty simple. (These days, API is pretty much a term on its own, but it comes from “Application Program Interface”.) How does a program communicate with Wolfram|Alpha? It uses the Wolfram|Alpha API. Whether one’s building a website or a mobile app or desktop software or an enterprise application, the point is that one can use Wolfram|Alpha as a “knowledge-based computing” platform-so that having all sorts of computable knowledge becomes effectively free from an engineering point of view. And traditionally, the only way to get knowledge into a program was for the programmer to painstakingly put it there.īut with Wolfram|Alpha in the picture, it’s a different story. Because built into Wolfram|Alpha is already a huge amount of computable knowledge. And if a program is connected to Wolfram|Alpha, then it can immediately make use of all that knowledge. ![]() ![]() The reason for this popularity is really pretty simple: Wolfram|Alpha completely changes the economics of a lot of programming. You see, these days a remarkable number of programs rely on having some kind of knowledge. But it also turns out that Wolfram|Alpha is extremely useful to programs. And in fact, even today, the number of requests coming to Wolfram|Alpha each second from programs often exceeds by some margin all the requests coming directly from humans. I’m happy to say that it seems as if Wolfram|Alpha is pretty useful to humans-for example through the website. Wolfram|Alpha is making possible a whole new very interesting and very powerful kind of computing. And with the release today of version 2.0 of the Wolfram|Alpha API, it’s going to be considerably easier for a broad range of software developers to take advantage of it.
0 Comments
Leave a Reply. |