Wikipedia Category Map

From AIRWiki
(Redirected from WikipediaCategoryMap)
Jump to: navigation, search
Wikipedia Category Map
Short Description: Tool for managing categories and pages in Wikipedia.
Tutor: DavidLaniado (, RiccardoTasso (
Students: CarloBandera (
Research Area: Social Software and Semantic Web
Research Topic: Semantic Tagging
Start: 2009/07/14
End: 2009/09/17
Status: Closed
Level: Ms
Type: Course

Project Name

Wikipedia Category Map

Project Short Description

Wikipedia articles are organized in a hierarchy of categories, manually assigned by users. This process can be considered a huge effort for the collective categorization of human knowledge; the result is a wide and disordered graph which can provide precious information for a variety of applications (natural language processing, information retrieval, ontology building...).

The objective of this project is the development of a tool for the visualization of this graph, providing a way for interacting with it.

GUI Tool Description

Here is shown the main window of the tool.


Starting from the top of the frame there are:

  • The field for indicating the Wikipedia site.
  • The field for indicating from which category the analisys will be starting from.
  • Three button:
    • for generating the RDF file,
    • for generating the graph given the created RDF,
    • for saving the RDF representation of the Wikipedia in a file.
  • The text area where the RDF will be shown.

When the "Generate Graph" button is pressed, the frame showed below appears.


In the bottom of the frame there are the controls for interacting with the graph.

There are:

  • Zooming controls.
  • Transforming and picking controls. Picking mode allow to select only a part of the graph.
  • Layout chooser.
  • Button for saving a snapshot of the graph.
  • Button for expanding step by step the graph.
  • Button for expanding the selected categories.
  • Button for collapsing categories.
  • Button for isolating nodes of the graph. It will show another frame.
  • Button for viewing the page directly connected to the selected category. If the user select more than one category, the union (set theory) of the page is returned. This button will show the pages in another frame.
  • When the check box Recursive is selected the previours button return the list of the pages of the sub-graph generated from the selected category.

Project Resources


It has been developed an ontology for representing the content of Wikipedia. It has been written in RDF and is available at:


MediaWiki is a free software wiki package written in PHP for querying the content of the wiki sites.


Jena is a Java framework for building Semantic Web applications. It provides a programmatic environment for RDF, RDFS and OWL, SPARQL and includes a rule-based inference engine. In this project is used for reading and writing RDF files.

This library is available at:


JUNG — the Java Universal Network/Graph Framework--is a software library that provides a common and extendible language for the modeling, analysis, and visualization of data that can be represented as a graph.

Project Documentation

It is available the documentation of the project. It is in italian.

Project Sources

The sources are available at: