Return the value of the literal cast to a PHP bool
If the value is 'true' or '1' return true, otherwise returns false.
bool
Overrides EasyRdf_Literal::getValue
public function getValue() {
return strtolower($this->value) === 'true' or $this->value === '1';
}