"""Create reasoning_engine
Generated by Phi-Octopus Eden
2025-11-06 23:59:07.619530
"""

```python
from typing import List, Dict

class KnowledgeBase:
    def __init__(self):
        self.knowledge = {}

    def add_fact(self, fact: str) -> None:
        """Add a new fact to the knowledge base."""
        if fact not in self.knowledge:
            self.knowledge[fact] = []

    def query(self, question: str) -> List[str]:
        """
        Query the knowledge base for facts that answer or are related to the question.
        
        Args:
            question (str): The question to be answered based on the current knowledge.

        Returns:
            List[str]: A list of relevant facts from the knowledge base.
        """
        return [fact for fact in self.knowledge if question in fact]

def reasoning_engine(kb: KnowledgeBase, question: str) -> Dict[str, bool]:
    """
    Reasoning Engine to answer questions based on available facts.

    Args:
        kb (KnowledgeBase): The knowledge base containing the facts.
        question (str): The user's query for which an answer is needed.

    Returns:
        Dict[str, bool]: A dictionary mapping each relevant fact to whether it answers the question directly or not.
    """
    relevant_facts = kb.query(question)
    
    # Evaluate if each fact directly answers the question
    result = {fact: (question in fact) for fact in relevant_facts}
    
    return result

# Example usage
if __name__ == "__main__":
    kb = KnowledgeBase()
    kb.add_fact("The sky is blue during daytime.")
    kb.add_fact("Water boils at 100 degrees Celsius.")
    kb.add_fact("Humans need oxygen to survive.")

    # Query the reasoning engine with a question
    answer_dict = reasoning_engine(kb, "What color is the sky?")
    print(answer_dict)  # Output should be {'The sky is blue during daytime.': True}
```