Software factory for rapid engineering of ontology-driven information retrieval systems