The goal of this investigation should be to figure out if there is a way to mark requests coming from the QueryService UI to the wikidata blazegraph so that we can identify them in the discovery processed query table.
We should make sure to keep in mind that we might want to also record queries as coming from other WMDE maintained clients in the future. For example other querservice-ui's and the query builder. Therefore this mark should probably *not* look like queryservice-gui = true but instead more like client-provenance=queryservice-gui-<maybe version>.
See: https://wikitech.wikimedia.org/wiki/Provenance as a possible way to mark there requests with wprov query parameter. See also on that page the https://wikitech.wikimedia.org/wiki/X-Analytics header for where this comes out in the webrequest log. You can also consider adding stuff to this header clientside but only a limited set of keys are supported.