Relation Feature Queries
The NLP API implements NLP models that are trained to recognize many types of relations that exist between entities. These relations are extracted by the NLP API into the Output Database. An introduction to relations is provided in the Relation Features documentation.
This section of the cookbook features SQL query examples that use the relations to extract information from the Output Database. This section contains examples of all the feature relations that NLP API supports such as Measurement, Medication, Qualifiers, Follow-ups and Imagelinks, except Experiencer relations. For examples of how to use the Experiencer relations are provided in the Concept Queries section. Look for queries which search for entities experienced by the patient.
It is recommended that you have some familiarity with entities, concepts and entity types before using relations for data retrieval. An introduction to these concepts are found here.

