URIMap uriMap = new URIMap();
SailConfiguration sailConfig = new SailConfiguration(uriMap);
Sail sail = sailConfig.getSail();
// Attach a Ripple model to the repository.
Model model = new SesameModel(sail);
// Attach a query engine to the model.
StackEvaluator evaluator = new LazyStackEvaluator();
QueryEngine qe
= new QueryEngine(model, evaluator, out, err);
// Attach an interpreter to the query engine and let it query from
// standard input.
RippleCommandLine r = new RippleCommandLine(qe, in);
r.run();
// Shut down.
model.shutDown();
}