def METHOD_NAME(mopFormula):
    """This query is allocating the chemical building units from the queried MOPs from query 2"""
    queryStr3 = """
    PREFIX ontomops: <http://www.theworldavatar.com/ontology/ontomops/OntoMOPs.owl#>
    PREFIX ontospecies: <http://www.theworldavatar.com/ontology/ontospecies/OntoSpecies.owl#>
    PREFIX ontokin: <http://www.theworldavatar.com/ontology/ontokin/OntoKin.owl#>
    PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    PREFIX owl: <http://www.w3.org/2002/07/owl#>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
    PREFIX purl: <http://purl.org/dc/elements/1.1/identifier>
    SELECT ?BuildingUnitFormula ?MOP
    WHERE
    {?MetalOrganicPolyhedron ontomops:hasBuildingUnit ?BuildingUnit .
     ?BuildingUnit ontospecies:hasMolecularFormula ?BuildingUnitFormula .
     ?MetalOrganicPolyhedron ontomops:hasChemicalFormula ?ChemicalFormula .
     ?ChemicalFormula ontospecies:value ?MOP .
     ?ChemicalFormula ontospecies:value "#MOPFORMULA"
    }
    """
    queryStr3 = queryStr3.replace('#MOPFORMULA', str(mopFormula))
    return queryStr