Stay organized with collections
Save and categorize content based on your preferences.
Understand the result
Enterprise Knowledge Graph writes results into a new BigQuery table for every job. This is a snapshot of the data at the time the job is executed. By default, every job generates a random cluster_id for each entity cluster. However, if you want to keep the ID stable among different job runs, use the previous BigQuery result table advanced option.
Output Schema
Field name
Type
Description
cluster_id
STRING
This cluster ID is a private knowledge graph machine ID (MID) assigned to this cluster of records. It can be used to uniquely identify the record in your dataset. You can use the Previous BigQuery table in the Advanced Options to keep this cluster_id stable and consistent across multiple runs.
source_name
STRING
The source name specified in the input configuration, to help you join dataset together.
source_key
STRING
The unique key in your source table, to help you join dataset together.
confidence
FLOAT
Confidence score that determines how strongly these records belong to this cluster.
assignment_age
INTEGER
Used internally for cluster_id (MID) stabilization across different jobs.
cloud_kg_mid
STRING
The Google Cloud Knowledge Graph linked entity MID. You could use this MID as your permanent ID or look up additional details from Cloud Knowledge Graph API.
Use SQL to join the dataset together
Enterprise Knowledge Graph outputs grouped entities by cluster ID. The simplest way to view the result is by using the cluster ID to "group by" your result. The following example performs a quick sanity check by joining the output table with the original table.
This entity cluster represents two different records that belong to the same cluster. This same cluster_id signals that these two records should be joined and merged.
Measure success
Pair-wise
Precision: Ratio of distinct entities incorrectly identified as similar false positives (easier to detect by manual inspection).
Recall: Ratio of similar entities that aren't identified as false negatives or harder to detect.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis product operates under the "Pre-GA Offerings Terms" and the Cloud Data Processing Addendum, as detailed in the Service Specific Terms.\u003c/p\u003e\n"],["\u003cp\u003ePre-GA products are offered "as is" and might have limitations in support, so you should refer to the launch stage descriptions for further details.\u003c/p\u003e\n"],["\u003cp\u003eEnterprise Knowledge Graph outputs results into a new BigQuery table with a unique \u003ccode\u003ecluster_id\u003c/code\u003e for each entity cluster, and using the previous BigQuery table advanced option will enable the \u003ccode\u003ecluster_id\u003c/code\u003e to remain stable.\u003c/p\u003e\n"],["\u003cp\u003eThe reconciliation confidence score can help users evaluate records that are less likely to be part of the same entity cluster, and the Cloud Knowledge Graph API can help further disambiguate entities using the cloud_kg_mid.\u003c/p\u003e\n"],["\u003cp\u003eKey metrics like precision, recall, and cluster V-measure, including homogeneity and completeness, are used to measure the success of entity clustering.\u003c/p\u003e\n"]]],[],null,[]]