View Source GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefFreebaseType (google_api_content_warehouse v0.4.0)

The Freebase type information.

Attributes

  • provenance (type: list(String.t), default: nil) - Optional - for inferred types the principal source of information.
  • score (type: number(), default: nil) - Optional score. Not present in KG directly but e.g. in WPCat.
  • typeFprint (type: String.t, default: nil) - Fingerprint of type hrid http://cs/google3/repository/webref/universal/base/kg-schema.h;rcl=543911652;l=51
  • typeName (type: String.t, default: nil) - e.g.: "/business/industry", "/book/book_subject", "/people/person"... HRID of the type. May be missing for optimisation reasons in Refcon, but is present for Qref/Webref. At least one of type_name or type_fprint will be present at all times

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefFreebaseType{
  provenance: [String.t()] | nil,
  score: number() | nil,
  typeFprint: String.t() | nil,
  typeName: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.