def METHOD_NAME(self, iri: str) -> Optional[dm.MinValue]:
    """Query the knowledge graph for the given MinValue instance IRI and return it as a MinValue object.
    Args:
        iri (str): The IRI of the MinValue instance
    Raises:
        Exception: There should only be one instance of Value for the given MinValue, but there are multiple or none
    Returns:
        Optional[dm.MinValue]: The MinValue instance as a MinValue object
    """
    query = f"""
        SELECT ?value ?num_val
        WHERE {{
            <{iri}> <{dm.DERIVATION_AGENT_PYTHON_EXAMPLE_HASVALUE}> ?value .
            ?value <{dm.DERIVATION_AGENT_PYTHON_EXAMPLE_NUMVAL}> ?num_val .
        }}"""
    response = self.performQuery(query)
    if len(response) == 1:
        return dm.MinValue(
            instance_iri=iri,
            hasValue=dm.Value(instance_iri=response[0]['value'], numVal=response[0]['num_val']),
        )
    else:
        raise Exception(f"There should only be one instance of Value for MinValue {iri}, however, found: {response}")