"""Create reasoning_engine
Generated by Phi-Octopus Eden
2025-11-08 14:50:10.691677
"""

```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."""
        self.knowledge.append(fact)

    def get_facts(self) -> List[str]:
        """Get all facts in the knowledge base."""
        return self.knowledge

def reasoning_engine(facts: KnowledgeBase, query: str) -> bool:
    """
    Reasoning engine that checks if a given query can be derived from the facts.

    :param facts: An instance of KnowledgeBase containing known facts.
    :param query: A string representing the query to check against the knowledge base.
    :return: True if the query is derivable from the facts, False otherwise.
    """
    for fact in facts.get_facts():
        # Simple rule engine: checking if a fact directly contains the query
        if query.lower() in fact.lower():
            return True
    return False

# Example usage:
if __name__ == "__main__":
    kb = KnowledgeBase()
    kb.add_fact("The sky is blue.")
    kb.add_fact("Cats are cute animals.")

    print(reasoning_engine(kb, "Sky"))  # Output: True
    print(reasoning_engine(kb, "dog"))  # Output: False

```