LiteralPropertyValue¶
- class pronto.LiteralPropertyValue[source]¶
A property-value which adds a literal annotation to an entity.
- __init__(property: str, literal: str, datatype: str = 'xsd:string')[source]¶
Create a new
LiteralPropertyValue
instance.
- __ge__(other)¶
Return a >= b. Computed by @total_ordering from (not a < b).
- __gt__(other)¶
Return a > b. Computed by @total_ordering from (not a < b) and (a != b).
- __le__(other)¶
Return a <= b. Computed by @total_ordering from (a < b) or (a == b).