sends several alternative queries to all the searchers that have been registered and returns the aggregated results . concode_field_sep ArrayList<KnowledgeMiner> kms concode_elem_sep ArrayList<KnowledgeAnnotator> kas concode_elem_sep int pending concode_elem_sep ArrayList<Result> results concode_elem_sep int MAX_PENDING concode_field_sep void queryKAs concode_elem_sep void waitForResults concode_elem_sep void addKnowledgeMiner concode_elem_sep void clearKnowledgeMiners concode_elem_sep void queryKMs concode_elem_sep ArrayList<Result> dropDuplicates concode_elem_sep void clearKnowledgeAnnotators concode_elem_sep void incPending concode_elem_sep void addResults concode_elem_sep void addKnowledgeAnnotator concode_elem_sep void waitForPending
Result [ ] function ( Query [ ] arg0 ) { results = new ArrayList < Result > ( ) ; pending = 0 ; if ( arg0 . length > 0 ) queryKAs ( arg0 [ 0 ] ) ; for ( Query loc0 : arg0 ) queryKMs ( loc0 ) ; waitForResults ( ) ; results = dropDuplicates ( results ) ; return results . toArray ( new Result [ results . size ( ) ] ) ; }