class RDF::Query::Variable
Public Instance Methods
Source
# File lib/rdf/n3/extensions.rb, line 194 def as_number RDF::Literal(0) end
Parse the value as a numeric literal, or return 0.
@return [RDF::Literal::Numeric]
Source
# File lib/rdf/n3/extensions.rb, line 186 def sameTerm?(other) other.is_a?(::RDF::Query::Variable) && name.eql?(other.name) end
True if the other is the same variable