Overview
The assessment is about implementing a Web site, which presents contents based on XML files, such as those downloaded from the Last.fm* web service. The Web site should include ontology-based features and make use of your ontology via SPARQL.
*Last.fm is a UK-based Internet radio and music community website, providing personalised streaming internet radio, with a recommendation, and song/artist/album tagging.
Task 1: XML and XSLT (CAS9-11)
You have been provided with 6 xml documents (folder CAS) which have been downloaded from the Last.fm web service. The file user_rj_topartists.xml briefly describes the user RJ and his top 5 music artists. The remaining XML documents describe each of RJ's top artists in some more detail (artist_aerosmith.xml, artist_direstraits.xml, artist_dreamtheater.xml, artist_metallica.xml, artist_milesdavis.xml).
Your task is to use XSLT to construct one or more XHTML pages from all six XML document. For example, you could have a page about the user RJ, linking to pages with further details about each of his top artists.
Task 2: Ontology Building and Population (CAS12-14)
Create an ontology which describes the data contained in XML documents from the previous task. Note that your ontology may depend on exactly how you have made use of the XML documents in the previous task. A simple example schema part of the ontology is shown in the diagram below:
Your ontology should contain a bit more structure than the above example. After constructing your ontology, populate it with appropriate Individuals using the data from the XML documents. You should explain the method that you use to accomplish this.
Task 3: SPARQL Querying (CAS15-17)
Now that the information from the XML documents is integrated into your Ontology, you can access all of the provided data using SPARQL queries. Create at least 5 SPARQL queries to retrieve information from your Ontology, some examples include:
• Retrieve basic user details.
• Retrieve artist details.
• List artists in order of popularity.
• List artists who have common related artists
At this stage you may wish to add some more information to your Ontology so that you can write more interesting queries.
Finally, use XSLT to transform the results from your SPARQL queries into one or more XHTML pages.
In order to get a full mark for this task, besides accomplishing the above, your Web site should be able to process SPARQL queries during run-time.
Task 4: Further Features (CAS18-20)
This task has been left open to allow you to add some more impressive features to your solution. These further features should be based on materials covered in this course. Some ideas include:
• Making use of AJAX.
• Integrating further information from Last.fm or other sources.
• Adding RDFa annotations to your web page(s).
What to submit
A single .zip file, which includes a file report.pdf. report.pdf is for your report of what you did for tasks 1 to 4 below.
• User manual of your Web site.
• Functionalities of your system. Please provide detailed examples to illustrate the functionalities of your Web site.
• Important data structures and algorithms that you used in your Web site.
• Descriptions on how your Web site deals with Tasks 1 to 4.
• Your findings during the implementation of the Web site.
Include all the required files and whatever other files (e.g. program source files) I need to see in order to understand in detail what you did in the .zip file.