public OWLObjectProperty getObjectProperty(String uri) { URI propertyURI = GetURLContents.getURI(uri); try { kb.read(propertyURI); } catch (Exception e) { e.printStackTrace(); } return kb.getObjectProperty(propertyURI); }
public OWLIndividual convertJenaToOWLIndividual(JenaIndividual ind) { URI uri = GetURLContents.getURI(ind.getURI()); try { kb.read(uri); } catch (Exception e) { e.printStackTrace(); } return kb.getIndividual(uri); }