Philosophy is the root of Wikipedia - an app to prove it?
Philosophy is the root of Wikipedia - an app to prove it?
Written by Mike James   
Thursday, 09 June 2011

A chance observation that following the first link on any Wikipedia entry leads eventually to page on Philosophy has inspired a neat demonstration of how to use HTML5 and JavaScript to build a web app.

In this case Jeffrey Winter has turned to JQuery and the InfoViz  toolkit and used them to create really nice graphics tree that builds up as the Wikipedia links are followed. You can specify a set of links and the app follows them drawing branches labeled with the subject on a Canvas element.

Just in case  you are looking at it with an old browser that doesn't support the Canvas element, it uses the JavaScript library excanvas to simulate it. That is, despite its apparent HTML5 credentials it's really JavaScript that is doing all the work!

All this shows just how powerful modern JavaScript is but it also show that - shock horror - Philosophy really does see to be the root of the entire tree of knowledge.

Of course it is a slightly self-fulfilling prophesy in that the app looks for links to Philosophy and stops when it finds one. Wikipedia isn't a single rooted tree but a more general complex graph for which extracting rooted subtrees should not be a difficult task.



Even so this app seems to have hit a chord and you can expect to see more Wikipedia graph analysis in the near future.

The code is open source and you can download it and modify it to prove that your particular choice of a general subject is the root of all knowledge.

The graphs are also intriguing in the way that they relate subjects together. Try a few subjects and then see if you can think of a subject that adds a substantial number of branches to the tree, i.e. a subject that is maximally distant from the tree you already have - it is harder than it seems.

Another way to spend a lot of time on the subject is to form hypotheses about what topics tends to funnel the references inevitably toward philosophy.

My next project is to find a way of proving the physics is the root of everything...

In the meantime just enjoy the user interface -  it really is a nice one.

More information

Try it out:  All Roads Lead to Philosophy



Udacity's Android Developer Nanodegree Updated To Android Architecture Components

Udacity's Android Developer Nanodegree gets up to speed with Android Architecture Components with an important update. This recognizes that the components are growing in popularity and can  even  [ ... ]

Are Perl Programmers Different?

The results of the 2018 Perl Developer Survey are now available. It looks at users of Perl 5 and includes questions on their attitude to Perl 6 and to other languages.

More News

Last Updated ( Thursday, 09 June 2011 )

RSS feed of news items only
I Programmer News
Copyright © 2018 All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.