WolframAlpha: A Magical Knowledge Engine

  • Thread starter Thread starter whybother
  • Start date Start date
  • Tags Tags
    Engine Knowledge
Click For Summary
The discussion centers around the anticipation and initial reactions to Wolfram|Alpha, a computational knowledge engine. Participants express excitement about its potential to process natural language queries and provide answers based on a vast curated database. However, many users voice disappointment regarding its current capabilities, noting that it often fails to understand questions or provide satisfactory answers, particularly for more complex inquiries. Some highlight that while it excels in specific mathematical computations, it struggles with general knowledge queries, leading to frustration. The conversation also touches on the need for improved natural language processing and a more extensive database to enhance its functionality. Users acknowledge that while Wolfram|Alpha represents a significant step forward in AI and computational tools, it has limitations that need addressing for it to fulfill its ambitious goals. The consensus suggests that while the platform has potential, it requires further development to meet user expectations effectively.
  • #91
If you guys want to see what most of the math in Griffiths's QM looks like, try

eigenvalue 3 2 sin(x) differential limit as k goes to 3

On W|A. lol. Obviously, just kidding a little bit. But you get the idea. It obviously has no intelligence at all. This is what happens when you hook up a TI to a database of information.
 
Physics news on Phys.org
  • #92
AUMathTutor said:
This is what happens when you hook up a TI to a database of information.

Nice hyperbole, but of course it is literally what you get when you hook up Mathematica to a database and try to accept natural language input.

In 5 minutes I made up the following queries that I liked:

Good facts for students writing social science essays:

'population china vs India vs us'
'gdp africa vs eu vs us'

Good for students in intro physics:

'time to fall'
'diffraction'
'Kepler's third law sun and earth'

Lots of good queries for math students of course.
 
  • #93
But not for students of CS. I've tried several CS-related queries, and apparently Wolfram didn't think that was important enough to include in the first release... ironically enough...
 
  • #94
I don't know how you guys can possibly criticize Wolram Alpha! This is the greatest thing since the invention of single serving pieces of bread containing 133 calories per serving.

I asked it, "What's it all about?" and discovered that 1 Albanian lek is equal to about 1.04 cents in American currency (this is a decrease in value from Jul 08 when 1 lek was equal to about 1.31 cents). I also discoverd that 1 lek is equal to about 1.58 kurus.

Actually, I think this article has some good points. The main impact of Wolfram Alpha will be to make Google searches better as Google has to compete.

When I compare Google and Wolfram alpha, Google has about 460 million daily visitors, while Wolfram Alpha has only about 460,000 daily visitors. That contrasts rather starkly on a graph.

When I ask is google crap (it's hard to format a question so that it's accepted), I find that google is better than CRAP. Google sells for $403.67 a share and CRAP sells for only $60.62 a share. More relevant, Google only dropped in value by about 30% over the past year while CRAP has dropped in value by about %50 over the past year.

Competition in crap stocks seems to have increased over the last year.
 
Last edited:
  • #95
From the article linked by BobG:

This is the eternal problem for any wannabe Google competitor. Wolfram Alpha doesn't revolutionize search; at best, it adds a marginally useful new layer on top of it. But Google can easily co-opt such improvements—and suddenly everyone's got a better Google.

If the line in bold were true, then I wouldn't care about W|A at all. But if you look at the technology that drives W|A, you will see that Google is 20 years + 1 super genius behind Wolfram Inc. This means that it will take a long time for google to match even the currently much-critisized performance of W|A. In the mean time W|A will be improving exponentially along with Mathematica, so Google will never really catch up.

In the many articles that compare W|A to google, the authors typically make shallow comparisons based on what someone may type into the engine over the course of a few minutes. A deeper comparison results from looking at the history of these projects and how they are driven by their technological foundations, and to see that W|A is built on a foundation that has been improving for longer than Google has existed.

