@Override public SubClassInclusionObjectHasSelfPropertyRangeMatch3 getSubClassInclusionObjectHasSelfPropertyRangeMatch3( SubClassInclusionObjectHasSelfPropertyRangeMatch2 parent, PropertyRangeMatch2 secondPremiseMatch) { return new SubClassInclusionObjectHasSelfPropertyRangeMatch3(parent, secondPremiseMatch); }
@Override public String visit( SubClassInclusionObjectHasSelfPropertyRangeMatch3 inferenceMatch3) { return inferenceMatch3.getParent() + " | "; }
@Override public Void visit( SubClassInclusionObjectHasSelfPropertyRangeMatch3 inferenceMatch3) { inferenceMatch3.getConclusionMatch(conclusionFactory_); // creating ELK inferences ElkClassExpression rangeMatch = inferenceMatch3.getRangeMatch(); SubClassInclusionObjectHasSelfPropertyRangeMatch2 inferenceMatch2 = inferenceMatch3 .getParent(); IndexedContextRootMatch extendedOriginMatch = inferenceMatch2 .getExtendedOriginMatch(); ElkObjectProperty propertyMatch = inferenceMatch2.getPropertyMatch(); elkInferenceFactory_.getElkClassInclusionReflexivePropertyRange( toElkExpression(extendedOriginMatch), propertyMatch, rangeMatch); return null; }
PropertyRangeMatch2 getSecondPremiseMatch( ConclusionMatchExpressionFactory factory) { return factory.getPropertyRangeMatch2( getParent().getSecondPremiseMatch(factory), getParent().getPropertyMatch(), getRangeMatch()); }
SubClassInclusionObjectHasSelfPropertyRangeMatch3( SubClassInclusionObjectHasSelfPropertyRangeMatch2 parent, PropertyRangeMatch2 secondPremiseMatch) { super(parent); this.rangeMatch_ = secondPremiseMatch.getRangeMatch(); ElkObjectProperty propertyMatch = secondPremiseMatch.getPropertyMatch(); if (!parent.getPropertyMatch().equals(propertyMatch)) { throw new ElkMatchException(parent.getParent().getParent() .getPremiseSubsumer().getProperty(), propertyMatch); } checkEquals(secondPremiseMatch, getSecondPremiseMatch(DEBUG_FACTORY)); }
@Override public Void visit( SubClassInclusionObjectHasSelfPropertyRangeMatch3 inferenceMatch3) { inferenceMatch3.getConclusionMatch(conclusionFactory_); // creating ELK inferences ElkClassExpression rangeMatch = inferenceMatch3.getRangeMatch(); SubClassInclusionObjectHasSelfPropertyRangeMatch2 inferenceMatch2 = inferenceMatch3 .getParent(); IndexedContextRootMatch extendedOriginMatch = inferenceMatch2 .getExtendedOriginMatch(); ElkObjectProperty propertyMatch = inferenceMatch2.getPropertyMatch(); elkInferenceFactory_.getElkClassInclusionReflexivePropertyRange( toElkExpression(extendedOriginMatch), propertyMatch, rangeMatch); return null; }
PropertyRangeMatch2 getSecondPremiseMatch( ConclusionMatchExpressionFactory factory) { return factory.getPropertyRangeMatch2( getParent().getSecondPremiseMatch(factory), getParent().getPropertyMatch(), getRangeMatch()); }
SubClassInclusionObjectHasSelfPropertyRangeMatch3( SubClassInclusionObjectHasSelfPropertyRangeMatch2 parent, PropertyRangeMatch2 secondPremiseMatch) { super(parent); this.rangeMatch_ = secondPremiseMatch.getRangeMatch(); ElkObjectProperty propertyMatch = secondPremiseMatch.getPropertyMatch(); if (!parent.getPropertyMatch().equals(propertyMatch)) { throw new ElkMatchException(parent.getParent().getParent() .getPremiseSubsumer().getProperty(), propertyMatch); } checkEquals(secondPremiseMatch, getSecondPremiseMatch(DEBUG_FACTORY)); }
@Override public Void visit( SubClassInclusionObjectHasSelfPropertyRangeMatch3 inferenceMatch3) { inferenceMatch3.getConclusionMatch(conclusionFactory_); // creating ELK inferences ElkClassExpression rangeMatch = inferenceMatch3.getRangeMatch(); SubClassInclusionObjectHasSelfPropertyRangeMatch2 inferenceMatch2 = inferenceMatch3 .getParent(); IndexedContextRootMatch extendedOriginMatch = inferenceMatch2 .getExtendedOriginMatch(); ElkObjectProperty propertyMatch = inferenceMatch2.getPropertyMatch(); elkInferenceFactory_.getElkClassInclusionReflexivePropertyRange( toElkExpression(extendedOriginMatch), propertyMatch, rangeMatch); return null; }
PropertyRangeMatch2 getSecondPremiseMatch( ConclusionMatchExpressionFactory factory) { return factory.getPropertyRangeMatch2( getParent().getSecondPremiseMatch(factory), getParent().getPropertyMatch(), getRangeMatch()); }
SubClassInclusionObjectHasSelfPropertyRangeMatch3( SubClassInclusionObjectHasSelfPropertyRangeMatch2 parent, PropertyRangeMatch2 secondPremiseMatch) { super(parent); this.rangeMatch_ = secondPremiseMatch.getRangeMatch(); ElkObjectProperty propertyMatch = secondPremiseMatch.getPropertyMatch(); if (!parent.getPropertyMatch().equals(propertyMatch)) { throw new ElkMatchException(parent.getParent().getParent() .getPremiseSubsumer().getProperty(), propertyMatch); } checkEquals(secondPremiseMatch, getSecondPremiseMatch(DEBUG_FACTORY)); }
@Override public String visit( SubClassInclusionObjectHasSelfPropertyRangeMatch3 inferenceMatch3) { return inferenceMatch3.getParent() + " | "; }
@Override public SubClassInclusionObjectHasSelfPropertyRangeMatch3 getSubClassInclusionObjectHasSelfPropertyRangeMatch3( SubClassInclusionObjectHasSelfPropertyRangeMatch2 parent, PropertyRangeMatch2 secondPremiseMatch) { return new SubClassInclusionObjectHasSelfPropertyRangeMatch3(parent, secondPremiseMatch); }
public SubClassInclusionDecomposedMatch2 getConclusionMatch( ConclusionMatchExpressionFactory factory) { return factory.getSubClassInclusionDecomposedMatch2( getParent().getParent().getConclusionMatch(factory), getParent().getExtendedOriginMatch(), getRangeMatch()); }
@Override public String visit( SubClassInclusionObjectHasSelfPropertyRangeMatch3 inferenceMatch3) { return inferenceMatch3.getParent() + " | "; }
@Override public SubClassInclusionObjectHasSelfPropertyRangeMatch3 getSubClassInclusionObjectHasSelfPropertyRangeMatch3( SubClassInclusionObjectHasSelfPropertyRangeMatch2 parent, PropertyRangeMatch2 secondPremiseMatch) { return new SubClassInclusionObjectHasSelfPropertyRangeMatch3(parent, secondPremiseMatch); }
public SubClassInclusionDecomposedMatch2 getConclusionMatch( ConclusionMatchExpressionFactory factory) { return factory.getSubClassInclusionDecomposedMatch2( getParent().getParent().getConclusionMatch(factory), getParent().getExtendedOriginMatch(), getRangeMatch()); }
public SubClassInclusionDecomposedMatch2 getConclusionMatch( ConclusionMatchExpressionFactory factory) { return factory.getSubClassInclusionDecomposedMatch2( getParent().getParent().getConclusionMatch(factory), getParent().getExtendedOriginMatch(), getRangeMatch()); }