"end";
KnowledgeBase kbase = SerializationHelper.serializeObject(loadKnowledgeBaseFromString(str));
StatefulKnowledgeSession ksession = createKnowledgeSession( kbase );
DomainObject do1 = new DomainObject();
do1.setId( 1 );
do1.setInterval( new Interval( 10,
5 ) );
DomainObject do2 = new DomainObject();
do2.setId( 1 );
do2.setInterval( new Interval( 20,
5 ) );
ksession.insert( do1 );
ksession.insert( do2 );
org.kie.api.runtime.rule.QueryResults results = ksession.getQueryResults( "queryWithEval" );