When performing the exact same query with Stardog Studio no contexts are returned, as expected. However, executing it programmatically retrieves statements that contain a default Stardog context; which, in this case, is not desired.
Is retrieving contexts with CONSTRUCT queries the expected behaviour? If so, can this be disabled in any way to prevent it from happening?
Your example is exactly the behavior I am encountering, my question revolves around the fact that executing the same query in Stardog Studio returns the requested triples without an added context, not even the default, hence my confusion. Finally, I would just like to know: if this is the expected behavior when using the connector, is there a way to disable it?
Stardog doesn't have the notion of a triple with NO context; having the default context is the same idea. The RDF produced by Studio is simply leaving the default context out because it doesn't need to be there.
I was wondering, since this behavior was not present in version 5, and it deviates from the SPARQL standard's expected behavior, is there a chance that a future release might implement a way for users to manage that configuration?