lower
relationalai.semantics.std.strings
lower(s: StringValue) -> ExpressionConvert the string s to lowercase.
Parameters
Section titled “Parameters”
(sStringValue) - The string to convert.
Returns
Section titled “Returns”Expression- AnExpressionrepresenting the lowercase version of the string. ReturnsString.
Examples
Section titled “Examples”Convert a string to lowercase:
>>> select(strings.lower(Person.last_name))>>> select(City.name).where(strings.lower(City.province) == "ontario")Referenced By
Section titled “Referenced By”RelationalAI Documentation └── Build With RelationalAI └── Understand how PyRel works > Use advanced reasoning > Rules-based reasoning └── Work with strings └── Normalize text before comparisons