Support passing SemanticQueryInterface constructor options.

Change-Id: I6e068873f00fdba37184296ce9a833baeba69496