relation

Purpose

Finds documents that contain argument term(s) corresponding to relations from the parent node "Relation Extraction".

This function is the alias for the fact function.

Syntax

relation([type],[attributes],…​)

Arguments

One or more optional arguments of string type:

  • The first argument restricts the relation type. You can use the full relation name ("Standard/Companies/Acquisition", "Standard/Companies and People/Employment") or the short relation name ("Acquisition", "Employment")

  • The second and the next arguments define the relation attributes.

You can also search for a specified attribute of a relation instead of the whole match.

A target attribute is set with field named parameter. For example, use Field:="Owner" to search for the company owners names in the found matches for the "Ownership" relation.

Returned Value

Documents matching the query.

Examples

relation(Standard/Companies/Ownership)

relation() finds all relations

relation(Investing, "Investor = Accel Partners", "Investee = Facebook Inc.")

relation(Affiliation, field:=Parent) finds Johnson & Johnson in the found relation of the type Affiliation: *Johnson & Johnson unit Ethicon Inc.