// map imported schema
if (target!=null) {
File b = target.getCanonicalFile();
if (!b.isDirectory()) b = b.getParentFile();
schema.toOWL(new File(b, l),base.toString(),false, new Context(base, ctx));
}
else schema.toOWL((File)null,base.toString(),false, new Context(base, ctx));
}
}
catch (Exception e) {
e.printStackTrace(System.err);
}