Disambiguation - dbpedia-spotlight/dbpedia-spotlight GitHub Wiki

For using the disambiguation web service, try to send a XML in the text field like:

<annotation text="The research, which is published online May 22 in the European Heart Journal, opens up the prospect of treating heart failure patients with their own, human-induced pluripotent stem cells (hiPSCs) to repair their damaged hearts.">
  <surfaceForm name="published" offset="23" />
  <surfaceForm name="May 22" offset="40" />
  <surfaceForm name="European" offset="54" />
  <surfaceForm name="Heart" offset="63" />
  <surfaceForm name="Journal" offset="69" />
  <surfaceForm name="prospect" offset="91" />
  <surfaceForm name="heart failure" offset="112" />
  <surfaceForm name="patients" offset="126" />
  <surfaceForm name="human" offset="151" />
  <surfaceForm name="stem cells" offset="177" />
  <surfaceForm name="hearts" offset="221" />
</annotation>

and use content negotiation (set the Accept: header in the HTTP Request) for different serialization formats: JSON (application/json) RDF (application/rdf+xml) RDFa (application/xhtml+xml).

If you use none of them HTML will be delivered.