I have just pushed out a new version of my Duck Duck Go library for Ruby, which now allows you to pass the skip_disambiguation parameter to a query.

Normally, Duck Duck Go will return a disambiguation result for a query which has more than one possible result. Passing the skip_disambiguation parameter will force it to choose the most relevant result.

For example, searching for Bill Gates returns a disambiguation result. Add the skip_disambiguation parameter and you get the Bill Gates of Microsoft.

See the Duck Duck Go API docs for more information on the types of queries and their results.