public static ReasonerQueryImpl create ( Conjunction < Statement > pattern , TransactionOLTP tx ) { ReasonerQueryImpl query = new ReasonerQueryImpl ( pattern , tx ) . inferTypes ( ) ; return query . isAtomic ( ) ? new ReasonerAtomicQuery ( query . getAtoms ( ) , tx ) : query ; }
create a reasoner query from a conjunctive pattern with types inferred