FrameMaker { public abstract ClassFrame makeClassFrame(OWLClass c);  abstract Stub makeStub(OWLObject obj); abstract ClassStub makeClassStub(OWLObject obj); abstract PropertyStub makePropertyStub(OWLObject obj); abstract ClassFrame makeClassFrame(OWLClass c); Expression makeExpression(OWLClassExpression x); abstract Expression makeIntersectionOf(OWLObjectIntersectionOf x); abstract Restriction makeSomeValuesFrom(OWLObjectSomeValuesFrom x); String translateToJson(Frame f);  }
@Test public void testMakeClassFrame() throws Exception { ParserWrapper pw = new ParserWrapper(); OWLGraphWrapper g = pw.parseToOWLGraph(getResourceIRIString("regulation_of_anti_apoptosis_xp-baseline.obo")); FrameMakerLD fm = new FrameMakerLD(g); for (OWLClass c : g.getAllOWLClasses()) { ClassFrameLD f = fm.makeClassFrame(c); String json = fm.translateToJson(f); LOG.info(json); } }