public static ReasonerQueryImpl create ( ReasonerQueryImpl q , ConceptMap sub ) { return q . withSubstitution ( sub ) . inferTypes ( ) ; }
create a reasoner query by combining an existing query and a substitution