private void RunEngine()
        {
            string selectedAnswer = this.GetSelectedAnswer();

            if (selectedAnswer.Contains("<") || selectedAnswer.Contains(">"))
            {
                facts.Add(Question.Domain + selectedAnswer);
            }
            else
            {
                facts.Add(Question.Domain + "[" + this.GetSelectedAnswer() + "]");
            }

            facts = ForwardChainingEngine.getInstance().checkRules(facts);

            Question q;

            if ((q = ForwardChainingEngine.getInstance().searchQuestion(Question.Domain, facts)) != null)
            {
                Question = q;
            }
            else
            {
                Movies   = ForwardChainingEngine.getInstance().searchMovies(facts);
                facts    = new List <string>();
                Question = ForwardChainingEngine.getInstance().searchQuestion("-", facts);
                finished = true;
                NotifyPropertyChanged(nameof(MovieListHeight));
            }
        }
        public QuestionsViewModel()
        {
            facts    = new List <string>();
            Question = ForwardChainingEngine.getInstance().searchQuestion("-", facts);

            RunEngineCommand = new Command(() => RunEngine());
        }