SingleFact

data class SingleFact(val concept: Concept, val timestamp: Long, val value: String) : Fact(source)

Stores a single piece of information about a concept. Used when the concept represents a singular, atomic piece of knowledge that doesn't need to be broken down into multiple components.

Example: "The project uses Gradle as its build system"

Constructors

Link copied to clipboard
constructor(concept: Concept, timestamp: Long, value: String)

Properties

Link copied to clipboard
open override val concept: Concept

The concept property represents the distinct piece of knowledge associated with this fact.

Link copied to clipboard
open override val timestamp: Long

The timestamp indicating when the fact was created or stored, expressed as the number of milliseconds elapsed since the Unix epoch (January 1, 1970, 00:00:00 UTC).

Link copied to clipboard