Perhaps fans of Google should recall how the site began in 1998, what was it like searching for information on a web with far fewer pages, on 1998 hardware? Clearly when it was launched, Google was a product that would not really come into its own until the next decade. Whether this will also happen for W|A as I expect, or whether Google will be able to grow in new ways to stay competitive, only time will tell.

Google1998.png

The real google.com in 1998.

Edit:

But not for students of CS. I've tried several CS-related queries, and apparently Wolfram didn't think that was important enough to include in the first release... ironically enough...

It maybe a while before mainstream CS topics appear, because Wolfram's vision of CS has a lot more cellular automata and functional programming then the typical university curriculum. Look at the example page for computational science:

http://www.wolframalpha.com/examples/ComputationalScience.html"

But of course it is only a matter of time until mainstream CS topics are added, since there is nothing inherent about them that does not fit within the project.
 
Last edited by a moderator:
  • #96
Except google isn't starting from scratch. They're already part of the way there, even if most users don't use google as effectively as they could (http://www.google.com/intl/en/help/features.html).

The main thing google is missing is a good CAS system. While Mathematica, Maple, and Matlab are the most popular, there's quite a few other programs out there that are competitive in function (the disadvantage being that you wouldn't be able to interact with very many users with the less popular programs). MuPad is a good example. In some ways, it was even better than Matlab (the graphics were better, anyway), but then Mathworks just bought MuPad and eliminated the competition.

I think google could probably buy the CAS system; maybe even buy rights to one of the more popular programs.

I don't think Google could run Mathematica, Maple, and Matlab out of business in any event. I just think they could match whatever the other programs would be willing to put out there for free on the internet.
 
  • #97
BobG said:
I don't think Google could run Mathematica, Maple, and Matlab out of business in any event. I just think they could match whatever the other programs would be willing to put out there for free on the internet.

