module RDF::Value
Public Instance Methods
formula?()
click to toggle source
Returns ‘true` if `self` is a {RDF::N3::Algebra::Formula}.
@return [Boolean]
# File lib/rdf/n3/extensions.rb, line 46 def formula? false end
to_ndvar(scope)
click to toggle source
By default, returns itself. Can be used for terms such as blank nodes to be turned into non-disinguished variables.
@param [RDF::Node] scope return [RDF::Query::Variable]
# File lib/rdf/n3/extensions.rb, line 54 def to_ndvar(scope) self end