LocalOntology implements Ontology { protected static void renderRestriction(PrintStream out, Restriction r) { if (!r.isAnon()) { out.print("Restriction "); renderURI(out, r.getModel(), r.getURI()); } else { renderAnonymous(out, r, "restriction"); } out.print(" on property "); renderURI(out, r.getModel(), r.getOnProperty().getURI()); } LocalOntology(); Ontology getInstance(); @Override void load(); @Override void load(String[] urls); OntologyParser getParser(); static OntModel getModel(); List<String> getLoadedOntologyResources(); @Override void merge(Ontology o); @Override Iterator<String> subclasses(String entitySearchTerm); @Override Iterator synonyms(String queryKeyPhrase); void addSearchTerm(String label, OntResource resource); Map<OntResource, String> retrieve(String label); static void renderClassDescription(PrintStream out, OntClass c, int depth); static final Logger LOG; static final String DELIMITER_SEARCHTERM; }
@Ignore @Test public final void testRenderRestriction() { fail("Not yet implemented"); }