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.

 

phillosophy

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

 

Banner


We Built A Software Engineer
20/03/2024

One of the most worrying things about being a programmer today is the threat from AI. It has gone so far that NVIDA CEO Jensen Huang proclaims that you really shouldn't start training as a programmer  [ ... ]



Apache Superset 4 Updates Reports
15/04/2024

Apache Superset 4 has been released with improvements to the reporting module and redesigned alerts. Superset is a business intelligence web application. It is open source, provides data exploration a [ ... ]


More News

Last Updated ( Thursday, 09 June 2011 )