Fact

data class Fact(val assertion: String, val authority: String, val metadata: Map<String, Any?> = emptyMap(), val id: String = UUID.randomUUID().toString()) : Source

A fact.

Parameters

assertion

the text of the fact

authority

the authority of the fact, such as a person

Constructors

Link copied to clipboard
constructor(assertion: String, authority: String, metadata: Map<String, Any?> = emptyMap(), id: String = UUID.randomUUID().toString())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val id: String
Link copied to clipboard
open override val metadata: Map<String, Any?>
Link copied to clipboard

Neighbors of this retrievable object. Allows navigation of a graph

Functions

Link copied to clipboard
open override fun embeddableValue(): String

Embedding value of this retrievable object.

Link copied to clipboard
open fun infoString(verbose: Boolean?, indent: Int): String