View Source GoogleApi.ContentWarehouse.V1.Model.StorageGraphBfgTripleProvenance (google_api_content_warehouse v0.3.0)

a message containing information about the source of this triple. Note for freebase data: that this is an unpacking of the creator/attribution chain. The creator below is the actual creator of the attribution node, and the rest of the attribution data sits along side. Next id: 22

Attributes

  • accessRequired (type: String.t, default: nil) - Data providers shall use this to specify access requirement.
  • accessRequiredInt (type: integer(), default: nil) - For KE internal use only. Data providers shall not set this. At ingress, LG Record service will read access_required and properly translate it to access_required_int. KE horizontal systems shall use this field instead of access_required; so that binaries would not depend on the release of a newly introduced AccessRequirement enum. (go/easy-ar-onboarding)
  • authoringTimestamp (type: String.t, default: nil) -
  • creator (type: String.t, default: nil) - Freebase: the freebase user id in the form '/user/userid' KG: the Google LDAP of the developer or MDB group that set up the triplification and import pipeline for this data source.
  • dataset (type: String.t, default: nil) - Freebase & KG: the dataset the assertion was loaded from
  • extractionPattern (type: String.t, default: nil) -
  • extractionTimestamp (type: String.t, default: nil) -
  • freebaseAttribution (type: String.t, default: nil) - Below are deprecated Provenance fields. They are not indexed or served in KE infrastructure (they are stripped at ingress in Livegraph).
  • 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. If a triple is sent to Livegraph with multiple provenances each of them must have is_supporting_data bit set for it to be considered valid supporting evidence triple.
  • 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) - Used to uniquely identify data sources. Freebase: the OAuth application KG: the name of the source directory the triple was loaded from (eg, "amg", "tms ", "collections"). KV: identifier of an extraction system, e.g., SAFT or Tractzor.
  • provenanceExtension (type: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t, default: nil) -
  • rankingToken (type: String.t, default: nil) - 'rankingtoken' (which must be accompanied by the 'process' field above or will be ignored) is used to distinguish subsets of data within a single process, solely for the purposes of composition in Livegraph. This field is useful when partitioning of data is needed, but using a separate process is intractable due to organizational or infrastructure limitations. For example, if a process such as "geo" wishes to distinguish some of their /type/object/name triples as higher priority in Composer's conflict resolution rules, then they can add a config entry with a dedicated ranking_token and tag the relevant triples with that ranking_token. This field should only be used in conjunction with a Composer-side configuration to use it for value selection. It is not appropriate to use this field as free-form metadata. This value must match [[:alnum:]][[:alnum:]-]{0,127} (i.e., [a-zA-Z0-9]+[a-zA-Z0-9_-]* and must be less than 128 characters in length) , or else its containing triple will be considered malformed and will be rejected by Livegraph at ingress. As of 2018-02-14, this field is used within Livegraph's Composer and is exposed in Livegraph's Lookup APIs to aid debugging, but it is not indexed or served by TopicServer.
  • requiresTriangulation (type: boolean(), default: nil) - When specified as part of triples input to Livegraph (go/livegraph), this indicates that the triple needs to be triangulated by 3 different sources before it can be served in production. A triple's source is identified by its URL(provenance.source).host(). Please see go/baike-triangulation for more background on this. WARNING: If you're a new client trying to enable triangulation for your feed, please contact lg-composition@/kashk@ before using this feature.
  • restrictions (type: list(String.t), default: nil) -
  • source (type: String.t, default: nil) - Freebase & KG: if the triples were extracted from the web, the source URL where the assertion was found. (generally empty in freebase-sourced triples) TopicServer will serve/populate/retain if REQUIRES_CITATION is also set, or if the process is explicitly allowed. http://g/topic-server/vn9PBWtVKqI/arQEDqKTAgAJ
  • sourceCategory (type: list(String.t), default: nil) -
  • sourceDocId (type: list(String.t), default: nil) -
  • spiiCertification (type: GoogleApi.ContentWarehouse.V1.Model.StorageGraphBfgSpiiCertification.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.StorageGraphBfgTripleProvenance{
  accessRequired: String.t() | nil,
  accessRequiredInt: integer() | nil,
  authoringTimestamp: String.t() | nil,
  creator: String.t() | nil,
  dataset: String.t() | nil,
  extractionPattern: String.t() | nil,
  extractionTimestamp: String.t() | nil,
  freebaseAttribution: 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,
  provenanceExtension:
    GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
  rankingToken: String.t() | nil,
  requiresTriangulation: boolean() | nil,
  restrictions: [String.t()] | nil,
  source: String.t() | nil,
  sourceCategory: [String.t()] | nil,
  sourceDocId: [String.t()] | nil,
  spiiCertification:
    GoogleApi.ContentWarehouse.V1.Model.StorageGraphBfgSpiiCertification.t()
    | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.