    console.log('error:', err);
    else
      console.log(JSON.stringify(response, null, 2));
});</code></pre><p><strong>Note:</strong> Don't forget to update the <code>text</code> variable!</p>
<h3>Relationship Extraction</h3><p>Analyze an English news article and get the relationships between sentence
components (nouns, verbs, subjects, objects, etc.) by using the
<a href="http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/sireapi/">Relationship Extraction</a> service.</p>
<pre class="pr