To answer this question, I asked "who's the big Guarilla in the room?" ( I went to Google. It corrected my spelling to 'Guerilla' so I wouldn't look stupid. :smile:) I decided to focus on Net Worth.

A lesson in nontechnical internet information searching, or something like it.

Google directed me to Wikipedia who informed me that Google was worth 18.5G. After learning the ropes WolframAlpha told me Google was worth 29.85G dollars. While there I asked WA the networth of Wolfram Research. WA didn't know what to do with my input. Have I the right corporate name? Is it a corportion? "What is Wolfram Research?" WA wouldn't tell me.

Back to Google; "What is Wolfram Research?" It's a 'company'. OK.. ask about 'Wolfram Research Company'; not 'Corporation'. WA was not forthcoming concerning such a company. Neither was Google.

Confusing Steven Wolfram with Eric Weisstein, I Googled Treasure Trove of Physics and discovered that Eric worked for Wolfram Research Inc., and that it is called WRI. Back to work.

WRI is Weingarten Realty Investors (NYSE)‎. Dead end. Googling Stock Quotes lead to Yahoo Finance. A dead end. Finally, after close reading, Wikipedia tells me WR is privately held. WolframAlpha doesn't know what to do with "what is Wolfram Research Incorporated?" But, as such, questions of worth are probable moot anyway. Oh well.
 
Last edited:
  • #98
I don't see any useful information for functional programming here.
definition referential transparency
definition function composition
definition lambda calculus
(lambda x.x y)
S ::= bSb | SaS | c, parse tree bcacb
(define (f g h x) (* (g x) (h x))) (f sin cos 1)

... It's a little arrogant of Wolfram to think that he knows better than the rest of the world what is important enough in CS to include in his "computational knowledge engine".

sort ascending (2 4 1 3 8)

I just don't get it. A precocious 5 year old wouldn't have trouble with this. This is arguably the simplest problem in CS, besides searching.

does ("cat", "squirrel", "tree") contain "squirrel"

Beyond me.
 
  • #99
AUMathTutor: The weird thing is those are all things Mathematica itself does. Like it's got foldl and composition and a full set of higher-order functions.

Which leads to another odd thing about Wolfram Alpha-- what happens when you type Mathematica statements into the search box. Sometimes it accepts it and sometimes it doesn't.

Interestingly, if you give Wolfram Alpha the input:

Sort[{2,3,1}]

It does the right thing! But the NLP engine doesn't appear to recognize the word "Sort".
 
  • #100
Coin said:
AUMathTutor: The weird thing is those are all things Mathematica itself does. Like it's got foldl and composition and a full set of higher-order functions.

Which leads to another odd thing about Wolfram Alpha-- what happens when you type Mathematica statements into the search box. Sometimes it accepts it and sometimes it doesn't.

Interestingly, if you give Wolfram Alpha the input:

Sort[{2,3,1}]

It does the right thing! But the NLP engine doesn't appear to recognize the word "Sort".


It's weird.

Type in "Find the intersection of 4x+1 and -x+6" and it will solve it.

Type in "Find the intersection of x^2 and x+10" and it recognizes nothing.
 
  • #101
My nitpick of that sort would be:

One of the first things I wound up doing with Wolfram Alpha, trying to think of things it might respond to, was to type in:

"Finite groups of order 2"

It immediately responded there was 1 finite group of order 2.

Curious, I tried something like:

"Finite groups of order (1..1000)"

And it immediately spit out the count of finite groups for all orders 1..1000. I then got briefly very excited and tried:

"Graph finite groups of order (1..1000)"

...but... at this point it refused. It actually even realized I wanted to plot the results of "finite groups of order (1..1000)", it gave me an "Input interpretation" saying so. But it for some reason refused to actually do it. It knows how to plot "1..1000"? Or "x^2". But not for some reason the results of FiniteGroupCount[1 to 1000]. Bizarre.
 
  • #102
The strength of Mathematica, and hence W|A, is not the CAS functionality - there are many other packages that do math - but rather the well-designed programming language.

Everything in mathematica is a computable expression, and every expression has a uniform symbolic structure. Contrast this with the toolkits and such in Matlab/Maple that put functionality in a separate window --- new capabilities must be 'tacked on' rather than fully integrated into the system.

Here is a plot of the growth of the number of functions in Mathematica over the years:

v7blog-functions.jpg


Along with an excerpt from a blog post by Stephen Wolfram upon the release of the latest version of Mathematica November 2008:

Watching our development process from the inside, I’ve definitely had the feeling in the past few years that we’ve been entering a new regime of growth. That everything we’ve integrated into Mathematica is interacting to let us somehow build almost exponentially more.

And the plot above suggests that something like that is really happening.

But what’s perhaps most striking is that even as the number of functions and the breadth of functionality have been growing so dramatically, we’ve succeeded in maintaining the unity of Mathematica—and of making sure that every piece of the system fits together in a coherent way.

That’s not been easy, of course. It’s the result of our long-term company culture and of a lot of systems that we’ve built up over the course of more than 20 years. (As well as thousands of hours of personal work by me.)

It’s very satisfying, though. Because it means that the things we so carefully built five, ten, twenty years ago are still there today, making possible our new achievements.

The strengh of Mathematica for a project like W|A is the uniformity of its design, the standard structure of expressions. This allows for the code to be extremely concise, because there is a minimum of special cases, and one can write functions that are very general and highly automated.

It has been said that W|A is already running over 5 million lines of Mathematica code: if it were even possible to write something like W|A in C++, in my experience it would be larger by a factor of 10, over 50 million lines.

Google uses python, C++, and java, and each function in
http://www.google.com/intl/en/help/features.html is seemingly coded as a special case --- just like adding new toolkits to the next version of Matlab or Maple. It's unlikely that we will ever see Google's weather data be computable against its sports data, but W|A, although it does not yet have sports data, is designed to do this sort of thing.

As Phrak discovered WRI is privately held, and I will be surprised if and when they ever go public --- somethings seem to matter more to Stephen Wolfram than money. Based on what I know about the man, I will be surprised if a big company like Google or MS is ever able to get a piece of Mathematica just by throwing money around, at least during Stephen's lifetime, but that's what everyone says before the cash presses start rolling:smile:

Wolfram emphasized from the beginning that private information would not be a part of W|A, and although I find in strange that the engine will not discuss it's creators, this is keeping with that general policy.

For those of you who like 'web 2.0' there is now a Wolfram|Alpha community website which allows posters to provide suggestions, and potentially data, etc:

http://community.wolframalpha.com/
 
  • #105
I like very much the "weather nameofthecity" option. It shows predictions more precisely than on the official meteorological website (in Argentina at least).
I've once type "Apex" because my girlfriend works for them, but it pointed a satellite and it's position over the ground. That was nice.
On the other hand it's not complete at all. For example if you type in "water triple point", it shows up some nice things, but if you type any other "liquid triple point", WA will get clueless.
 
  • #106
This wouldve been great a couple of years ago when i was in high school!
 
  • #107
  • #108
That's weird. If you swap the a and the b it still solves for x(b)
 
  • #109
WA does a good job of assuming certain things, like:

http://www.wolframalpha.com/input/?i=x''+++2+x'+-6+x+=+0"

which aides in user laziness,

but if you add a or b without specifying what the independent variable is, you should expect to get three possibilities, a(t), b(t) or x(t) and then it would have to solve all three. But it didn't happen like that, it just looks for an independent variable.
 
Last edited by a moderator:
  • #110
Competition. Find input that makes mathematica assume x is a function of 2
 
  • #112
Well I just discovered this website after reading a Popular Science article about it. It's sort of a cool idea, but it's basically useless for anything but an online calculator and fun facts about a limited number of topics. With expansion, I can see it being used for a quick way to look up physical properties and scientific constants, but right now even that capability is limited. Making it an engine that gives you an answer about anything is pretty ambitious IMO, but I suppose anything can be done with enough brainpower and computing power behind it...

All you can really do right now (besides solve mathematical equations which it does a pretty good job of, other than the fact you're not really sure how it was solved or how to get the result in a usable format) are things like type in "http://www.wolframalpha.com/input/?i=United+States"") and get a somewhat simplistic comparison of the three, but it just doesn't give a whole lot of useful of hard to find information... I'm more likely to look something up using Google or Wikipedia honestly.

One thing that did grab my interest at first was their example "http://www.wolframalpha.com/input/?i=steam 400F 60psi"" which looks up thermodynamic properties of steam at that state. Cool idea, but it deosn't give enough useful information right now. This might be a nice quick way to look up thermo values later on, but right now there just isn't enough there. It was able to look up R12, which I found promising, but all it gave were some simple values, nothing useful in a thermodynamics context.

Overall I'll be sticking with my usual sources for now, but this site does seem to have pormise as long as they focus their efforts a bit more on the "scientific," where numbers-based calculations are prolific.
 
Last edited by a moderator:
  • #113
Mech_Engineer said:
Well I just discovered this website after reading a Popular Science article about it. It's sort of a cool idea, but it's basically useless for anything but an online calculator and fun facts about a limited number of topics. With expansion, I can see it being used for a quick way to look up physical properties and scientific constants, but right now even that capability is limited. Making it an engine that gives you an answer about anything is pretty ambitious IMO, but I suppose anything can be done with enough brainpower and computing power behind it...

All you can really do right now (besides solve mathematical equations which it does a pretty good job of, other than the fact you're not really sure how it was solved or how to get the result in a usable format) are things like type in "http://www.wolframalpha.com/input/?i=United+States"") and get a somewhat simplistic comparison of the three, but it just doesn't give a whole lot of useful of hard to find information... I'm more likely to look something up using Google or Wikipedia honestly.

One thing that did grab my interest at first was their example "http://www.wolframalpha.com/input/?i=steam 400F 60psi"" which looks up thermodynamic properties of steam at that state. Cool idea, but it deosn't give enough useful information right now. This might be a nice quick way to look up thermo values late on, but right now there just isn't enough there. It was able to look up R12, which I found promising, but all it gave were some simple values, nothing useful in a thermodynamics context.

Overall I'll be sticking with my usual sources for now, but this site does seem to have pormise as long as they focus their efforts a bit more on the "scientific," where numbers-based calculations are prolific.

That was basically the response I had when I first saw Alpha-- pretty thin stuff, but with the potential to grow into something very useful. However, that was in April. Anyone in a position to say, has Alpha really improved any in the seven or so months it's been up?
 
Last edited by a moderator:
  • #114
Online Math Tool Recommendation: Wolfram Alpha

A Sample Input...

http://www.wolframalpha.com/input/?i=67092479/8191

And, boom, just like that,you can figure out, for instance, the repeating decimal period of 67092479/8191... = 1365.

Want pi to 100 digits? No problem. Just enter into the search box N[Pi, 100] and you'll get the following...

3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117068

More or less, if you play around with it, you'll see that this is the equivalent of the Google Calculator on steroids...

Another example that brings up different info...

http://www.wolframalpha.com/input/?i=e^(-phi^2)Raphie
 
  • #115


That's true. You can do much with that useful tool...
:smile:
 
  • #116
Last edited by a moderator:
  • #117
In the iphone version (not sure if there's a difference) "int sin x dx x=0 to 1" is recognized as the definite integral of sin x from 0 to 1, but "int f(x) dx x=0 to 1" is not recognized as integration.
 
  • #118
EnumaElish said:
In the iphone version (not sure if there's a difference) "int sin x dx x=0 to 1" is recognized as the definite integral of sin x from 0 to 1, but "int f(x) dx x=0 to 1" is not recognized as integration.

That is not an iPhone only problem, that is incorrect input formatting. If you replace "f(x)" with an actual function (like "sin x" in your first example) then it works fine.
 
  • #119
Mech_Engineer said:
That is not an iPhone only problem, that is incorrect input formatting. If you replace "f(x)" with an actual function (like "sin x" in your first example) then it works fine.

Also, if you replace f(x) with f'(x), it gives the correct answer: f(1)-f(0).
 
  • #120


Raphie said:
Wolfram Alpha... [is] a bit "fickle" and you've got to ask the question in the right way...

But that's interesting because it seems to defeat the entire point of Wolfram Alpha, doesn't it? I mean, the point of Wolfram Alpha is something like mathematica or a database engine except it allows you to phrase queries in natural language rather than having to learn some elaborate syntax. But if you have to learn to phrase the question in a particular idiosyncratic way, then we're back to just having a computational engine which can answer queries if you learn the syntax. We already had engines like that; for example, *mathematica*! The difference of course being that the syntax for mathematica is documented and it's possible to learn, whereas the syntax for Alpha is some mysterious hidden thing you can only just sort of guess at with trial and error, sometimes it will pick up what you're trying to say, sometimes it won't, with no clear pattern as to when or why...

Case in point...

Mech_Engineer said:
That is not an iPhone only problem, that is incorrect input formatting. If you replace "f(x)" with an actual function (like "sin x" in your first example) then it works fine.

I think it is valid formatting, Elish is trying to describe an integral of a function f where f is not presently known. The problem is whether it can interpret what you are trying to say. If you tell it "int f(x) dx" it correctly understands you are trying to describe an integral, it then presents the integral back to you and says "I don't know how to solve this", a totally sensible behavior. If you add the "from 0 to 1" back in though it just doesn't know how to interpret what you're saying at all. It would be unreasonable to expect something like wolfram alpha to be able to figure out any crazy thing you type in, but if "int f(x) dx" is valid syntax and "int sin(x) dx from 0 to 1" is valid syntax then why not "int f(x) dx from 0 to 1"?
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 35 ·
2
Replies
35
Views
2K
Replies
3
Views
3K
Replies
30
Views
3K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 18 ·
Replies
18
Views
6K
Replies
10
Views
4K
  • · Replies 100 ·
4
Replies
100
Views
8K