throw new WebApplicationException(Response.status(Response.Status.BAD_REQUEST).entity(error).build());
}
try {
final SailGraph graph = ((SailGraph) rag.getUnwrappedGraph());
graph.addNamespace(reqObject.optString("prefix"), reqObject.optString("namespace"));
rag.tryCommit();
this.resultObject.put(Tokens.QUERY_TIME, this.sh.stopWatch());