KnowledgeGraphTripleProvenance

AI Overview😉

  • The potential purpose of this module is to provide information about the source and provenance of a Knowledge Graph triple, which is a piece of data that represents a relationship between entities. This module helps to track the origin, credibility, and governance of the data.
  • This module could impact search results by influencing the ranking and visibility of search results. For example, if a triple is marked as "supporting evidence" only, it may not be visible to external users. Similarly, the "accessRequired" field could restrict access to certain data based on contractual or legal requirements. The "policyMetadata" field could also affect the visibility of data based on data governance policies.
  • A website may change things to be more favorable for this function by providing clear and accurate information about the source and provenance of their data. This could include providing valid "datasetMid" and "sourceUrl" values, as well as accurate "creator" and "process" information. Additionally, websites could ensure that they comply with data governance policies and access controls to increase the visibility and credibility of their data.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphTripleProvenance (google_api_content_warehouse v0.4.0)

Message containing information about the source of this triple. See go/kg-provenance for an explanation of the fields.

Attributes

  • accessRequired (type: integer(), default: nil) - Specifies the contract or legal visibility required to see the Triple. See go/kg-triple-level-access-controls for details and background. Note that we use an int32 here so that we won't lose values when decoding on a stale binary. The int32 references to the enum storage_graph_bfg.Triple.Provenance.AccessRequirement.
  • creator (type: String.t, default: nil) - Historically, this field was used to encode the Freebase User ID, Google username, or Google MDB group that was responsible for the pipeline that is producing this data. However, there is currently no horizontal validation in place, and as of Q3 2018, this field is used essentially as a free-form string by multiple data providers. NOTE: Do not use this field in new pipelines without first consulting with the OWNERS of this proto.
  • datasetMid (type: String.t, default: nil) - The dataset which asserted this data. Must be a valid mid. See go/kg-provenance
  • isSupportingData (type: boolean(), default: nil) - Indicates that the corresponding data is supporting evidence for reconciliation only, and is not an assertion that should be visible to other systems or to external users. Note that this also means that no provenances indicating supporting data will be visible in the composed graph. Please see go/supporting-kg-triples-design-doc for additional details and background.
  • lgMetadata (type: GoogleApi.ContentWarehouse.V1.Model.StorageGraphBfgLivegraphProvenanceMetadata.t, default: nil) - Internal metadata used by Livegraph and possibly other horizontal KG infra systems. This is not part of the logical triple or its provenance, and contents may not be visible downstream of LG.
  • policyMetadata (type: GoogleApi.ContentWarehouse.V1.Model.StorageGraphBfgPolicyMetadata.t, default: nil) - Metadata specifying data governance policies. This information will be processed and enforced in KE systems. For more context, see go/ke-triple-dg-policy-and-metadata. WARNING: This field is WIP and please do not populate it without consulting ke-data-governance@.
  • process (type: String.t, default: nil) - An identifier for the process that asserted this triple.
  • restrictions (type: list(String.t), default: nil) -
  • sourceCategory (type: String.t, default: nil) - Used to measure impact of 3P contributions. See go/ke-metrics.
  • sourceDocId (type: String.t, default: nil) - The websearch doc_id of the source_url. Used in conjunction with source_category for measuring 3P contributions.
  • sourceUrl (type: String.t, default: nil) - If the triple was extracted from the web, the source URL where the assertion was found. Used for citation if needed (see restrictions field below).
  • spiiCertification (type: GoogleApi.ContentWarehouse.V1.Model.StorageGraphBfgSpiiCertification.t, default: nil) - A fact about potentially sensitive personal info (http://what/SPII) can be "certified" iff it meets specific requirements. See go/kg-spii-certification for details.

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphTripleProvenance{
  accessRequired: integer() | nil,
  creator: String.t() | nil,
  datasetMid: String.t() | nil,
  isSupportingData: boolean() | nil,
  lgMetadata:
    GoogleApi.ContentWarehouse.V1.Model.StorageGraphBfgLivegraphProvenanceMetadata.t()
    | nil,
  policyMetadata:
    GoogleApi.ContentWarehouse.V1.Model.StorageGraphBfgPolicyMetadata.t() | nil,
  process: String.t() | nil,
  restrictions: [String.t()] | nil,
  sourceCategory: String.t() | nil,
  sourceDocId: String.t() | nil,
  sourceUrl: String.t() | nil,
  spiiCertification:
    GoogleApi.ContentWarehouse.V1.Model.StorageGraphBfgSpiiCertification.t()
    | nil
}

Functions

Link to this function

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.