self.nodes[node] = properties
        else:
            self.nodes[node].update(properties)
[docs]    def return_node_list(self) -> List[Node]:
        """
        Returns the nodes as a list of Node objects.
        Each Node object will have its ID, type, and properties populated.
        Returns:
            List[Node]: A list of Node objects.
        """
        nodes = [
            Node(id=key[0], type=key[1], properties=self.nodes[key])
            for key in self.nodes
        ]
        return nodes
# Properties that should be treated as node properties instead of relationships
FACT_TO_PROPERTY_TYPE = [
    "Date",
    "Number",
    "Job title",
    "Cause of death",
    "Organization type",
    "Academic title",
]
schema_mapping = [
    ("HEADQUARTERS", "ORGANIZATION_LOCATIONS"),
    ("RESIDENCE", "PERSON_LOCATION"),
    ("ALL_PERSON_LOCATIONS", "PERSON_LOCATION"),
    ("CHILD", "HAS_CHILD"),
    ("PARENT", "HAS_PARENT"),
    ("CUSTOMERS", "HAS_CUSTOMER"),
    ("SKILLED_AT", "INTERESTED_IN"),
]
[docs]class SimplifiedSchema:
    """
    Provides functionality for working with a simplified schema mapping.
    Attributes:
        schema (Dict): A dictionary containing the mapping to simplified schema types.
    """
[docs]    def __init__(self) -> None:
        """Initializes the schema dictionary based on the predefined list."""
        self.schema = dict()
        for row in schema_mapping:
            self.schema[row[0]] = row[1]
[docs]    def get_type(self, type: str) -> str:
        """