def test_sparql_bnodelist():

    prepareQuery('select * where { ?s ?p ( [] ) . }')
    prepareQuery('select * where { ?s ?p ( [ ?p2 ?o2 ] ) . }')
    prepareQuery('select * where { ?s ?p ( [ ?p2 ?o2 ] [] ) . }')
    prepareQuery('select * where { ?s ?p ( [] [ ?p2 ?o2 ] [] ) . }')
syntax tests for a few corner-cases not touched by the
dataset/ETHPy150Open RDFLib/rdflib/test/test_sparql.py/test_sparql_bnodelist