Added some example code based on the Jena tutorials.