Mostrando entradas con la etiqueta Web Semántica. Mostrar todas las entradas
Mostrando entradas con la etiqueta Web Semántica. Mostrar todas las entradas

lunes, 2 de diciembre de 2013

Sentient code: An inside look at Stephen Wolfram’s utterly new, insanely ambitious computational paradigm

Stephen  Wolphram

In 2002 Stephen Wolfram released A New Kind of Science and immediately unleashed a firestorm of wonder, controversy, and criticism as the British-born scientist, programmer, and entrepreneur overturned conventional ideas on how to pursue knowledge. Earlier this month, he teased something with the capacity to create as much passion — and, likely, much more actual change — in the world of programming, computation, and applications.

Today, Wolfram gave me a glimpse under the hood in an hour-long conversation. And I have to say, what I saw was amazing.


Whether you think his 1,300-page tome on the future of scientific exploration is seminal or fanciful, you can’t question that the man is a genius. Born of Jewish parents who fled persecution in pre-WWII Germany (remind you of another scientist?), Wolfram wrote a dictionary on physics at age 12 and three books on particle physics by the time he was 14, publishing his first scientific papers at 15.

In 1988 he released the first version of Mathematica, a platform for technical computation, and in 2009, he released the Wolfram Alpha search engine, a computational knowledge engine. His new project, he says, is a perfect marriage.

“Mathematica is this perfect precise computation engine, and WolframAlpha is general information about the world,” Wolfram told me. “Now we can combine the two.”

The combination is just part of the picture. Included in the new project is natural language programming — not that a program can be created exclusively with natural language, but that a developer can use some natural language. Also included is a new definition of literally anything in your application — from code to images to results to inputs — as being usable and malleable as a symbolic expression. There’s a whole new level of automation and a completely divergent approach to building a programming language, away from the small, agile core with functionality pushed out to libraries and modules and toward a massive holistic thing which treats data and code as one. And there’s a whole new focus on computation that knows more about the world than the programmer ever could.

‘Insanely more ambitious’ than Google knowledge graph
But don’t compare it to Google’s knowledge graph or semantic search.

Wolfram
Components of the Wolfram language.
“The knowledge graph is a vastly less ambitious project than what we’ve been doing at Wolfram Alpha,” Wolfram says quickly when I bring it up. “It’s just Wikipedia and other data.”

Google wants to understand objects and things and their relationships so it can give answers, not just results. But Wolfram wants to make the world computable, so that our computers can answer questions like “where is the International Space Station right now.” That requires a level of machine intelligence that knows what the ISS is, that it’s in space, that it is orbiting the Earth, what its speed is, and where in its orbit it is right now.

That’s not static data; that’s a combination of computation with knowledge. WolframAlpha does that today, but that is just the beginning.

Search engines aren’t good at that, Wolfram argues, because they’re too messy. Questions in a search engine have many answers, with varying degrees of applicability and “rightness.” That’s not computable, not clean enough to program or feed into a system.

“We want to be right,” Wolfram told me. “Making the world computable is a much higher bar than being able to generate Wikipedia-style information … a very different thing. What we’ve tried to do is insanely more ambitious.”

It’s so ambitious, and so far-reaching, that it’s hard to describe. Wolfram says that of all the different things he’s done in his life, this is the most horribly complicated to explain. Remember, this is a man who has written on particle physics. It’s both intellectually deep and far-reaching, with many implications — “tentacles,” Wolfram calls them — into different areas of programming and science and knowledge and business.

There’s no good elevator pitch for the language, and even though it’s not entirely released yet, there are 11,000 pages of documentation already. In one of any number of nutshells, however, it’s a giant leap forward in building accessibility to the world’s knowledge, in making programs — and eventually things — smart.

Making the computer do the work
“In general, what we’re trying to do is so that as long as a person can describe what they want, our goal is to get that done. A human defines what the goal should be, and a computer does its best to figure out what that means, and does its best to do it,” Wolfram says.

I watched him do it, live.
Countries and flags in South America, thanks to Wolfram language. John Koetsier
In about 30 seconds, Wolfram created a small web application that drew circles on a web page and included a user interface so a visitor could make them bigger or smaller, or change their colors. That’s doable simply because the Wolfram language — with its access to a vast reservoir of knowledge — knows what a circle is and can make it, and it automatically provides web-native user controls to manipulate it. It was a trivial example, but in another 30 seconds, Wolfram built a code snippet that defined the countries in South America and displayed their flags. Then he called up a map of Europe and highlighted Germany and France in different colors computationally, in seconds.

This is only possible because the new Wolfram computational framework includes the complex and precise algorithms developed in over 20 years of Mathematica development, plus the knowledge engine built up inside WolframAlpha.

And the results are shocking.

Automation through information