Knowledge Graph
One of the most basic tasks in Bigdata is to explore the extensive database of analytics that powers it.
The knowledge_graph
service lets users retrieve objects related to the search term passed as input. These objects can be:
- Entities: such as Companies, People, Places, Products, etc. are detected across the Bigdata universe.
- Topics: from the Bigdata taxonomy, representing macroeconomic, geopolitical, and business events.
- Sources: Bigdata’s ecosystem comprises key high-quality content sources, including web content, premium news, press wires, call transcripts, and regulatory filings, sourced from around 40,000 sources.
Get companies by market identifiers
Bigdata provides specialized methods to retrieve company information using unique market identifiers such as ISIN, CUSIP, SEDOL, or listings. These methods allow users to directly query the database for relevant companies based on their identifiers.
Each of these methods accepts a list of strings as input and returns a
list of corresponding company objects or None
for identifiers that
cannot be matched. The methods include:
get_companies_by_isin(isins: list[str])
get_companies_by_cusip(cusips: list[str])
get_companies_by_sedol(sedols: list[str])
get_companies_by_listing(listings: list[str])
Examples
These methods raise a TypeError
if the input is not a list of strings,
ensuring users provide valid data.
Autosuggest
To obtain analytic suggestions, the Bigdata Knowledge Graph is accessible through a simple method: autosuggest. By using this method, it is possible to query the extensive database, obtaining IDs and metadata of different objects based on user input.
As illustrated below, it is possible to easily generate portfolios or interest lists:
By using the classes provided within this wrapper, users can expect to receive company-related information when querying by search term, allowing for easy filtration of results:
Go to API Reference for the full list of domain objects and their methods.
Another way to filter knowledge graph results is by using the
find_{element}()
method. Here is an example based on the previous one:
The available elements for filtering are: find_companies
,
find_people
, find_organizations
, find_places
, find_products
,
find_sources
, find_topics
and find_etfs
.
Getting objects by ID
Next, we demonstrate how to fetch analytics in reverse, i.e., by providing an ID. When managing searches and handling responses, matches are often represented by IDs. To retrieve their metadata, the methods are available, supporting an array of items as input: