def METHOD_NAME(string, mop_symmetry):
    """Using a MOP formula and Symmetry point group, checks if the MOP exists in the KG."""
    queryStr = """
    PREFIX OntoMOPs: <http://www.theworldavatar.com/ontology/ontomops/OntoMOPs.owl#>
	PREFIX OntoSpecies: <http://www.theworldavatar.com/ontology/ontospecies/OntoSpecies.owl#>
	PREFIX Measure: <http://www.ontology-of-units-of-measure.org/resource/om-2/>
    PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    SELECT ?MOPReference ?MOPFormula ?mopIRI ?Symmetry 
    WHERE
    {   
    ?mopIRI OntoMOPs:hasMOPFormula ?MOPFormula .
    ?mopIRI OntoMOPs:hasProvenance ?Provenance .
    ?Provenance OntoMOPs:hasReferenceDOI ?MOPReference .   
    FILTER ((?MOPFormula) = "#MOPReference").
    ?mopIRI OntoMOPs:hasAssemblyModel ?AssemblyModel .
    ?AssemblyModel OntoMOPs:hasSymmetryPointGroup ?Symmetry .
    FILTER ((?Symmetry) = "#SYMMETRY").
    }"""
    queryStr = queryStr.replace('#MOPReference', str(string))
    queryStr = queryStr.replace('#SYMMETRY', str(mop_symmetry))   
    return queryStr