Jul 24

To figure out how Ontos API works, use our HTTP binding in order to get started with the web service and your personal dictionary. Proceed as follows:

  1. Log-in to your personal dictionary at http://test.ontos.com/dix in order to initialize the system for your user.
  2. Run a request to authenticate:
    http://test.ontos.com/token?j_username=YOUR_USERNAME&j_password=YOUR_PASSWORD.
  3. The request will return a session token (YOUR_TOKEN).

  4. Run a request to the NLP processor:

    http://test.ontos.com/api/miner?jsessionid=YOUR_TOKEN&query={
    "get":"process",
    "ontology":"api.common.english",
    "format":"NTRIPLES",
    "text":"Ontos AG participated in the Semantic Conference in San Jose and is planning to join ESTC2009 in Vienna this year."
    }

    This request will return a set of triples in JSON format. The processor recognized “Semantic Conference” as a conference, but didn’t do so for “ESTC2009″.

  5. Sign in to your personal dictionary at http://test.ontos.com/dix, select the instance type “Conference” and add ESTC2009.
  6. Re-run the request to the NLP processor. Now it will have recognized “ESTC2009″ as a conference as well.

See full documentation to learn more about what Ontos API can do.