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



The Weekly Top 10: PHP Web Development Resources

PHP is the topic of this week's round up of blog posts. We have a cheat sheat for upgrading from 5.x to PHP 7, a couple of reports of the improved performance you can expect from doing so and multiple [ ... ]

Turing's Computer Music

An often overlooked facet of the Alan Turing story is that he was the first to generate musical notes using a computer. This was as early as 1948 on the Manchester Mark I. A recording of the first com [ ... ]

More News

Last Updated ( Thursday, 09 June 2011 )

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