KnowledgeGraphTriple

GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphTriple


Table of Contents ▼

Jump to a specific part of the page:

Description

A Triple is a representation of data with a Subject, a Predicate, and an Object, For example: (Triple, IS-A, "data representation"). Triples are a very good representation of data where the relationship between data points is significant, because the Object of a Triple can be the Subject of another Triple: (Triple, HAS-A, Subject) (Subject, IS-A, "Term of a proposition") The ease with which Triples can represent relationships makes them an excellent candidate for representing graphs. Next id: 21

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. isNegation (type: boolean(), default: nil)
    - If is_negation is set to true then this triple is considered a statement that the fact is false. This allows for the storage of both what we know to be true and what we know to be false.
  2. obj (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphTripleObj, default: nil)
    - obj is the value of a relationship.
  3. pred (type: String.t, default: nil)
    - pred is an arbitrary node id representing the predicate (name) of a graph relationship.
  4. provenance (type: list(GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphTripleProvenance), default: nil)
    -
  5. qualifierSets (type: list(GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphQualifierSet), default: nil)
    - WARNING: This is currently defined for experimentation purposes only. Please do not set. Data set in this field will not be published to any systems downstream of Livegraph. Together with the SPO of this triple, each qualifier set here represents a different logical assertion/fact.
  6. sub (type: String.t, default: nil)
    - sub is an arbitrary node id representing the source entity of a graph relationship.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphTriple{
isNegation: boolean() | nil,
obj: GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphTripleObj.t() | nil,
pred: String.t() | nil,
provenance: [GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphTripleProvenance.t()] | nil,
qualifierSets: [GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphQualifierSet.t()] | nil,
sub: String.t() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphTriple