Yes

data class Yes(val query: String, val bindings: List<BindingPresentation> = emptyList(), val solvedQuery: String? = null, val metadata: Map<String, String> = emptyMap()) : SolutionPresentation

The goal succeeded; solvedQuery/bindings are pre-formatted, and metadata carries any extension's per-solution extras (e.g. PLP's probability), keyed by a well-known string name.

Constructors

Link copied to clipboard
constructor(query: String, bindings: List<BindingPresentation> = emptyList(), solvedQuery: String? = null, metadata: Map<String, String> = emptyMap())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val query: String

The query text this solution answers.

Link copied to clipboard