* Test bug with leaking variables which results in an incorrect "range = Nothing" deduction.
*/
public void testRangeBug() {
Model model = FileManager.get().loadModel("file:testing/reasoners/bugs/rangeBug.owl");
// Model m = ModelFactory.createDefaultModel();
Reasoner r = ReasonerRegistry.getOWLReasoner();
InfModel omodel = ModelFactory.createInfModel(r, model);
String baseuri = "http://decsai.ugr.es/~ontoserver/bacarex2.owl#";
// Resource js = omodel.getResource(baseuri + "JS");
Resource surname = omodel.getResource(baseuri + "surname");
Statement s = omodel.createStatement(surname, RDFS.range, OWL.Nothing);