Homework #6: Triples in a Haystack
Due: 10-30
Description
The syllabus for this course contains RDFa. In this assignment, you'll be finding certain items within the annotation graph.
Assignment
List all the subject URIs, titles, and due dates for:
- All the homework assignments.
- All the project milestones (presentations).
Data
Each homework and project milestone is annotated as http://milowski.com/syllabus/Homework
and
http://milowski.com/syllabus/Presentation
. Each of these have a
and title
property.due
Essentially, you need to find the subject URI for each occurrence in the document of these various types. For each subject uri, find the various properties. Keep in mind that the subject URI might be generated from a blank node.
Hint: The Green Turtle implementation is loaded by default so you can just open the console and use the RDFa API to look for various items. You could even write a script to produce the answer.
Optional Enhancement
Now that you've been clever and found the data, write a script that generates a widget that displays a summary of the various due dates for homework and milestons.
What to Turn In
You must turn in the answers to both questions as a plain text file that lists, per line, each subject, title, and due date.
If you wrote a script, it would be nice to see the script but that is not required.
If you implement a widget, you need to turn a working copy of your modification of the syllabus page.