Thompsonbry.systap added a comment.
Ok. That makes sense.
In terms of turning this feature on and off automatically, there are some
options. One is to add a query hint. See the
com.bigdata.rdf.sparql.ast.hints.QueryHintRegistry. It looks like this will
work out of the box for 3rd party query hints. Or if this is a generally
useful query hint (e.g., case hierarchy) then it could go into the core project.
Query hints passed through with the REST API requests are not processed in a
generic fashion. See BigdataRDFContext.AbstractQueryTask<init>. For example
this.analytic = getEffectiveBooleanValue(
req.getParameter(ANALYTIC), QueryHints.DEFAULT_ANALYTIC);
These hints are then propagated to the ASTContainer in setupQuery()
if (analytic) {
// Turn analytic query on/off as requested.
astContainer.setQueryHint(QueryHints.ANALYTIC, "true");
}
This could probably be turned into an extensible capability.
Bryan
TASK DETAIL
https://phabricator.wikimedia.org/T90128
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign
<username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Manybubbles, Thompsonbry.systap
Cc: Thompsonbry.systap, daniel, Beebs.systap, Haasepeter, Aklapper,
Manybubbles, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, GWicke,
JanZerebecki
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs