For the first part of the questions, i.e. looking at and answering questions about an ontology, download the following ontology file and use it to answer the questions: http://www.ida.liu.se/~evabl45/people.owl
Submit your ontology file (.owl file saved in RDF/XML syntax) by e-mail to firstname.lastname@example.org once you have also completed the above form.
Once you have loaded the ontology into you small program, you should add the following RDF-triple to the ontology:
Minnie has_pet Rex
Next you should recursively print out all the asserted subclasses of the class "publication" on the screen/in the terminal window. Your implementation is probably correct when it prints out the following list: magazine, newspaper, broadsheet, tabloid, quality_broadsheet, red_top (in any order).
Finally, you should save the OWL file with the added triple from your code.
Once you are done, send both the Java source file of your class and the resulting OWL-file that was saved when running the code, by e-mail to email@example.com