FreebaseValue

AI Overview😉

  • Potential purpose of module in simple language: This module, FreebaseValue, appears to be responsible for storing and managing complex data types and values associated with entities in the Knowledge Graph. It handles various data types, including booleans, integers, floats, strings, and more, as well as compound values that contain multiple facets or mediator topics. This module enables the Knowledge Graph to store and retrieve rich, structured data about entities.
  • Impact on search results: The FreebaseValue module likely influences search results by providing a robust framework for storing and querying complex data associated with entities. This enables the Knowledge Graph to provide more accurate and informative responses to user queries, especially those that involve entities with rich, structured data. By effectively managing complex data types, this module can improve the relevance and usefulness of search results.
  • Changes to be more favorable for this function: To be more favorable for the FreebaseValue module, a website could focus on providing high-quality, structured data about entities, such as people, places, and things. This could involve using schema.org markup, providing detailed descriptions, and ensuring data accuracy and consistency. Additionally, websites could prioritize entity disambiguation, ensuring that entities are correctly identified and distinguished from one another. By providing rich, structured data, websites can help the Knowledge Graph build a more comprehensive and accurate understanding of entities, ultimately improving search results.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

Values are effectively a union of several possible Knowledge Graph types: simple primitive datatypes such as booleans, integers and floats, references to other Knowledge Graph topics (by id), or "compound values" which are expressed as embedded topics with associated properties and values. Values occur in indexed order (if any).

Attributes

  • boolValue (type: boolean(), default: nil) - Present when value is bool.
  • citation (type: GoogleApi.ContentWarehouse.V1.Model.FreebaseCitation.t, default: nil) - Citation data for this value. See: http://go/kg-clap
  • compoundValue (type: GoogleApi.ContentWarehouse.V1.Model.FreebaseTopic.t, default: nil) - Compound values are those that contain either a number of simple valued facets (such as a latitude/longitude pair), or "mediator" topics representing multi-dimensional relationships between topics. In both cases we represent them here with an embedded topic, although the topic's identity is somewhat secondary to the property/value pairs it contains. (The identity is still made available so that it can be used to perform updates to that mediator on the Knowledge Graph.)
  • deletionProvenance (type: list(GoogleApi.ContentWarehouse.V1.Model.StorageGraphBfgTripleProvenance.t), default: nil) - Deletion provenance for this value.
  • displayLang (type: String.t, default: nil) - The lang of the display_value field.
  • displayValue (type: String.t, default: nil) - The display value of this value. This is a i18n-aware formatted value if present.
  • expectedProto (type: String.t, default: nil) - An optional name for a proto field.
  • floatValue (type: float(), default: nil) - Present when value is float.
  • idValue (type: GoogleApi.ContentWarehouse.V1.Model.FreebaseId.t, default: nil) - Present when value is an id.
  • index (type: String.t, default: nil) - Index of the value relative to the containing property (if any). Knowledge Graph supports a loose notion of indexing: some non-unique properties may have indices, while others may not. Furthermore, for a single property, some values may have indices (such as the top 5 actors in a film), while others may not (the film's supporting cast). Un-indexed values will appear at the end of the repeated value list. This field contains the index value only when is present in the Knowledge Graph.
  • intValue (type: String.t, default: nil) - Present when value is int.
  • lang (type: String.t, default: nil) - Whenever the value is text with TYPE_TEXT, the lang field is populated with the III LanguageCode associated with the string_value field.
  • latLongValue (type: GoogleApi.ContentWarehouse.V1.Model.FreebaseLatLong.t, default: nil) -
  • measurementValue (type: GoogleApi.ContentWarehouse.V1.Model.FreebaseMeasurement.t, default: nil) -
  • nestedStruct (type: GoogleApi.ContentWarehouse.V1.Model.FreebaseNestedStruct.t, default: nil) - Populated if this value holds NestedStruct. 'type' field needs to be set to TYPE_NESTED_STRUCT.
  • provenance (type: list(GoogleApi.ContentWarehouse.V1.Model.StorageGraphBfgTripleProvenance.t), default: nil) - Provenance for this value.
  • rawValue (type: String.t, default: nil) - Similar to string_value/etc but contains raw bytes.
  • stringValue (type: String.t, default: nil) - Present when value is text, enum,
  • subgraphId (type: list(String.t), default: nil) -
  • timestamp (type: String.t, default: nil) - The ISO-8601 timestamp corresponding to when this value was created (when it was written to the Knowledge Graph). Deprecated in favor of timestamp_usec.
  • timestampUsec (type: String.t, default: nil) - The microsecond timestamp corresponding to when this value was created.
  • type (type: String.t, default: nil) -

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.FreebaseValue{
  boolValue: boolean() | nil,
  citation: GoogleApi.ContentWarehouse.V1.Model.FreebaseCitation.t() | nil,
  compoundValue: GoogleApi.ContentWarehouse.V1.Model.FreebaseTopic.t() | nil,
  deletionProvenance:
    [GoogleApi.ContentWarehouse.V1.Model.StorageGraphBfgTripleProvenance.t()]
    | nil,
  displayLang: String.t() | nil,
  displayValue: String.t() | nil,
  expectedProto: String.t() | nil,
  floatValue: float() | nil,
  idValue: GoogleApi.ContentWarehouse.V1.Model.FreebaseId.t() | nil,
  index: String.t() | nil,
  intValue: String.t() | nil,
  lang: String.t() | nil,
  latLongValue: GoogleApi.ContentWarehouse.V1.Model.FreebaseLatLong.t() | nil,
  measurementValue:
    GoogleApi.ContentWarehouse.V1.Model.FreebaseMeasurement.t() | nil,
  nestedStruct:
    GoogleApi.ContentWarehouse.V1.Model.FreebaseNestedStruct.t() | nil,
  provenance:
    [GoogleApi.ContentWarehouse.V1.Model.StorageGraphBfgTripleProvenance.t()]
    | nil,
  rawValue: String.t() | nil,
  stringValue: String.t() | nil,
  subgraphId: [String.t()] | nil,
  timestamp: String.t() | nil,
  timestampUsec: String.t() | nil,
  type: String.t() | nil
}

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.