>',
  version: 'v1-beta'
});

relationship_extraction.extract({
  text: 'IBM Watson developer cloud',
  dataset: 'ie-en-news' },
  function (err, response) {
    if (err)
      console.log('error:', err);
    else
      console.log(JSON.stringify(response, null, 2));
});</code></pre><h3>Retrieve and Rank</h3><p>Use the <a href="http://watson.stage1.mybluemix.net/watson/developercloud/retrieve-rank.html">Retrieve and Rank</a> service to enhance search results with machine learning.</p>
<pre class="prettyprin