I have free PDFs of the Lisp and Java versions of my semantic web book at
http://markwatson.com/opencontent/ The Java version uses both AllegroGraph and Sesame. I provide a wrapper for Sesame adding geolocation queries and text search (I embed Sesame, Lucene, and DerbyDB). Fun to hack on if you are so inclined. The code is on github.