There are actually a few other ways to query Stardog, however they all ultimately wrap some version of the HTTP API. I suppose, therefore, there is possibly a performance hit when using the APIs versus sending an HTTP call directly, but it would be negligible.
okay, so in general for pure query operations a direct http sparql call benefits from simplicity ( no elaborate dependencies ) where the performance tradeoff can be neglected.