fact

Purpose

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

Syntax

fact([fact_type] [,term,…​])

Arguments

One or more optional arguments of string type:

  • The first argument restricts the fact type. You can use the full fact name ("Standard/Business/Acquisition", "Standard/Personal Info/Employment") or the short fact name ("Acquisition", "Employment");

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

The tables below list the fact parameters for each of the default fact types:

Business

  • Acquisition

  • Activity Location

  • Bankruptcy

  • Contacts

  • Investing

  • Joint Venture

  • Management Change

  • Merger

  • Ownership

  • Partnership

  • Physical Location

  • Share Rates

Personal Info

  • Age

  • Contacts

  • Employment

  • Formation

  • Gender

  • Identifiers

  • Personal

  • Occupation

You can also search for a specified attribute of a fact 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" fact.

In order to filter out the results of the fact() function, one can use the regex() function. Thus, the query fact("Activity Location", Match:="regex(.*Europe.*)") will leave in the results the Activity Location facts containing the word "Europe", for example, "France’s Antalis International business in Western Europe".

Returned Value

Documents matching the query.

Examples

fact() matches all facts;

fact(acquisition, "buyer type=people") matches the mentions of acquisitions made by people;

fact(joint venture, "company1=airbus group se", "company2 type=companies") matches the mentions of joint ventures the first participant of which is Airbus Group SE and the second is a company;

fact(ownership, "Owner Type=Companies", "Company Type=Companies") matches the mentions of subsidiaries.