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.