This is the code for lab classes of SCC413. You need to add this into your IDE project and then add the lib files from Apache Jena into your classpath.