Resource PastaWithLightCreamCourse = model.getResource( ns + "PastaWithLightCreamCourse" );
// create two individuals Lunch and dinner that are instances of
// PastaWithLightCreamCourse and RedMeatCourse, respectively
model.createIndividual( ns + "MyLunch", PastaWithLightCreamCourse);
model.createIndividual( ns + "MyDinner", RedMeatCourse);
String queryBegin =
"PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\r\n" +
"PREFIX food: <http://www.w3.org/TR/2003/PR-owl-guide-20031209/food#>\r\n" +
"PREFIX wine: <http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#>\r\n" +