I am looking for something similar to IBM Watson but open source.
I am not aware of any open-source products that can readily replace IBM Watson, but the following projects could be of interest to you in that regard:
Watson Content Analytics implements UIMA framework, according to this https://www.ibm.com/support/knowledgecenter/en/SS5RWK_3.5.0/com.ibm.discovery.es.nav.doc/iiysaovcapipe.htm
UIMA taking care the management of NLP pipeline, but the intelligence is actually comes from ‘annotators’.
You can rely on annotators from projects like GATE, Apache OpenNLP, Stanford CoreNLP, etc. But since these projects are not part of UIMA, they use their own document/sentence representation, so a UIMA wrapper is needed for conversion. GATE provided a detailed documentation for this. https://gate.ac.uk/sale/tao/splitch22.html#chap:uima
Have a look at the ChatScript project, whose description is
ChatScript is a "next Generation" chatbot engine, based on the one that powered Suzette, that won the 2010 Loebner Competition. ChatScript has many advanced features and capabilities that, when properly utilitized, permit extremely clever bots to be programmed. There is also a potentially useful ontology of nouns, verbs, adjectives, and adverbs for understanding meaning.