public class PropertyVisitor implements IPropertyVisitor<IOntologyConcept> {
public void inRelationship(IOntologyConcept node, IOntologyConcept friend, OWLPropertyExpression property) {
if (node != null && property instanceof OWLObjectProperty) {
OWLObjectProperty objectProperty = (OWLObjectProperty) property;
node.addSubjectRelation(new OntologyRelation(objectProperty.getIRI().toURI(), objectProperty.toString(), false, node, friend));
}
}