Patch for issue where debugger did not reason and wanted to query a specific domain resulted in null pointer exception.
Fix for query where owl:Restrictions are defined in terms of a subproperty on the RHS of a owl:onProperty statement prevented the query engine from finding any results.