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


Amazon Adds Agents To Q Developer
05/12/2024

Amazon has announced enhancements to Amazon Q Developer, including agents that automate unit testing, documentation generation, code reviews, and a capability to help users "address operational issues [ ... ]



OpenSilver Adds XAML Designer For Visual Studio Code
12/12/2024

OpenSilver 3.1 has been released. This version adds a drag-and-drop XAML designer for Visual Studio Code (VS Code), a new modern UI theme, and expanded support for WPF features. The open-source altern [ ... ]


More News

Last Updated ( Thursday, 09 June 2011 )