@Override public O visit(ElkSubObjectPropertyOfAxiomConversion inference) { return conclusionVisitor_ .visit(inference.getConclusion(conclusionFactory_)); }
@Override public String visit(ElkSubObjectPropertyOfAxiomConversion inference) { return String.format("%s -| %s", inference.getConclusion(factory_), inference.getOriginalAxiom()); }
@Override public O visit(ElkSubObjectPropertyOfAxiomConversion inference) { return conclusionVisitor_ .visit(inference.getConclusion(conclusionFactory_)); }
@Override public String visit(ElkSubObjectPropertyOfAxiomConversion inference) { return String.format("%s -| %s", inference.getConclusion(factory_), inference.getOriginalAxiom()); }
@Override public String visit(ElkSubObjectPropertyOfAxiomConversion inference) { return String.format("%s -| %s", inference.getConclusion(factory_), inference.getOriginalAxiom()); }
@Override public O visit(ElkSubObjectPropertyOfAxiomConversion inference) { return conclusionVisitor_ .visit(inference.getConclusion(conclusionFactory_)); }
public IndexedSubObjectPropertyOfAxiomMatch2 getConclusionMatch( ConclusionMatchExpressionFactory factory) { ElkSubObjectPropertyOfAxiomConversion parent = getParent(); ElkSubObjectPropertyOfAxiom premise = parent.getOriginalAxiom(); ElkObjectPropertyExpression superPropertyExpression = premise .getSuperObjectPropertyExpression(); if (superPropertyExpression instanceof ElkObjectProperty) { return factory.getIndexedSubObjectPropertyOfAxiomMatch2( factory.getIndexedSubObjectPropertyOfAxiomMatch1( parent.getConclusion(factory)), premise.getSubObjectPropertyExpression(), (ElkObjectProperty) superPropertyExpression); } else { throw new ElkMatchException( parent.getConclusion(factory).getSuperProperty(), superPropertyExpression); } }
public IndexedSubObjectPropertyOfAxiomMatch2 getConclusionMatch( ConclusionMatchExpressionFactory factory) { ElkSubObjectPropertyOfAxiomConversion parent = getParent(); ElkSubObjectPropertyOfAxiom premise = parent.getOriginalAxiom(); ElkObjectPropertyExpression superPropertyExpression = premise .getSuperObjectPropertyExpression(); if (superPropertyExpression instanceof ElkObjectProperty) { return factory.getIndexedSubObjectPropertyOfAxiomMatch2( factory.getIndexedSubObjectPropertyOfAxiomMatch1( parent.getConclusion(factory)), premise.getSubObjectPropertyExpression(), (ElkObjectProperty) superPropertyExpression); } else { throw new ElkMatchException( parent.getConclusion(factory).getSuperProperty(), superPropertyExpression); } }
public IndexedSubObjectPropertyOfAxiomMatch2 getConclusionMatch( ConclusionMatchExpressionFactory factory) { ElkSubObjectPropertyOfAxiomConversion parent = getParent(); ElkSubObjectPropertyOfAxiom premise = parent.getOriginalAxiom(); ElkObjectPropertyExpression superPropertyExpression = premise .getSuperObjectPropertyExpression(); if (superPropertyExpression instanceof ElkObjectProperty) { return factory.getIndexedSubObjectPropertyOfAxiomMatch2( factory.getIndexedSubObjectPropertyOfAxiomMatch1( parent.getConclusion(factory)), premise.getSubObjectPropertyExpression(), (ElkObjectProperty) superPropertyExpression); } else { throw new ElkMatchException( parent.getConclusion(factory).getSuperProperty(), superPropertyExpression); } }