def METHOD_NAME():
    g = Graph()
    # adding example data for testing
    g.parse(
        data="""
            PREFIX ex: <http://ex/>
            PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
            ex:R1
              a rdf:Resource ;
              ex:hasChild ex:R2 , ex:R3 .
            ex:R2
              ex:propOne ex:P1 ;
              ex:propTwo ex:P2 .
            ex:R3
                ex:propOne ex:P3 ;
                ex:propTwo ex:P4 ;
                ex:propThree [
                    a rdf:Resource ;
                    ex:propFour "Some Literal" ;
                    ex:propFive ex:P5 ;
                    ex:propSix [
                        ex:propSeven ex:P7 ;
                    ] ;
                ] .
        """,
        format="turtle",
    )
    g.bind("ex", EX)
    yield g
    g.close()