def compute_query_accuracy(res_reference, res_translation):
    """Compare two results from executing the SPARQL queries, and return the query accuracy"""
    
    return 1 if res_reference == res_translation else 0