passing ontologies to threaded execution