Pystardog named graph select returns no results

Simple query returns no results. Pystardog version is 0.17.0.
Example from Python debugger:
ress = self._conn.select(q, bindings=b, default_graph_uri=[g])

!p ress
{'head': {'vars': ['ont_NG_iri']}, 'results': {'bindings': }}

!p q
'SELECT ?ont_NG_iri WHERE {?iri https://thematix.com/tools/BACM_3/ontology ?ont_NG_iri }'

!p b
{'iri': 'https://www.omg.org/spec/BACM/'}

!p g
'https://thematix.com/tools/BACM_3/ontologies'

The database has two triples in the named graph https://thematix.com/tools/BACM_3/ontologies that I can retrieve in Studio.

I have tried a number of variations of this query in Pystardog, including using the FROM and FROM NAMED clauses and replacing the bound variable with its bound value. All return no results.

Is there a way to see what the query plan is when using Pystardog?

Strangely, if I run the query in Studio using the FROM clause and replacing the bound variable, I get no results. It appears that Studio ignores the FROM and FROM NAMED clauses when the default unnamed graph is selected.

This issue is resolved.
If triples are inserted into a named graph and the insert graph uri parameter is a an IRI string enclosed in <>, the entire string including the <> becomes the name of the graph. A select query using a graph name without the <> will return no values.
Studio appears to know about this and will strip <> from graph names, making it impossible to create a select query that will access the graph whose name includes the <>.
The Pystardog documentation for 0.17.0 does not mention the need to strip the <> from URIs used as graph names. I found another post that happened to mention this, but did not realize that this requirement was unchecked either in the Python code that runs in the client or at the http server that receives the request.