Resolution
Introduction
This guide covers the Resolution endpoint.
Resolution leverages elastic search and natural language processing (NLP) techniques to accurately match queries with the most relevant results. The response includes an entity attribute profile, an entity_id
, and an explanation with match_strength
, helping you understand the confidence level for each match.
The Resolution endpoint is recommended for screening purposes or when clients need to validate entities of interest against the Sayari Knowledge Graph.
Please note: Sayari consistently enhances and refines its match resolution logic. Consequently, the results outlined in the guide below are for demonstration purposes and may not reflect the latest updates.
Entity Request
To initiate a request, at a minimum, the name
of the entity is required. For optimal results, we advise providing additional attributes such as address
, country
, and type
to facilitate high-confidence matches.
The endpoint also supports identifier
, contact
, and date_of_birth
attributes. Although not mandatory, including these attributes significantly increases the likelihood of obtaining accurate matches by offering more specific query parameters.
Sample Request - Medium Confidence
The following example demonstrates a request yielding medium confidence results with multiple plausible matches:
Given only name
and country
attributes, there might be multiple entities with the name “Victoria Beckham” in Great Britain, despite it being a relatively unique name.
Parameters
name
: Victoria Beckhamcountry
: GBR
Response Review
The response lists four potential matches. Without additional attributes like an address
or identifier
, we cannot assign a match_strength
of “strong”, which leads to all matches being categorized as “weak”. However, each match has highQualityMatchName
: true, which indicates a high-quality match for the name and suggests a unique match possibility.
Data Summary
data
: An array of match hitsdata[].entity_id
: The matched Sayari entity ID for subsequent callsdata[].label
: The name of the matched Sayari entitydata[].type
: The type of the matched Sayari entitydata[].identifiers
: Unique identifiers for the matched entitydata[].addresses
: Physical locations associated with the entitydata[].countries
: Countries where the entity operatesdata[].sources
: Data sources contributing to the entity informationdata[].matched_queries
: Fields that matched the search query, confirming the relevancedata[].explanation
: Includes highlighted text to emphasize the match andmatch_strength
to indicate result confidence
Sample Request - High Confidence
Enhancing the query with an address
attribute and specifying a type
can lead to a high-confidence match and fewer results:
Parameters
name
: Victoria Beckhamaddress
: Hammersmith Road, London, W6 7DNcountry
: GBRtype
: person
Response Review
Incorporating the address
and type
attributes allows the Resolution endpoint to return a single, high-confidence match with a match_strength
of “strong”.
Congratulations! You just completed the Resolution Guide.