relationships

Extract relationships from input

Returns the relationships between entities in the input text. <br><br> The response is a list of extracted relationships. A relationship contains <br><br> predicate - usually the main verb, property or action that is expressed by the text<br> arg1 - usually the subject, agent or main actor of the relationship<br> arg1Id [optional] - the entity ID to link an entity to a knowledgebase <br> arg2 [optional] - complements the predicate and is usually the object, theme or patient of the relationship<br> arg2Id [optional] - the entity ID to link an entity to a knowledgebase<br> confidence - a measure of quality of relationship extraction, between 0 - 1

post/relationships

Request

  • Base URL: https://api.rosette.com/rest/v1
  • URL: https://api.rosette.com/rest/v1/relationships
  • Auth: API key in header X-RosetteAPI-Key

Request body

OR

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.