addQuadLiteral
fun addQuadLiteral(subject: String, predicate: String, value: String, datatype: String? = XSD.STRING, language: String? = null, maxNumber: Int = 1)
Adds a triple whose object is a literal.
Replacement semantics match addQuad: when the maxNumber limit is reached for this subject/predicate, existing values are removed before the new one is added.
Parameters
value
the literal lexical value.
datatype
the literal datatype IRI; defaults to xsd:string.
language
a language tag for a language-tagged string, or null.
maxNumber
the maximum number of values to keep for this subject/predicate.